/ccam-productivity:workflow-optimizerfrom ccam-productivity
Analyzes Claude Code workflow patterns using Agent Monitor APIs — orchestration DAGs, tool flow transitions, subagent effectiveness, error propagation, concurrency, and compaction. Produces prioritized optimization recommendations with quantified impact.
Ships in ccam-productivity. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyze Claude Code workflows using the Agent Monitor's workflow intelligence engine.
The user provides: $ARGUMENTS
Options: "analyze", a session ID for single-session analysis, or a focus: "tools", "subagents", "cost", "errors".
| Endpoint | Returns |
|---|---|
GET /api/sessions?limit=100 | Session list with metadata |
GET /api/workflows/{sessionId} | 11 workflow datasets (see below) |
GET /api/analytics | Tool usage top 20, event types, agent types |
GET /api/pricing | Model pricing rules for cost comparison |
GET /api/workflows/{sessionId})Returns these 11 datasets per session:
| Dataset | Content |
|---|---|
stats | Aggregate session stats: tool count, agent depth, event count |
orchestration | DAG: agent nodes with parent/child edges, depths, types |
toolFlow | Transition matrix: tool A → tool B with counts (common sequences) |
effectiveness | Subagent success: per-type completion rates, avg duration, task success |
patterns | Recurring sequences: detected workflow patterns with frequency |
modelDelegation | Model choices: which models are delegated which tasks |
errorPropagation | Error flow by depth: where in the agent tree errors originate and propagate |
concurrency | Concurrency lanes: overlapping agent execution timelines |
complexity | Complexity score: numerical score based on depth, breadth, tool diversity |
compaction | Compaction impact: token savings, frequency, context health |
cooccurrence | Agent pairs: which agents frequently run together |
From toolFlow transition data:
From effectiveness + orchestration:
From modelDelegation:
From errorPropagation:
From concurrency:
From compaction:
Prioritized recommendations table:
| # | Recommendation | Source Data | Impact | Effort | Est. Savings |
|---|
Top 5 recommendations with detailed explanation, supporting data from the workflow API, and implementation steps.
What SKILL.md sets; muted values are Claude Code's defaults
5 plugins ship this exact skill · first indexed Aug 10, 2026
6 skills in this plugin
/daily-standupGenerate a daily standup summary from recent Claude Code sessions — completed work grouped by project (cwd), session costs from the pricing engine, tool invocations, error/compaction/APIError events, and turn velocity metrics from session metadata (turn_count, total_turn_duration_ms).
/monthly-reviewCompile a month-over-month retrospective from Agent Monitor data — sessions, cost, token volumes, completion rate, top projects by working directory, and notable shifts versus the prior month. Uses daily_sessions/daily_events (365d) from analytics, the session list, and the pricing cost breakdown. Use when doing a monthly retrospective or planning the month ahead.
/npx claudepluginhub hoangsonww/claude-code-agent-monitor --plugin ccam-productivityOther plugins' skills for the same job