How to evaluate AI coding agent skills without guessing
Editing a skill and running one chat prompt tells you almost nothing. Learn how trigger cases, task cases, isolated trials and an exact sign test turn skill changes into repeatable evidence.
Why eyeballing one prompt misleads you
Skills are instructions interpreted by probabilistic models. Tightening a description to fix one false positive often stops the skill from loading on another prompt. Testing in your everyday working directory makes it worse: your other installed skills, plugins, MCP servers and CLAUDE.md all influence whether the model follows the edit.
Reliable evaluation separates two distinct questions: did the skill load when it was supposed to, and did the agent finish the job correctly once it had the skill?
Separate trigger cases from task cases
An eval suite lives alongside a skill in its evals/ folder (versioned with the skill's Revision, never delivered to your everyday harnesses). Each case pairs a prompt with graders and belongs to one of two measures:
| Measure | What it grades | Good examples | What it does not grade |
|---|---|---|---|
| Trigger cases | Only whether the skill loaded (should load, or should stay out). | Positive prompts that match the skill's job, plus near-miss negative prompts that should not trigger it. | Final code output or formatting details. |
| Task cases | What the trial did and left behind in the workspace (files, checks, output). | Concrete tasks with deterministic or rubric graders verifying the resulting diff or reply. | Whether the skill loaded (shown beside the result, e.g. 'loaded in 2 of 3', never conflated). |
Keeping Triggers and Task separate makes failures immediately actionable. If Task fails because the skill did not load, you know to fix the description. If Triggers pass 100% and Task fails, the body instructions need work.
Isolate every trial and measure against no-skill
Each trial runs in a real coding agent from a temporary isolated home with only one arm delivered: either the Revision under test, or nothing (the no-skill baseline). In Claude Code, Kitling isolates via flags (--setting-sources project, --strict-mcp-config, --plugin-dir, --no-session-persistence) so trial transcripts never pollute your Usage history. In Codex, Cursor, OpenCode and Pi, environment roots point into the temporary trial home.
Just as important, infrastructure failures — expired logins, unknown models, rate limits, or cancelled runs — are tracked separately from skill failures. A trial that never really started is left out of every pass rate rather than falsely dragging down your score.
Exact sign tests, 'too close to call', and regression checks
A single trial can flip on noise. Kitling offers two speeds: a Quick check runs one trial per case on the current Revision and reports raw counts with no score; a Standard run executes two trials per case (adding a third wherever the first two disagree) and compares against the previous Revision.
- Each measure (Triggers and Task) is compared case-by-case with an exact sign test.
- A measure is called better or worse only when the sign test supports it; otherwise Kitling reports it as too close to call or the same.
- Score averages Triggers and Task equally out of 100 (or uses the one measure present), computed on read rather than blended with security flags.
- Regression cases — cases the earlier Revision passed every time — hold an upstream update whenever a measure drops, even if the drop is too close to call.
Every eval transcript stays on your Mac. Stored trials are reused automatically whenever the delivered files, case digest, harness version, model and judging model have not changed.