error-analysis

error-analysis is a skill for Claude Code from yonatangross/orchestkit. It costs 48 tokens per session (3,394 once invoked), scanned A, original, MIT.

A method for studying failures in large-language-model applications by grouping real usage records into named failure types. It uses Langfuse records or JSONL files, with a person confirming the groups before measurements are chosen.

In plain words
What is it for?
It helps analyse chatbots, retrieval systems, agents, and data extractors, then identify recurring failure types worth checking with pass/fail evaluations.
Why use it?
It replaces guesswork about which evaluations to build with counts from actual failures. It also shows whether an existing score or reviewer agrees with human judgments.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool; mentions Claude Code.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit It helps analyse chatbots, retrieval systems, agents, and data extractors, then identify recurring failure types worth checking with pass/fail evaluations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yonatangross/orchestkit/error-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yonatangross/orchestkit --skill error-analysis
Clone the repo
git clone --depth 1 https://github.com/yonatangross/orchestkit

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for error-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/yonatangross/orchestkit/error-analysis/github.svg)](https://agentmods.dev/skills/yonatangross/orchestkit/error-analysis)
Your own site
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/error-analysis"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/error-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for error-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/error-analysis"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/error-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,394 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.03394
Opus 5.5 $0.00019 $0.01358
Sonnet 5.5 $0.00010 $0.00679
Haiku 4.5 $0.00005 $0.00339

Measured 5d ago against content hash 3f1433290e62, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

error-analysis scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Credentials ride in the Authorization header, so let curl enforce the scheme:
plugins/ork/skills/error-analysis/SKILL.md · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Error Analysis

Evals-first failure analysis for LLM applications. The method (Hamel Husain, Shreya Shankar) is qualitative research applied to traces: a human open-codes real failures, Claude axial-codes the notes into a named taxonomy, and only the recurring named modes earn an automated eval. Error analysis decides what to measure; it never writes an eval for a mode that has no name and no count.

When to Use

  • An LLM feature (chatbot, RAG, agent, extractor) misbehaves and the team is guessing which evals to write
  • You have production traces in Langfuse (or a JSONL export) and need the top failure modes with counts
  • Eval scores exist but nobody trusts them because they were never grounded in real failures
  • A judge or metric exists and its agreement with human labels is unknown

Do NOT use for Claude Code session errors (errors skill), failing CI runs (ci-debug), or writing the evaluators themselves once modes are named (testing-llm, ork:eval-runner).

Task Management (CC 2.1.16)

Multi-phase workflow: create tasks before Phase 1 and keep status current.

t_run  = TaskCreate(subject="Error analysis: {target}", activeForm="Running error analysis on {target}")
t_pull = TaskCreate(subject="Pull traces", activeForm="Pulling traces")
t_open = TaskCreate(subject="Open-code failure notes", activeForm="Open-coding traces")
t_axial = TaskCreate(subject="Axial-code failure taxonomy", activeForm="Axial-coding notes")
t_tax  = TaskCreate(subject="Write failure-taxonomy.md", activeForm="Writing taxonomy")
t_eval = TaskCreate(subject="Recommend evals + judge alignment", activeForm="Recommending evals")
TaskUpdate(taskId=t_open,  addBlockedBy=[t_pull])
TaskUpdate(taskId=t_axial, addBlockedBy=[t_open])
TaskUpdate(taskId=t_tax,   addBlockedBy=[t_axial])
TaskUpdate(taskId=t_eval,  addBlockedBy=[t_tax])

Effort Scaling (CC 2.1.76)

Effort Trace pool Notes Outcome
low 30 human notes only, no Claude drafts draft taxonomy
medium 50 drafts after 10 human notes taxonomy + counts
high (default) 100 drafts after 30 human notes, saturation check full deliverable

Read the full file on GitHub · 194 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed 3f1433290e62
  2. 7d ago Changed c18280f0dcc2
  3. 26d ago Changed · -13 tokens per session e58bb72abfac
  4. 2mo ago Changed de4173b950b7
  5. 2mo ago Changed · -1 lines 45ecd54b3056
  6. 2mo ago First seen · 195 lines · 61 tokens per session scan A c402a757c248

Subscribe to this mod's changes

error-analysis is a skill published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 3,394 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.

Related

error-analysis compared with skills from other repositories

error-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
error-analysisyonatangross/orchestkitSkill312todayMITA48Claude Code
examples-qacognesy/instructor-phpSkill328todayMITA67Codex
ml-training-recipesOpenRaiser/NanoResearchSkill1.3k1mo agoMITA88Claude Code, Codex
resolve-inputsomnigent-ai/omnigentSkill12ktodayApache-2.0A22Claude Code, Codex
trulens-instrumentationtruera/trulensSkill3.7k3d agoMITA25Claude Code, Codex
trace-healthSnowflake-Labs/cocoplusSkill72923d agoMITA17Claude Code
stall-resetSnowflake-Labs/cocoplusSkill72923d agoMITA14Claude Code, Codex