This is a pattern recognition system for Claude Code errors that logs failures to JSONL, builds a rule database from repeated issues, and warns you before running commands that previously failed. It hooks into tool execution to capture connection errors, database failures, and hook timeouts, then generates fix suggestions based on historical patterns. The batch analyzer runs over your last 24 hours or 7 days of errors to surface what keeps breaking. Most useful when you're hitting the same issues repeatedly or want to understand why certain operations fail. The hook integration since CC 2.1.98 makes stderr visible directly in transcripts, which is honestly more helpful than the pattern matching for one-off debugging.

skills.sh installs
223
GitHub stars
301
last updated
Aug 21, 2026

Install

$ npx -y skills add yonatangross/orchestkit --skill errors --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/yonatangross/orchestkit
Categories
Backend & APIs, AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from yonatangross/orchestkit

All 61
1davila7 avatarheygen-best-practicesdavila7/claude-code-templatesBest practices for HeyGen - AI avatar video creation API222skills.sh installs
2crypto-com avatarcrypto-com-exchangecrypto-com/crypto-agent-tradingTrade on Crypto.com Exchange — market data, spot/derivatives orders, portfolio management, wallet operations. Uses cdcx CLI for execution with built-in auth, sa221skills.sh installs
3mhattingpete avatartechnical-doc-creatormhattingpete/claude-skills-marketplaceCreate HTML technical documentation with code blocks, API workflows, system architecture diagrams, and syntax highlighting. Use when users request technical doc221skills.sh installs
4scientiacapital avatarcrm-integrationscientiacapital/skillsCRM integration patterns for Close CRM, HubSpot, and Salesforce. Use when: Close CRM, HubSpot, Salesforce, CRM API, lead sync, deal sync, activity logging, CRM 220skills.sh installs
5onnokh avataratlassian-clionnokh/atlassian-cliUse for installing, upgrading, authenticating, and using Atlassian Command Line Interface (ACLI, `acli`) for Atlassian Cloud. Triggers include Jira CLI tasks (w219skills.sh installs
6gleapsdk avatargleap-sdk-setupgleapsdk/agent-skillsIntegrates the Gleap customer feedback SDK into projects. Detects the platform (JavaScript, iOS, Android, React Native, Flutter, Ionic Capacitor, Cordova, Flutt217skills.sh installs