Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/DevOps & CI/CD
hoangsonww avatar

Pattern Detect

hoangsonww/claude-code-agent-monitor

This digs through your Agent Monitor data to find patterns you didn't know existed. It pulls tool transition matrices (which tools follow which), error cascades by agent depth, model delegation habits, and compaction triggers across your last 200 sessions. You get a ranked report of the top 10 patterns with frequency counts and whether they're helpful habits or anti-patterns to fix. Most useful after you've accumulated enough session history to make the statistics meaningful. The toolFlow transitions are probably the most immediately actionable part, showing you which tool chains you repeat constantly and where retry loops happen. Think of it as workflow archaeology for your Claude usage.

GitHub stars
455
last updated
Jun 11, 2026
View on GitHubSave

Install

$ npx -y skills add hoangsonww/claude-code-agent-monitor --skill pattern-detect --agent claude-code

Installs into .claude/skills of the current project.

Files

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

EndpointReturns
GET /api/sessions?limit=200Session list with status, model, cwd, metadata
GET /api/analyticstool_usage top 20, event_types, agent_types
GET /api/workflows/{sessionId}11 datasets per session (see below)

Workflow datasets used for pattern detection

DatasetPattern insight
toolFlowTool transition matrix: tool A → tool B with counts — reveals sequential habits
patternsDetected workflow patterns: recurring sequences with frequency scores
cooccurrenceAgent co-occurrence: which agents frequently run together
modelDelegationModel habits: which models are chosen for which task types
errorPropagationError patterns: where errors start and how they cascade by agent depth
effectivenessSubagent patterns: which types succeed most, avg duration per type
compactionCompaction triggers: what causes context overflow
complexityComplexity 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
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/hoangsonww/claude-code-agent-monitor
Categories
DevOps & CI/CD, AI & Agent Building
License
MIT
First seen
Jun 11, 2026

More from hoangsonww/claude-code-agent-monitor

All 24
  • Productivity Score
  • Quick Stats
  • Release Guard
  • Repo Onboarding
  • Session Compare
  • Session Debug
  • Session Report
  • Ship Feature
  • Sprint Summary
  • Usage Trends
  • Weekly Report
  • Workflow Optimizer
  • Anomaly Alert
  • Cost Breakdown
  • Daily Standup
  • Dashboard Status
  • Data Export
  • Debug Live Issue
  • Health Check
  • Hook Diagnostics
  • Mcp Maintainer
  • Mcp Operations
  • Optimization Suggest

Recommended

More DevOps & CI/CD
1hoangsonww avatarproductivity-scorehoangsonww/claude-code-agent-monitor>0installs
2hoangsonww avatarquick-statshoangsonww/claude-code-agent-monitor>0installs
3hoangsonww avatarrelease-guardhoangsonww/claude-code-agent-monitorRun release-readiness checks for this repository. Use when validating docs, scripts, verification coverage, and operational safety before merge or release.0installs
4hoangsonww avatarrepo-onboardinghoangsonww/claude-code-agent-monitorUnderstand this repository quickly before making changes. Use for architecture discovery, ownership mapping, command selection, and initial implementation plann0installs
5hoangsonww avatarsession-comparehoangsonww/claude-code-agent-monitor>0installs
6hoangsonww avatarsession-debughoangsonww/claude-code-agent-monitor>0installs