health-check

Solid

Run comprehensive health checks on the Claude Code Agent Monitor system. Validates dashboard API, database, WebSocket, hooks, and disk usage. Use to verify the monitoring setup is working correctly.

API & Backend 850 stars 193 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
98
Recency 20%
100
Frontmatter 20%
40
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Health Check Run a comprehensive health check on the Agent Monitor system. ## Input The user provides: **$ARGUMENTS** This may be: - "full" or empty (default: run all checks) - "quick" for a fast connectivity check - "deep" for extended checks including database integrity ## Procedure Run health checks in this order: ### 1. API Health ```bash curl -sf http://localhost:4820/api/health ``` - Verify HTTP 200 response - Check response time (<500ms expected, <1000ms acceptable) - Confirm JSON response body ### 2. Database Health ```bash curl -sf http://localhost:4820/api/stats ``` - Verify stats endpoint returns valid data - Check that counts are non-negative integers - Verify database file exists and has reasonable size ### 3. WebSocket Health - Check that the WebSocket server is listening - Verify WebSocket upgrade is supported on the dashboard port ### 4. API Endpoint Validation Test each major endpoint: ```bash curl -sf http://localhost:4820/api/sessions?limit=1 curl -sf http://localhost:4820/api/events?limit=1 curl -sf http://localhost:4820/api/analytics curl -sf http://localhost:4820/api/pricing curl -sf http://localhost:4820/api/settings/info ``` ### 5. Hook Integration - Verify hook handler script exists - Check hooks are configured in `~/.claude/settings.json` - Verify the handler script targets the correct dashboard URL ### 6. Disk & Resource Usage (deep mode only) - Database file size - Log file sizes (if any) - Available disk space - Node.js process memor...

Details

Author
hoangsonww
Repository
hoangsonww/Claude-Code-Agent-Monitor
Created
4 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category