workflow-optimizer
Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by depth, concurrency lanes, compaction impact, and agent co-occurrence. Produces prioritized optimization recommendations with quantified impact.
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Workflow Optimizer Analyze Claude Code workflows using the Agent Monitor's workflow intelligence engine. ## Input The user provides: **$ARGUMENTS** Options: "analyze", a session ID for single-session analysis, or a focus: "tools", "subagents", "cost", "errors". ## Data Sources | 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 | ### Workflow Intelligence API (`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` | **
- Input
- Data Sources
- Workflow Intelligence API (GET /api/workflows/{sessionId})
- Optimization Analyses
- 1. Tool Flow Optimization
- 2. Subagent Strategy
- 3. Model Delegation Analysis
- 4. Error Prevention
- 5. Concurrency Optimization
- 6. Context Health
- Output
What does the workflow-optimizer skill do?
Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by depth, concurrency lanes, compaction impact, and agent co-occurrence. Produces prioritized optimization recommendations with quantified impact.
How do I install it?
Run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From hoangsonww/Claude-Code-Agent-Monitor, a repository with 869 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
