observability-pattern-detector
Automated pattern recognition in Claude Code telemetry. Use when detecting failures, slowness, anomalies, trends, inefficiencies, conversation patterns, or tool sequences.
npx skills add majiayu000/claude-skill-registry --skill observability-pattern-detector-adaptationio-skrillz-2 --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.
# Observability Pattern Detector Automated pattern recognition and anomaly detection in Claude Code telemetry data from enhanced hooks. ## Data Source Primary: `{job="claude_code_enhanced"}` in Loki ## Operations ### `detect-failures` Group similar failures and identify patterns. ```logql {job="claude_code_enhanced", event_type="tool_result", status="error"} | json ``` **Algorithm**: Group by error_type → Calculate frequency → Rank by impact. **Output**: Failure patterns with occurrences, affected tools, first/last seen, trend. ### `detect-slowness` Identify large response patterns (proxy for slowness). ```logql {job="claude_code_enhanced", event_type="tool_result"} | json | response_length > 100000 ``` **Algorithm**: Flag responses >100k chars → Group by tool → Identify patterns. **Output**: Slow operations with response sizes, affected tools. ### `detect-anomalies` Statistical anomaly detection in sessions. ```logql {job="claude_code_enhanced", event_type="session_end"} | json | turn_count > 50 ``` **Methods**: High turn count, long duration, many errors per session. **Output**: Anomalous sessions with metrics, likely cause. ### `detect-trends` Long-term trend analysis. ```logql
- Data Source
- Operations
- detect-failures
- detect-slowness
- detect-anomalies
- detect-trends
- detect-waste
- detect-conversation-patterns
- detect-tool-sequences
- detect-subagent-patterns
- detect-context-issues
- detect-permission-patterns
- detect-repo-patterns
- Example Output
What does the observability-pattern-detector skill do?
Automated pattern recognition in Claude Code telemetry. Use when detecting failures, slowness, anomalies, trends, inefficiencies, conversation patterns, or tool sequences.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill observability-pattern-detector-adaptationio-skrillz-2 --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 majiayu000/claude-skill-registry, a repository with 534 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.
