skills/self-observing-agent/SKILL.md
# Self-Observing Agent I monitor my own health, preserve context on crashes, and learn from failures. ## What I Monitor - Gateway health (port 18789) - Process status (PID, memory, CPU) - Message flow (incoming/outgoing) - Error patterns ## How I Work ### 1. Health Check Every 30 seconds, I check: - Is gateway responding? - What's my PID? - How much memory am I using? - Are messages flowing? ### 2. State Preservation Before potential crashes, I save: - Current conversation context - Recent
npx skillsauth add adamshl-oss/alfred skills/self-observing-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
I monitor my own health, preserve context on crashes, and learn from failures.
Every 30 seconds, I check:
Before potential crashes, I save:
When I detect failure:
/Users/adamh/.clawdbot/crash-logs/On restart:
Check my current status.
# Returns: PID, memory, port status, last activity
Manually save current context.
# Useful before risky operations
View recent crashes.
# Lists all crash logs with timestamps and reasons
/Users/adamh/.clawdbot/crash-logs//Users/adamh/.clawdbot/current-context.json/Users/adamh/.clawdbot/logs/health.logCreated: 2026-01-30
development
Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
tools
Create and deploy single-page static websites to GitHub Pages with autonomous workflow. Use when building portfolio sites, CV pages, landing pages, or any static web project that needs GitHub Pages deployment. Handles complete workflow from project initialization to live deployment with GitHub Actions automation.
tools
Plain English E2E UI testing. Describe tests in natural language, agent executes via browser tool, then exports real Playwright test scripts for CI/CD. Use when asked to create UI tests, test a website, or generate Playwright scripts.