/plugin-test-bench:review-evals [plugin folder]from Plugin Test Bench
Reviews a Claude Code plugin's eval cases before paid runs — checks that each case measures what the plugin adds over plain Claude, that graders count in both arms, that triggering is measured as a rate, and that fixtures are correct; dry-runs fixtures and applies fixes only after asking. Use when the user asks to review, check or debug plugin eval cases, after claude plugin eval init drafted a suite, or when scores or deltas look wrong. Not for writing a suite or for skill-creator's evals.json.
Ships in Plugin Test Bench. 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.
None: SKILL.md is the whole skill.
Plugin: $ARGUMENTS (a folder; if empty, the plugin in the current directory). Its suite is in evals/, or in the experimental.evals path of its plugin.json.
This skill reviews cases; it doesn't write a suite from nothing. With no suite, suggest claude plugin eval init, which interviews the user and drafts one, then come back. Change no file until the user approves the fixes.
Format reference: https://code.claude.com/docs/en/plugin-evals. Read it live before stating a field, grader option or default, because the format still changes between releases. If it doesn't load, go on with the facts in this skill and mark each finding that rests on a field or default you couldn't check as unverified live.
Read the plugin: its manifest, each skill's description and body, agents, hooks and README. You need to know what it promises and what Claude would do without it.
Read every case in full: a case is a folder holding case.yaml or prompt.md under the suite. List the cases first, then read each one's prompt.md, case.yaml, every file in graders/, scaffold scripts, fixtures and mocks, with no skipping.
Check each case against the checks below. Take its kind from its description; when it names none, infer the kind from the prompt and graders, mark it (inferred), and add a finding that the description should state the kind and its hypothesis. Give every finding the case, the file, what is wrong, what it does to the score, and the fix.
Dry-check fixtures for free when cases have a scaffold_script. Ask first: the script runs on this machine as the user. If the user declines, or the conversation has no shell, mark those fixtures not dry-checked. Run mktemp -d twice for <ws> and <home>, then run it the way a real run does, in the empty workspace with a temporary home and no other variables:
cd <ws> && env -i PATH="$PATH" HOME=<home> TMPDIR="$TMPDIR" TERM=dumb bash <absolute case folder>/<scaffold_script>
A real run fails a script that exits non-zero or runs longer than 120 seconds. Inspect what it built, then delete both folders. A fixture that doesn't build, or doesn't contain what the prompt and graders assume, is a finding found at no cost.
Report with the template below, then offer to apply the fixes.
Each case should prove one of these, named in its description with the hypothesis:
| Kind | Proves |
|---|---|
| Difference | Without the plugin, Claude fails in a specific, predictable way; with it, it succeeds |
| Trigger | The skill fires on realistic requests, and stays quiet on nearby requests it shouldn't take |
| Own risk | A failure here breaks the plugin itself: an agent that doesn't get its input, a hook that doesn't fire |
| Guardrail | The plugin doesn't over-report or invent; Δ may be about 0 |
@path mentions are not expanded).tool_used on Skill; regex on target: mock_calls and llm with focus: mock_calls, when every mocked server in the case is the plugin's own; and graders marked arm: with-only. When every grader in a case is one of those, they all count.arm: both, such as a "must not trigger" grader (min: 0, max: 0). Under --ablation none nothing is excluded, so a smoke test and a full run score the same suite differently.tool_used, tool_order). A Trigger case needs only its tool_used: Skill grader.regex, tool_used, tool_order, file_exists). Every llm or baseline grader is three judge calls per run; keep it for short output that needs judgment, with concrete PASS and FAIL conditions. For a long file, grade its contents with regex and target: { source: file, path: … }.target: files is the list of created paths, not their contents. file_exists sees only files created during the run, not ones the scaffold made or Claude edited. trace is JSON with escaped quotes. Regex flags go in flags, not (?i).CLAUDE.md, settings, other plugins or MCP servers, and project files a scaffold writes under .claude/ aren't loaded. Only EVAL_* and an allowlist of environment variables reach the run.--allow-tools on the command line. A case's allowed_tools and a skill's allowed-tools can't widen them. Granting Bash runs commands in the OS sandbox, which needs bubblewrap and socat on Linux and is unavailable on native Windows..claude/ and .git are denied in a run that can't prompt: a case that expects the plugin to write there fails in every run.max_turns (default 10) and timeout_seconds (default 300) fit the task. A case that only checks triggering needs few turns.One prompt proves nothing about triggering. Look for several realistic phrasings that should trigger each skill and none that name it, each its own case with a tool_used: Skill grader, plus nearby requests that must not trigger it. Suggest a shared tag such as trigger so --tag trigger re-runs them after every description change.
Each case gets the first verdict that matches:
## Eval review: <plugin> — <n> cases
| Case | Kind | Verdict | Findings |
| :-- | :-- | :-- | :-- |
| <case> | <kind, or "<kind> (inferred)"> | keep / fix / rewrite / remove | <count> |
### <case>
- **<file>** — <what is wrong> → <effect on the score> → **Fix:** <exact change> <(unverified live), when it applies>
### Missing
- <cases the suite needs and doesn't have: trigger rate, nearby requests, own risk>
### Next run
`claude plugin eval <plugin folder> --case "<glob of the changed cases>" --runs 1 --ablation none` <plus `--allow-tools` with the grants the cases need, and `--scaffold` when a matching case has a `scaffold_script` the user trusts> — <n> runs, one per matching case, plus three judge calls per `llm` or `baseline` grader. <One command per glob when one glob can't match them all; "none needed" when every case is keep. The user runs it in a terminal: the first run in a folder asks to trust it.>
After a run, read the results with the user: a case with Δ about 0 that isn't a Guardrail measures nothing; a case that fails in both arms points at the grader or the task before the plugin. A full comparison runs each case twice per run, three runs by default or the case's own runs. Never change a case after a run just to make it pass: fix the plugin, or record why the case was wrong.
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub nerymurillohnd/the-claude-factory --plugin plugin-test-benchOther plugins' skills for the same job