/evals:methodology [question or concept]from evals
Answers LLM evaluation design questions using Anthropic's official guidance. Covers success criteria, grading rubrics, model-graded judges, golden answers, and eval methodology.
Ships in evals. 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.
This page states the rules; answer from it. It runs, scores, scaffolds and edits nothing.
anthropics/claude-cookbooks misc/building_evals.ipynb.Fetch the section for a specific; this repository's own decisions are in the files named below.
| Topic | Read |
|---|---|
| What makes a success criterion good, hazy qualities, metrics, dimensions | Define your success criteria and Common success criteria; the target rules are in the decision guide below |
| Eval anatomy, golden answers, edge cases, volume, generating cases | Eval design principles; this repository's reading, with effort and model sweeps: eval-design.md |
| Grading ladder, LLM-grader rubrics, constrained verdicts, testing the grader first | Grade your evaluations and Tips for LLM-based grading |
| Recipes: exact match, similarity, ROUGE-L, Likert, binary, ordinal | Example evals |
| How many cases and repeats, paired comparison, error bars | A statistical approach to model evaluations |
| Regressions on a new model, a skill the model outgrows | Improving skill-creator |
Improving against an existing suite with the bundled hillclimb: who starts it, the step map for a plugin suite, cost as the goal | hillclimb.md |
| This repository's defaults where sources disagree: train/test split, interval method, repeat count, rubric form, and their settings | local-decisions.md |
"Where do I start?" For a Claude API app, with /claude-api build-eval (see
Route by repository kind). Otherwise, define measurable success
criteria first; evals test against them; only then iterate on prompts.
"Is this criterion good?" It names a specific quality, a number or defined scale, a realistic target, and ties to a user need. The target number is realistic only when a measured baseline, a prior result, a benchmark, or expert review justifies it; how severe a miss would be, or that a grader can check the number, does not. "Good performance" fails all four.
"Rewrite this criterion" Answer with this template, every slot filled:
quality: <the specific behavior measured, and the user need it serves>
measure: <the metric: a rate, a count or a defined scale>
trials: <the trial set and its size, for example "500 conversations">
target: <one threshold, taken from the basis>
basis: <measured baseline | prior result | benchmark | expert review | baseline-relative>
Each threshold gets its own block: a second bar on the same quality, such as a stricter one for
its worst failures, is a second block with its own basis:. The basis: slot takes one of
those five values, and the target must follow from it. The first four count only when the user
supplied the figure or agreement; name it. When none applies, the basis is baseline-relative
and the target is a fraction of the current rate, written without inventing its value (for
example "at most half the current rate over 500 trials"). An absolute number, zero included,
has no place in a baseline-relative block, so a "never" bar is written relative too ("at most
a tenth of the current rate of refunds sent to the wrong account"). Never write a target as a
placeholder (X/Y/Z, "set the target later") or a bare direction ("lower than the baseline").
Severity, or that a grader can check the number, is not a basis. Never present a made-up
baseline figure or expert agreement as fact.
"Which grading method?" The fastest, most reliable, most scalable that fits: code-based if the output can be constrained to allow it; LLM-graded for judgment; human only as a last resort.
"Can I automate this seemingly subjective eval?" Usually. Constrain the output format, reformat to multiple choice, or use an LLM grader with a tight rubric and constrained verdict.
"How many cases?" Prefer volume with automated grading over a few hand-graded showpieces; generate more from a baseline set with Claude, human-reviewed. Volume means cheaper grading, never easier cases.
"Can I trust my LLM grader?" Only after reading samples of its verdicts against your own judgment; and grade with a different model than the one that generated the output.
"How do I grade an agent?" On the environment state it left, with a grader it cannot reach; see Agent evals: grader hygiene.
"One metric or several?" Several. Most use cases need multidimensional criteria (fidelity, safety, latency, cost); a single headline metric hides regressions.
The target-number and rewrite rules are this repository's reading of the Achievable property.
When the thing under test is an agent that acts over many turns and changes an environment:
Grade the outcome, the state the agent left the environment in, not the transcript's claim that the work is done. An agent saying the record exists is not evidence that it does; the grader checks the record.
Keep graders out of the agent's reach. A check the agent can read, edit or special-case is one it can pass without doing the task, so graders and their expected values sit where the agent under test cannot change them.
Read transcripts anyway, in samples, to catch an agent gaming a grader that passed it.
Pointer: Anthropic's "Demystifying evals for AI agents" (2026-01-09) https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents. Read through a fetch summary with quoted sentences, not a raw-text check.
Decide the kind from the repository, then name the route. The user starts build-eval and
hillclimb; this skill never does.
| Repository | Route |
|---|---|
| A Claude API app (its code calls Claude through the Anthropic SDK or API) | With no eval yet, the first step is /claude-api build-eval, which the user types. Lead the answer with it; do not lay out criteria, cases and graders by hand before it. With an eval in place, /claude-api hillclimb improves against it |
A skill or plugin repository (a .claude-plugin/plugin.json or SKILL.md files) | claude plugin eval, through /evals:design to scaffold the suite and /evals:plugin-eval to run it |
| Both | Report both routes, each for its own part of the repository |
| No model in the loop | Say that LLM eval design does not apply, and stop |
/evals:design interviews for criteria and scaffolds a suite; /evals:plugin-eval runs a
plugin's suite against a no-plugin baseline and reads the delta; /evals:validate checks a
suite's case files before a run.
The bundled claude-api skill's hillclimb searches model, effort and prompt against a suite
you already have. When that skill resolves in this session, prefer its hillclimb for the
search itself; prefer this skill when the suite does not exist yet or its criteria are not yet
measurable. The two chain: design here, then hand the
suite to the search. hillclimb applies accepted configuration and prompt changes to the
application under test, so never chain into a hillclimb run on this skill's behalf; name the
option and let the user invoke it.
Availability is never assumed: bundled surfaces are gated by settings, environment, plan, and host, so state what to do when the surface resolves, never that it is present.
Pointer: for the subcommands, see
https://code.claude.com/docs/en/skills#work-on-claude-api-projects; for their guides, see
eval-hillclimb.md
and
build-eval.md.
As of: 2026-10-01
Recheck trigger: the Claude API skill docs page
(https://platform.claude.com/docs/en/agents-and-tools/agent-skills/claude-api-skill) lists
build-eval and hillclimb; then repoint there.
update action/evals:methodology update is a maintainer-only drift check. Fetch each linked section, confirm
the anchor still resolves and that this page's own decisions (the decision guide, eval-design.md,
local-decisions.md) still follow from what the section says, and fix a moved anchor or a decision
the section now contradicts. local-decisions.md and hillclimb.md carry their own recheck
triggers.
/evals:design <target>./evals:validate <eval-dir>./evals:plugin-eval run <target>.What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/auditAudit an eval suiteRead-only advisory health report for a plugin eval suite (edits nothing; routes fix): skill with no case, triggering/no-fire/legacy case, uncalibrated judge/sample, gate pair, duplicate, grader fit, drift. Use when 'audit my evals', 'is my eval suite healthy', 'find duplicate eval cases'. Not for load: /evals:validate; runs: /evals:plugin-eval./designDesign an evaluation suiteDesign/write/scaffold an eval suite or test set for an LLM app, feature, prompt, or skill: interview for measurable criteria, write criteria doc and test cases into repo. Use when 'design evals', 'create an eval suite', 'scaffold evals'. Not for theory: /evals:methodology; checks: /evals:validate or skill-creator JSON; runs: /evals:plugin-eval./plugin-evalRun a plugin eval suiteRun/read claude plugin eval: preflight, cost, validity verdict, noise-report, arm delta, aggregate-result.json, CI gate, headless claude -p, socat/bubblewrap, --allow-tools, worktree refusal, CLAUDE.md/rules. Load before answering: 'run my plugin evals', 'eval my skill', 'is this gain real'. Not for design: /evals:design; or skill-creator JSON./validateValidate eval cases before a run spends moneyStatically validate a claude plugin eval suite (prompt.md, case.yaml, graders/*.md) offline before spending money: load FAILs, authoring WARNs, deterministic grader check against sample answers. Use when 'validate my eval cases', 'lint case.yaml', 'why did my case fail to load'. Not for skill-creator JSON format.npx claudepluginhub melodic-software/claude-code-plugins --plugin evalsOther plugins' skills for the same job