A compact terminal one-liner that pulls stats from Agent Monitor's four main endpoints and formats them into a scannable summary. Default view gives you sessions, cost, events, active count, and top tool usage in under 100 characters. You can also filter to just cost breakdown with cache efficiency, session status distribution, or token totals. The appeal here is speed: you get the numbers you actually check (total cost, how many things are running, success rate) without opening a dashboard or scrolling through JSON. Best for dropping into shell prompts or quick sanity checks between deploys.

GitHub stars
455
last updated
Jun 11, 2026

Install

$ npx -y skills add hoangsonww/claude-code-agent-monitor --skill quick-stats --agent claude-code

Installs into .claude/skills of the current project.

Files

Quick Stats

One-line summary of key Agent Monitor metrics.

Input

The user provides: $ARGUMENTS

Options: empty (default), "cost" (cost only), "sessions" (sessions only), "tokens" (token summary).

Data Sources

EndpointReturns
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/pricing/cost{ total_cost, breakdown }
GET /api/analyticstokens (total_input, total_output, total_cache_read, total_cache_write β€” baselines pre-summed), tool_usage, daily_sessions, daily_events
GET /api/sessions?limit=1Most recent session for model/status

Output

Produce a single-line or compact summary:

Default format:

πŸ“Š 127 sessions | πŸ’° $4.2301 total cost | πŸ”§ 4,892 events | ⚑ 3 active | πŸ† Top tool: Read (1,204)

Cost format:

πŸ’° Total: $4.2301 | Sonnet: $3.1200 | Opus: $0.9800 | Haiku: $0.1301 | Cache efficiency: 67%

Sessions format:

πŸ“‹ 127 total | βœ… 98 completed | ❌ 12 errored | πŸƒ 3 active | πŸ’€ 14 abandoned | Rate: 87%

Sponsors

Details

Repository
github.com/hoangsonww/claude-code-agent-monitor
Categories
DevOps & CI/CD, AI & Agent Building
License
MIT
First seen
Jun 11, 2026

More from hoangsonww/claude-code-agent-monitor

All 24
1hoangsonww avatarrelease-guardhoangsonww/claude-code-agent-monitorRun release-readiness checks for this repository. Use when validating docs, scripts, verification coverage, and operational safety before merge or release.0skills.sh installs
2hoangsonww avatarrepo-onboardinghoangsonww/claude-code-agent-monitorUnderstand this repository quickly before making changes. Use for architecture discovery, ownership mapping, command selection, and initial implementation plann0skills.sh installs
3hoangsonww avatarsession-comparehoangsonww/claude-code-agent-monitor>0skills.sh installs
4hoangsonww avatarsession-debughoangsonww/claude-code-agent-monitor>0skills.sh installs
5hoangsonww avatarsession-reporthoangsonww/claude-code-agent-monitor>0skills.sh installs
6hoangsonww avatarship-featurehoangsonww/claude-code-agent-monitorImplement a feature safely end-to-end in this repository. Use when adding or changing functionality across backend, frontend, or MCP with required verification 0skills.sh installs