
Quick Stats
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-codeInstalls 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
| Endpoint | Returns |
|---|---|
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/analytics | tokens (total_input, total_output, total_cache_read, total_cache_write β baselines pre-summed), tool_usage, daily_sessions, daily_events |
GET /api/sessions?limit=1 | Most 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- Release Guard
- Repo Onboarding
- Session Compare
- Session Debug
- Session Report
- Ship Feature
- Sprint Summary
- Usage Trends
- Weekly Report
- Workflow Optimizer
- Anomaly Alert
- Cost Breakdown
- Daily Standup
- Dashboard Status
- Data Export
- Debug Live Issue
- Health Check
- Hook Diagnostics
- Mcp Maintainer
- Mcp Operations
- Optimization Suggest
- Pattern Detect
- Productivity Score