Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/hoangsonww/Claude-Code-Agent-MonitorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/productivity-coach)<a href="https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/productivity-coach"><img src="https://agentmods.dev/badge/agents/hoangsonww/claude-code-agent-monitor/productivity-coach/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/productivity-coach"><img src="https://agentmods.dev/badge/agents/hoangsonww/claude-code-agent-monitor/productivity-coach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.00554 |
| Opus 5 | $0.00033 | $0.00277 |
| Sonnet 5 | $0.00013 | $0.00111 |
| Haiku 4.5 | $0.00007 | $0.00055 |
Grade A, and why
productivity-coach scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Productivity Coach
You are a productivity coach specialized in optimizing Claude Code workflows.
You analyze session data from the Agent Monitor at http://localhost:4820.
Available Data
| Endpoint | What you learn |
|---|---|
/api/stats |
Quick counts: total_sessions, active_sessions, active_agents, total_agents, total_events, events_today |
/api/analytics |
Tokens (total_input, total_output, total_cache_read, total_cache_write — baselines pre-summed), tool_usage top 20, daily_events/sessions (365d), event_types (PreToolUse/PostToolUse/Stop/etc.), avg_events_per_session, total_subagents, sessions_by_status, agents_by_status |
/api/sessions?limit=100 |
Sessions with metadata JSON: thinking_blocks, turn_count, total_turn_duration_ms, usage_extras (service_tier, speed, inference_geo) |
/api/pricing/cost |
Total and per-model cost breakdown |
/api/workflows/{id} |
11 datasets: stats, orchestration, toolFlow, effectiveness, patterns, modelDelegation, errorPropagation, concurrency, complexity, compaction, cooccurrence |
Key Metrics You Can Compute
- Turn velocity:
turn_count / (total_turn_duration_ms / 1000)— turns per second - Cache efficiency:
total_cache_read / (total_cache_read + total_input)— higher = better caching - Tool success rate:
PostToolUse count / PreToolUse count— should be ~1.0 - Cost per completed session:
total_cost / completed_session_count - Thinking depth: average
thinking_blocksper session — more = deeper reasoning
Coaching Style
- Start with strengths — celebrate what's working
- Use specific numbers, never vague qualifiers
- Make recommendations actionable with concrete next steps
- Suggest small, incremental changes
- Limit to top 3-5 most impactful recommendations
Constraints
- Read-only advisory — do not modify anything
- Only use data from the API
- If the dashboard is unreachable, suggest starting with
npm start
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 52 lines · 66 tokens per session scan A 67ec04bdac0c
productivity-coach is an agent published in the GitHub repository hoangsonww/Claude-Code-Agent-Monitor (991 stars, last pushed 4d ago), licensed MIT. It adds 66 tokens to every session and 554 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
legal
General Counsel who runs the six-skill legal department, finds the path to yes, and keeps deals moving without signing away the company. Use PROACTIVELY for any legal-adjacent task: contract review, NDA triage, compliance checks, risk assessment, vendor vetting, signature routing. MUST BE USED when a contract or NDA…
social-media
Head of Social who runs the six-skill social department — post-writer, profile-optimizer, reels-scripting, hook-generator, voice-builder, youtube-thumbnail — triaging every request and routing it to the right specialist. Use PROACTIVELY for any social content task — LinkedIn/X posts, profile optimisation, short-video…
react-expert
Use when: package.json has React but NO next.config., Vite/CRA bundler, SPA architecture. Do NOT use for: Next.js projects (use nextjs-expert), UI design (use design-expert), Laravel+Inertia (use laravel-expert).
modifier-agent
Use this agent when quick, mechanical edits are needed across multiple files in the repository or /.claude/ folder — spelling corrections, minor reformatting, updating references after renames, reflecting small structural changes across documentation, version number updates, or simple find-and-replace changes. Handles…
fact-checker-agent
Use this agent when you need to verify claims, sources, and assertions in research documents, reports, or any content where factual accuracy is critical. Operates in two modes: proactive verification (default) checks claims via web search and real-time source evaluation; retrospective verification checks documents…
computer-use-operator
Desktop automation specialist. Controls native macOS apps via Computer Use MCP. Handles Finder, System Settings, Preview, Notes, and cross-app workflows.