
You need to know if your Claude Code monitoring stack is actually running, and this does exactly that. It pings the Agent Monitor API on port 4820, pulls session and event counts from /api/stats, checks WebSocket connections, validates your hook configuration in ~/.claude/settings.json, and tells you when the last event came through. The output is a compact status card that shows API latency, total sessions tracked, event counts, and hook status. Honestly most useful when something feels off or after a restart, just to confirm all seven hooks are wired up and data is flowing. Beats manually curling four different endpoints.
$ npx -y skills add hoangsonww/claude-code-agent-monitor --skill dashboard-status --agent claude-codeInstalls into .claude/skills of the current project.
Quick status check on the Claude Code Agent Monitor dashboard.
The user provides: $ARGUMENTS
Options: empty (default: full status), "quick" (API only), "verbose" (include endpoint details).
| Endpoint | Returns |
|---|---|
GET /api/health | HTTP 200 if API is running |
GET /api/stats | { total_sessions, active_sessions, active_agents, total_agents, total_events, events_today, ws_connections, agents_by_status, sessions_by_status } |
GET /api/settings/info | Dashboard configuration: version, port, data paths |
GET /api/events?limit=1 | Most recent event (for freshness check) |
http://localhost:4820? Response time?npm start from the project directoryFrom /api/stats:
total_sessions)active_agents)total_events)events_today)ws_connections)From latest event:
Use /api/settings/info → hooks for configured hook names:
From /api/settings/info:
Compact status card:
╔══════════════════════════════════════╗
║ AGENT MONITOR STATUS ║
╠══════════════════════════════════════╣
║ API: ✅ Online (42ms) ║
║ Sessions: 127 tracked ║
║ Events: 4,892 ingested ║
║ Hooks: 7/7 configured ║
║ Last Event: 3 minutes ago ║
╚══════════════════════════════════════╝
Sponsors