Skip to content
hamelsmu avatar

Error Analysis

Systematic error analysis that reads LLM pipeline traces to build and prioritize a failure-mode catalog.

CCM score
79 of 100
skills.sh installs
817
GitHub stars
1.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full review loop: collecting about 100 traces, pass/fail judging, grouping failures, labeling, and computing failure rates
  • Includes a trace template, LLM-assisted clustering prompt, trace sampling strategies (random, outlier, failure-driven, uncertainty, stratified), and anti-patterns to avoid
  • Enforces reading traces before defining categories and recording the first observed failure, so cascading errors do not distort the catalog
  • Designed for engineers starting an eval project or investigating metric drops after pipeline changes, prompt rewrites, or incidents

Install

$ npx -y skills add hamelsmu/evals-skills --skill error-analysis -y

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

Files

Error Analysis

Guide the user through reading LLM pipeline traces and building a catalog of how the system fails.

Overview

  1. Collect ~100 representative traces
  2. Read each trace, judge pass/fail, and note what went wrong
  3. Group similar failures into categories
  4. Label every trace against those categories
  5. Compute failure rates to prioritize what to fix

Core Process

Step 1: Collect Traces

Capture the full trace: input, all intermediate LLM calls, tool uses, retrieved documents, reasoning steps, and final output.

Target: ~100 traces. This is roughly where new traces stop revealing new kinds of failures. The number depends on system complexity.

From real user data (preferred):

  • Small volume: random sample
  • Large volume: sample across key dimensions (query type, user segment, feature area)
  • Use embedding clustering (K-means) to ensure diversity

From synthetic data (when real data is sparse):

  • Use the generate-synthetic-data skill
  • Run synthetic queries through the full pipeline and capture complete traces

Step 2: Read Traces and Take Notes

Details

Repository
github.com/hamelsmu/evals-skills
Categories
AI Agents & LLM Apps, Testing & QA
First seen
Jun 3, 2026

Questions

What does the error-analysis skill do for an LLM pipeline?

The error-analysis skill guides you through reading LLM pipeline traces and building a catalog of how the system fails. It walks through collecting about 100 traces, judging each as pass or fail, grouping failures into categories, and computing failure rates to prioritize fixes.

When should I use the error-analysis skill?

Use it when starting a new eval project, after significant pipeline changes such as new features, model switches or prompt rewrites, when production metrics drop, or after incidents. It is aimed at developers building LLM evaluations.

How do I install the error-analysis skill?

Run npx -y skills add hamelsmu/evals-skills --skill error-analysis -y in your project. The skill then lets your agent guide you through reading traces and categorizing failures. The skill is in the AI Agents & LLM Apps category, where microsoft-foundry and azure-ai are listed among the other top skills.

Is the error-analysis skill still maintained at its original repository?

The README of the hamelsmu/evals-skills repository says it is deprecated and that the skills moved to the ai-evals-course/evals-skills plugin. The install command on this page still points to the original repository.

More from hamelsmu/evals-skills

All 7

Similar to Error Analysis

More AI Agents & LLM Apps