Skip to content

Error pattern analysis that captures tool failures, matches known fixes, and checks batch history for recurring issues.

CCM score
47 of 100
skills.sh installs
190
GitHub stars
312
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers batch analysis of 24-hour or 7-day error history alongside real-time /debug for the current session
  • Includes a hook that captures errors to .claude/logs/errors.jsonl and a pre-tool warner for risky commands
  • Provides known fix patterns for connection refused, connection reset, PostgreSQL role and relation errors, and hook failures
  • Designed for Claude Code sessions in projects that use the analyze_errors.py script and error_rules.json rules file

Install

$ npx -y skills add yonatangross/orchestkit --skill errors -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Error Pattern Analysis

Analyze errors captured from Claude Code sessions to identify patterns and get actionable insights.

Quick Start

/errors              # Batch analysis of historical error patterns
/debug               # CC 2.1.30 real-time debug for current session

When to Use Which

CommandPurposeScope
/errorsBatch analysis of error patterns (last 24h/7d)Historical patterns
/debugReal-time debug of current session stateCurrent session
fix-issueFull RCA workflow for specific bugSingle issue

CC 2.1.169+: for errors that survive /clear and restarts, claude --safe-mode boots with every customization disabled (CLAUDE.md/plugins/skills/hooks/MCP) — the one-step test that separates "ork/hook/MCP bug" from "CC bug" before deeper analysis.

Quick Analysis

# Run batch analysis on last 24h of errors
python .claude/scripts/analyze_errors.py

# Analyze last 7 days
python .claude/scripts/analyze_errors.py --days 7

# Generate markdown report
python .claude/scripts/analyze_errors.py --report

What Gets Captured

Details

Repository
github.com/yonatangross/orchestkit
Category
Debugging
First seen
Jun 3, 2026

Questions

What does the errors skill do in Claude Code?

The errors skill triages failures from Claude Code sessions, sorting them into network, auth, model, tool and permission errors. It searches memory for prior occurrences of the same error and suggests recovery steps. For complex root causes it hands off to the debug-investigator agent.

How do I install the errors skill?

Run npx -y skills add yonatangross/orchestkit --skill errors -y inside your project. This adds the errors skill from the OrchestKit repository to that project. Once installed, the agent can triage session errors and suggest fixes.

What does the errors skill need to run?

The skill requires a memory MCP server, and it is written for Claude Code 2.1.328 or newer. It uses the Read, Bash and Grep tools. Without the memory server, it cannot look up prior occurrences of an error.

Where does the errors skill sit in the Debugging category?

The errors skill is in the Debugging category on Claude Marketplaces, alongside diagnosing-bugs, safe-debug, systematic-debugging and sentry-cli. It differs by focusing on error patterns from Claude Code sessions, not on general bug diagnosis. It also keeps learned patterns that flag risky commands before they run.

More from yonatangross/orchestkit

All 55

Similar to Errors

More Debugging