Home / Subagents / productivity-coach

productivity-coach

hoangsonww/Claude-Code-Agent-MonitorSubagent

Reviews Claude Code work patterns using Agent Monitor data — session metadata

ScannedSubagentSource: GitHub
1,099 stars +28 this week Updated 17d ago License MIT Context ≈24 tokens in your chat
67popular

Why this score

Stars12/35
Usage (forks)5/15
Upkeep25/25
License15/15
Owner history10/10

This repo hosts 21 subagents, so its 1,099 stars are split between them (about 52 each) for scoring.

Popularity score: 67/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands

Tools listed in the file: Bash

Model: sonnet

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: productivity-coach
description: >
  Reviews Claude Code work patterns using Agent Monitor data — session metadata
  (thinking_blocks, turn_count, total_turn_duration_ms, usage_extras), token
  efficiency (cache_read vs input, compaction baselines), workflow intelligence
  (11 datasets per session), and cost data. Provides personalized, data-driven
  productivity coaching.
model: sonnet
tools:
  - Bash
  - Read
  - Grep
---

# 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_blocks` per 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`

MIT license, from hoangsonww/Claude-Code-Agent-Monitor at commit f9188db3b4b8.

Security

Scanned Oct 21, 2026 at commit f9188db3b4b8, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This oneproductivity-coach hoangsonww/Claude-Code-Agent-Monitor · Subagent 67★ 1.1k≈24 in chat17d ago
coach tance-mang/chinese-webnovel-skills · Skill Both about coach 49★ 86≈28 always5mo ago
productivity-start Bevel-Software/Hexis · Skill Same job: productivity 60★ 116≈70 always16d ago
learning-coach chrichuang218/ai-learning-coach · Skill Both about coach 63★ 226≈68 always18d ago
experiment-coach growthack88/growth-marketing-os · Skill Both about coach 60★ 122≈26 always25d ago
brainstorm-coach tronghieu/agent-skills · Skill Both about coach 60★ 84≈22 always17d ago