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.
Install / Use
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill pattern-detectInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of pattern-detect
pattern-detect scores 81/100 on our quality scale, 2347th of 2,843 Automation skills we index.
Its SKILL.md is 3.5 KB long, well organised into 11 sections and no code examples: a solid amount of guidance for an agent.
With 1,015 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 10 days ago, so pattern-detect is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
pattern-detect compared with similar skills
All 4 of these similar skills score higher than pattern-detect; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| pattern-detect (this skill)by hoangsonww | 81 | 1.0k | 10d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 89.8k | 18d ago | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 85.5k | today | MCP Server |
| rufloby ruvnet | 100 | 73.8k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 11d ago | SKILL.md |
Frequently asked questions
- How do I install pattern-detect?
- Run
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill pattern-detect. The install tabs above show the steps for each supported agent. - Which AI agents does pattern-detect work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is pattern-detect safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is pattern-detect still maintained?
- The repository was last updated 10 days ago, so pattern-detect is actively maintained.
Skill content
View source on GitHubname: pattern-detect description: > 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.
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 triggers: what causes context overflow |
| complexity | Complexity patterns: session complexity scores over time |
Pattern Categories
1. Tool Chain Patterns (from toolFlow)
- Most common sequences: Top 10 tool transitions (e.g., Read → Edit: 145 times)
- Starter tools: First tool used in sessions (indicates task type)
- Finisher tools: Last tool before Stop event
- Anti-patterns: Tool → same Tool repeated (retries/failures)
- Co-occurrence: Tools that always appear together in sessions
2. Workflow Patterns (from patterns)
- Named patterns: Workflow sequences the API has detected with frequency
- Session archetypes: Common session shapes (short edit, long debug, subagent-heavy)
- Project-specific: Patterns that appear in specific working directories
3. Error Patterns (from errorPropagation + event_types)
- Error origins: Which agent depth level produces most errors
- Cascade patterns: Errors that trigger chains of follow-up errors
- APIError frequency: quota hits, rate_limit, overloaded — by time of day
- Recovery patterns: How errors are typically resolved (tool retry vs agent switch)
4. Agent Patterns (from cooccurrence + effectiveness)
- Agent pairs: Which agents are spawned together frequently
- Delegation patterns: Main agent → subagent task delegation habits
- Success by type: Which subagent types (task/explore/code-review) work best for which tasks
5. Temporal Patterns (from session timestamps + daily_sessions)
- Peak hours: When sessions cluster
- Duration patterns: Short vs long session distribution
- Day-of-week trends: Productive days vs quiet days
Output
Pattern Report with top 10 patterns ranked by frequency × impact:
- Pattern name and description
- Frequency (occurrences across analyzed sessions)
- Impact: positive (reinforce), negative (eliminate), or neutral (observe)
- Actionable recommendation for each
Related Skills
Agent-Reach
89.8kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Scrapling
85.5k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
ruflo
73.8k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
