Skills for Real Engineers. Straight from my .agents directory.
pattern-detect
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
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 to install pattern-detect
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-insights/skills/pattern-detect/
# into
~/.claude/skills/pattern-detect/ (all projects)
.claude/skills/pattern-detect/ (one project)
1# Pattern Detect23Identify recurring patterns using the Agent Monitor's workflow intelligence engine.45## Input67The user provides: **$ARGUMENTS**89Options: "all", "tools", "errors", "workflows", "last N sessions".1011## Data Sources1213| Endpoint | Returns |14|----------|---------|15| `GET /api/sessions?limit=200` | Session list with status, model, cwd, metadata |16| `GET /api/analytics` | tool_usage top 20, event_types, agent_types |17| `GET /api/workflows/{sessionId}` | 11 datasets per session (see below) |1819### Workflow datasets used for pattern detection2021| Dataset | Pattern insight |22|---------|----------------|23| `toolFlow` | **Tool transition matrix**: tool A → tool B with counts — reveals sequential habits |24| `patterns` | **Detected workflow patterns**: recurring sequences with frequency scores |25| `cooccurrence` | **Agent co-occurrence**: which agents frequently run together |26| `modelDelegation` | **Model habits**: which models are chosen for which task types |27| `errorPropagation` | **Error patterns**: where errors start and how they cascade by agent depth |28| `effectiveness` | **Subagent patterns**: which types succeed most, avg duration per type |29| `compaction` | **Compaction triggers**: what causes context overflow |30| `complexity` | **Complexity patterns**: session complexity scores over time |3132## Pattern Categories3334### 1. Tool Chain Patterns (from `toolFlow`)35- **Most common sequences**: Top 10 tool transitions (e.g., Read → Edit: 145 times)36…
Excerpt shown under the repository's MIT license.
More skills in Claude-Code-Agent-Monitor
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
