pattern-detect
Detect recurring patterns using the Agent Monitor's workflow intelligence — toolFlow transitions (tool A → B frequency matrices), recurring workflow patterns, agent co-occurrence pairs, model delegation habits, error propagation paths by agent depth, and compaction triggers. Use to discover habitual usage patterns and anti-patterns.
Profile →npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill pattern-detect --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.
# Pattern Detect Identify recurring patterns using the Agent Monitor's workflow intelligence engine. ## Input The user provides: **$ARGUMENTS** Options: "all", "tools", "errors", "workflows", "last N sessions". ## Data Sources | Endpoint | Returns | |----------|---------| | `GET /api/sessions?limit=200` | Session list with status, model, cwd, metadata | | `GET /api/analytics` | tool_usage top 20, event_types, agent_types | | `GET /api/workflows/{sessionId}` | 11 datasets per session (see below) | ### Workflow datasets used for pattern detection | Dataset | Pattern insight | |---------|----------------| | `toolFlow` | **Tool transition matrix**: tool A → tool B with counts — reveals sequential habits | | `patterns` | **Detected workflow patterns**: recurring sequences with frequency scores | | `cooccurrence` | **Agent co-occurrence**: which agents frequently run together | | `modelDelegation` | **Model habits**: which models are chosen for which task types | | `errorPropagation` | **Error patterns**: where errors start and how they cascade by agent depth | | `effectiveness` | **Subagent patterns**: which types succeed most, avg duration per type | | `compaction` | **Compaction trigg
- Input
- Data Sources
- Workflow datasets used for pattern detection
- Pattern Categories
- 1. Tool Chain Patterns (from toolFlow)
- 2. Workflow Patterns (from patterns)
- 3. Error Patterns (from errorPropagation + eventtypes)
- 4. Agent Patterns (from cooccurrence + effectiveness)
- 5. Temporal Patterns (from session timestamps + dailysessions)
- Output
What does the pattern-detect skill do?
Detect recurring patterns using the Agent Monitor's workflow intelligence — toolFlow transitions (tool A → B frequency matrices), recurring workflow patterns, agent co-occurrence pairs, model delegation habits, error propagation paths by agent depth, and compaction triggers. Use to discover habitual usage patterns and anti-patterns.
How do I install it?
Run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill pattern-detect --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.