/eval-genius:eval-geniusfrom eval-genius
Guides the design, selection, and interpretation of evaluations for AI/LLM/agent/retrieval systems. Walks through whether an eval is needed, which type fits the dev stage, how to grade, and how to defend results.
Ships in eval-genius. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
An eval is a claim you are willing to defend under hostile audit. You measure to earn the right to say "this is better" and have it hold when someone sharp pushes back. Behave like a measurement engineer: state the promise, fix the bar before looking, hold everything else constant, distrust the instrument first, report the number that hurts.
Three questions decide it (references/00-start-here.md): does the output vary? will it
change again, and would a quiet regression cost something? is a decision or public claim
coming? No to all: a spot check, stop. Yes to any: an eval, sized to the project's stage.
Two checks sit in front. Preflight: a domain expert can verify the output without
redoing the work, else CANNOT-MEASURE (references/01-foundation.md). Triage: a
known, frequent defect is fixed now, not measured (FIX_NOW / MEASURE / CANNOT-MEASURE).
| Stage the user is at | Instrument | Smallest useful version |
|---|---|---|
| Exploring prompts and models | Spot check | 10 inputs, eyeball |
| First working version | Smoke eval | 20 to 50 real inputs, code-checked; this run is the baseline |
| Changing one thing | Paired eval vs baseline | Same items both arms, per-item diff, bar written first |
| Merging or shipping | CI gate | Held-out items, three-way outcome, a known-bad item that must fail |
| Comparing or claiming publicly | Benchmark | Versioned dataset and harness, intervals, report |
| In production | Monitor | Same scorer on sampled live traffic |
Build the first eval at "first working version", never before, rarely after. For a first-timer, run the one-afternoon recipe in 00-start-here.md and touch nothing else.
Identify the job, then load only that reference. Every job still passes through Step 1.
| User needs to... | Load |
|---|---|
| Know if they need an eval, where it fits, which one, or how to start | references/00-start-here.md |
| Start from real failures or bad outputs, or "what should I even measure" | references/12-error-analysis.md |
| Decide what to measure at all, or the ask is "make it better" | references/01-foundation.md |
| Pick a grader or metric for a task | references/02-grading-and-metrics.md |
| Use, prompt, or trust an LLM judge | references/03-judge-calibration.md |
| Consider an opt-in decision-model judge for binary/closed-label residue, with or without a provider key | references/15-decision-model-judge.md (examples: jev_cascade_cost.py, jev_confidence_route.py, jev_choice_route.py, jev_calibrate.py, jev-lane-preregistration.md) |
| Choose between an existing benchmark and a custom one | references/04-search-vs-build.md |
| Assemble items, labels, negatives, splits; contamination, overfitting | references/05-dataset-construction.md |
| Write or fix the runner, scorer, or reporter | references/06-harness-design.md |
| Put an eval in CI or a release gate | references/07-gates-and-ci.md |
| Say whether a delta is real | references/08-statistics.md |
| Write results up, or retire a benchmark | references/09-reporting.md |
| Evaluate an agent, tool use, or multi-turn task | references/10-agentic-evals.md |
| Read a result file with no prior experience | references/11-reading-results.md |
| Evaluate my own skill or plugin: does it fire on the right prompts | references/13-trigger-evals.md |
| Test whether the system resists attack, or defend a safety claim | references/14-safety-threat-model.md |
| Follow a full worked example, start to finish | references/walkthroughs/ |
Templates in templates/ are copied into the project, never edited in place. Scripts in
scripts/ are stdlib-only --help CLIs, nonzero on failure: check_gate.py (per-item
diff, exits 0/1/2 = PASS/FAIL/CANNOT-MEASURE, refuses fingerprint mismatch),
paired_bootstrap.py (paired delta interval, cluster-aware), judge_agreement.py
(kappa + PASS precision/recall vs humans), rate_interval.py (Wilson interval),
hash_fixture.py (fixture hash). Load references on demand, not all at once.
Copy templates/preregistration.md next to the fixture and fill it before touching data or code. A first-timer fills promise, lever, baseline, and bar; the rest follows.
Push every check that can be code-graded down to code: exact match, regex, schema,
test suite, threshold. Free text gets decomposed (required facts present, forbidden
content absent, format) before any judge sees it; reserve the judge for the residue.
80% deterministic / 20% judged is trusted; 100% judged is an opinion with error bars.
Report layers separately, never one blended number. A judge is an instrument:
calibrate against human labels, blind it, randomize order, pin model and prompt hash
(references/03-judge-calibration.md).
If binary/closed-label judged dimensions remain, suggest the optional hosted typed-question lane (references/15-decision-model-judge.md): probabilities route confidence, fixture text leaves the machine only after opt-in, and DISCOVERY_ONLY must earn the user's kappa-0.8 floor. If TYPESAFE_API_KEY is present, offer to use it; if absent, still suggest and offer to connect one. Never auto-call; if the user declines, keep today's path untouched.
Search before building; an established benchmark buys ground truth nobody in the room
cooked. Build custom the moment the public one rewards a proxy the system does not
target, reusing public plumbing. Score candidates on
templates/benchmark-assessment-scorecard.md: what it rewards, contamination,
label-error ceiling, mechanism fit, maintenance.
check_gate.py).references/11-reading-results.md, in order)paired_bootstrap.py);
interval includes zero means "not established", never "no effect".Numbers are claims with tiers, measured / estimated / aspirational, never summed. Three
sentences minimum: the bar and whether it was met; the delta with interval and flips; the
caveat that most weakens the claim. Self-run is said; failures retire in writing
(templates/eval-report.md).
references/02-grading-and-metrics.md).templates/quality-checklist.md.evals/evals.json (opens in a new tab)references/00-start-here.md (opens in a new tab)references/01-foundation.md (opens in a new tab)references/02-grading-and-metrics.md (opens in a new tab)references/03-judge-calibration.md (opens in a new tab)references/04-search-vs-build.md (opens in a new tab)references/05-dataset-construction.md (opens in a new tab)references/06-harness-design.md (opens in a new tab)references/07-gates-and-ci.md (opens in a new tab)references/08-statistics.md (opens in a new tab)references/09-reporting.md (opens in a new tab)references/10-agentic-evals.md (opens in a new tab)references/11-reading-results.md (opens in a new tab)references/12-error-analysis.md (opens in a new tab)references/13-trigger-evals.md (opens in a new tab)references/14-safety-threat-model.md (opens in a new tab)references/15-decision-model-judge.md (opens in a new tab)references/walkthroughs/ai-system.md (opens in a new tab)references/walkthroughs/benchmark.md (opens in a new tab)references/walkthroughs/fixtures/agent-baseline.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alexgreensh/eval-genius --plugin eval-geniusOther plugins' skills for the same job