AI Failure Analysis
Sorts real chatbot or agent logs into named failure types with counts, so you know which tests to write first.
Claude's review
7/10 Rigorous trace error analysis: human open coding, confirmed axial taxonomy with counts, replay to split prompt from code faults, binary evals with judge alignment.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Clusters real LLM traces (Langfuse or JSONL) into a confirmed failure taxonomy with counts, then proposes pass/fail evals. Use to learn what to measure before writing evals. Not for CI failures.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: error-analysis
license: MIT
compatibility: "Claude Code 2.1.328+. Needs Langfuse credentials in env or an exported traces JSONL."
description: "Clusters real LLM traces (Langfuse or JSONL) into a confirmed failure taxonomy with counts, then proposes pass/fail evals. Use to learn what to measure before writing evals. Not for CI failures."
context: fork
# user-typed commands stay interactive; CC >= 2.1.218 backgrounds forks by default (#3093)
background: false
user-invocable: false
disable-model-invocation: false
allowed-tools: "AskUserQuestion Bash Read Write Edit Grep Glob Agent TaskCreate TaskUpdate TaskList TaskGet TaskStop WebFetch WebSearch"
skills: [testing-llm, memory]
effort: high
model: sonnet
metadata:
category: workflow-automation
version: "1.0.0"
author: "OrchestKit"
complexity: "high"
tags: "error-analysis, evaluation, llm-testing, testing, langfuse, traces, failure-taxonomy, evals, debugging"
triggers:
keywords: ["error analysis", "failure modes", "failure taxonomy", "open coding", "axial coding", "analyze traces", "langfuse traces", "evals first", "what to measure", "why does my agent fail"]
examples:
- "run error analysis on my Langfuse traces"
- "my agent keeps failing and I do not know which evals to write"
- "pull 100 production traces and build me a failure taxonomy"
anti-triggers: [ci-debug, errors, "write evals", verify, cover, "fix this bug"]
---
# 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
...From yonatangross's repository, MIT licence.
Related skills
-
Checked
RAG evaluation
Measures how well a RAG system retrieves and answers, with test questions, metrics and chunking advice.
7/101 credit -
Checked
Test and Fix Loop
Sets up a coding agent to run tests, read failures and fix them until green, with a safe point to stop.
8/101 credit -
Checked
AI Agent Eval Rubric
Writes pass or fail checks that define good behaviour for your AI agent, plus release targets for the PRD.
7/101 credit -
Checked
LLM Feature Testing
Builds an offline eval suite for AI features, so a prompt or model change cannot quietly make quality worse.
7/101 credit -
Checked
ElevenLabs Voice Agent Builder
Sets up phone and website voice agents on ElevenLabs that reply fast, sound natural and stay on task.
7/101 credit -
Checked
Subjective quality evals
Tests if a prompt or model change improves subjective output with blind comparisons and a calibrated judge.
8/101 credit