cyberneticlibrary

Check Claude Code Agent Monitor health

dashboard-statusskillsetup L2364
hoangsonww/Claude-Code-Agent-Monitor
What it does

Quick status check on Claude Code Agent Monitor dashboard

Best for

First-thing-in-the-morning health check before deeper analysis (is the system running? Is it collecting data?).

Inputs
  • · Optional: 'quick' (API only), 'verbose' (include endpoint details), empty (full status default)
Outputs
  • · API health status (reachable, response time)
  • · System counts (total sessions, active agents, total events, events today, WebSocket connections)
  • · Data freshness (time since last event)
  • · Hook configuration status (7 hooks: PreToolUse, PostToolUse, Stop, SubagentStop, Notification, SessionStart, SessionEnd)
  • · Dashboard info (version, database path, port)
Requires
  • · Agent Monitor API: /api/health, /api/stats, /api/events, /api/settings/info
Preconditions
  • · Agent Monitor API running at http://localhost:4820
  • · ~/.claude/settings.json must have hook configuration
Failure modes
  • · API unreachable → must run 'npm start' from project directory
  • · Hooks configured in settings.json but not firing → silent integration failure
  • · Last event > 1 hour old → possible hook disconnect or no activity
Trust signals
  • · 5-section status report (API Server, System Counts, Data Freshness, Hook Status, Dashboard Info)
  • · Explicit check for 7 hooks in ~/.claude/settings.json
  • · Response time metric for API reachability
  • · Suggests remediation (npm start) if API unreachable
  • · Compact status card format for quick visual parsing