Validating a skill change
Mechanical contracts (frontmatter, paths, greppable invariants, parity, script behavior) go in bun test and run in CI. Prose behavior — routing judgment, restraint, cross-model outcomes — is evaluated with a model and is best-effort evidence, not a CI job. Read the guide's "Evaluate proportionally" section for sizing.
When an eval is required
Any change to how a skill routes, what it loads and when, what it asks, when it stops, what it commits or publishes, or how it degrades — on any harness. A pure removal still needs one when a removed line had provenance you overrode. Skip for changes that cannot alter behavior (typo, path, formatting) and say so. When the eval is required but a capability it needs is unavailable — no fresh-context subagent, or one of the two hosts unreachable — record that as the exact skip reason (which capability, on which host) and finish; run the part that is available (a single-host eval is evidence, labeled as single-host). Convenience is not a capability gap.
How
Inject the current on-disk skill (and any references the scenario needs) into a fresh agent, then grade what it does. Plugin skills cache at session start, so invoking the edited skill in the authoring session tests stale content — do not test through in-session Skill-tool or typed-agent dispatch, and do not edit the plugin cache.
This repository does not ship an eval skill. Anthropic's skill-creator and the personal skill-eval skill are optional installed helpers, not repo capabilities. The portable primitive is the host CLI with the current skill extracted onto disk. bun run test:skill-eval-cell -- --skill <name> --task "…" is the repo-owned driver (claude -p / codex exec / grok -p, CLAUDECODE unset, Codex stdin closed). Named scenarios live in tests/skill-eval-cell/catalog.ts and run with bun run test:skill-eval-pack -- --skill <name> --arm ab. --wave1 is the cheap read-only decision set, not the whole catalog. A change whose path is already in the catalog runs those rows; a path that is not covered adds a row authored from the pre-change contract. Grade artifacts and the ACTIONS trailer, not whether the essay recites a forbidden command. A files_read_post entry is a required read for that scenario and a miss fails the cell — list the file only when the always-loaded body makes the decision undefendable without it. Omitting the field is the correct negative (skip allowed). Do not add a must-not-read. When a reference owns a different path, add a complementary cell that requires that file rather than dropping the extraction probe. skill-creator does not replace this cell. Do not add evals/evals.json — that is not this repo's suite. Do not run interview-skill evals as in-session subagents: the blocking question tool would land on the authoring user. The cell driver isolates that (stdin closed, host CLI in a throwaway workspace). When the behavior under test depends on how the user answers (an interview, a brainstorm, a clarifying-question loop), run it as a conversation with bun run test:skill-eval-judge: it runs the skill before and after your change on Claude and Codex, a separate simulated user answers each turn from a persona, and a blind grader scores every transcript against a rubric and totals the results. Write the scenario for the change you made rather than reaching for a stock one, and pass it with --scenario <file.json> (fields in tests/skill-eval-cell/judged/scenarios.ts). A persona is useful when it holds a goal, needs it will not volunteer that only the right question surfaces, and what it would call overkill, so one grade shows both what the skill missed and what it added. tests/skill-eval-cell/judged/ holds a starting library of personas, rubrics and fixtures. Answering every question up front with "your call" isolates what the skill recommends, but it overstates scope growth compared with a real conversation.
Keep the test honest. A test subagent must not know it is testing a skill: prompt it the way a user would ("use the <skill> skill to do X"), pass the raw artifacts (the file, the finding, the diff), never your diagnosis, the intended fix, or the expected answer. Fresh context per pass; clean up anything a run leaves on disk before the next; if a scenario passes only when the agent can see leaked context, tighten the skill or the setup before trusting the result. Read the transcripts, not just the final outputs — a skill that reaches the right answer while spending turns on unproductive steps has a defect the output hides, and several runs independently writing the same helper is a signal to bundle a script.
Baseline, then compare: run the scenario against the pre-change skill first when a behavior is being changed (so you can see the failure the change fixes), then against the edited skill. Include a no-guidance control when the question is whether a line does anything at all. Read every result; do not score by keyword.
Size the eval to the decision, not the workflow. A routing change inside an already-active skill is one decision made early in a run — which output contract, which reviewer team, which branch — so the cell that proves it stops at that decision: prompt the skill to resolve its gate and end (announce the team, state the contract, name the route), and grade the declared result. A full-skill run per cell (a complete review, a plan written to disk) spends ten minutes of subagents to observe a line that was decided in the first thirty seconds, and that cost is what turns a proportionate eval into a matrix. The floor: one discriminating fixture per direction — the case the old prose got wrong and the new must get right, and the case both must still get right — plus one per additional leg of the condition; post arm on Claude and Codex; the pre arm only when no baseline evidence already exists (a run that already happened in the session is evidence, not something to reproduce). A cell that declares nothing fails — grade the declared line, never narration that mentions the right word. A declared line grades a decision, not an action: when the claim is that the skill invokes another skill, run the cell live with a handoff probe and grade the recorded call (tests/skill-eval-cell/README.md). Six to twelve cells is the ordinary size; the pack runs its rows serially, so run one pack invocation per row side by side when wall time matters. If the change seems to need more cells, suspect the condition before growing the eval. This shortcut cannot test activation — the cell tells the agent to read the skill, so a skill that would never auto-trigger still resolves its gate; a description or trigger change is evaluated in a fresh host session with no skill injected, per the activation item below.
Cover, proportionally to risk: the path the change touches on the weakest realistic model tier; strong-model regression (did prose make a capable model worse); restraint (does the skill stop where it should, and does it avoid case catalogs, repeated autonomy gates, repeated command skeletons, and blanket brevity slogans); activation (positive, adjacent-negative, explicit invoke) when the description or trigger changed — with substantive prompts, since a trivial one-step ask never triggers a skill regardless of description; and the next consumer's contract when an envelope or handoff changed. Run on Claude and Codex by default — cross-host divergence is the biggest portability risk and the one a single-host run cannot see.
Classify the key behavior before sizing the eval, because a fake-boundary run does not validate delegation. A run with dispatch, git, and gh forbidden grades recognition, routing, and pointer-following, and it is the right first pass for any skill (bun run test:skill-eval-cell -- --read-only). It cannot grade a skill whose key behavior is live: peer or subagent dispatch, an orchestrator return contract, a mutation gated on what a delegate returned. There the model's account of what it would have done is the artifact under test, so it cannot also be the evidence — whether the delegate was dispatched, what payload it got, whether attribution waited on a real receipt, and whether the reconciliation was a synthesis are all invisible. For those skills the eval dispatches for real, pre- and post-change, on Claude and Codex, graded on subprocess logs and on-disk artifacts rather than the transcript, against a throwaway subject repo rather than the checkout. Record the paths one run could not reach — reconciliation when peers concur, degradation when a peer is unavailable — as unexercised, not as passing. A codex exec launched from a Claude Code shell inherits CLAUDECODE=1 and makes the peer attest the wrong host; launch it under env -u CLAUDECODE.
For new CLI-wrapper skills, include a restraint fixture where the tempting output is five or more near-duplicate command blocks sharing the same flags. Passing behavior is one canonical invocation with parameters or named deltas, plus late references only for demonstrated gaps or non-derivable facts.
For new model-invoked skills, include a description-restraint fixture using the contrast pairs in references/new-skill.md as the fixture source. Passing behavior is a context pointer: distinctive mechanism with the leading prompt word first, one trigger per genuinely distinct branch in "Use when..." or "Use for..." form as an observable work-state, and adjacent negatives only when they block real false-trigger neighbors. A category opener without the mechanism, or a quoted-utterance catalog, fails.
For cross-model output guidance, include a restraint check that the authored skill does not copy a Fable-only brevity block or use a blanket "be concise" / "keep it short" slogan. Passing behavior names the report fields that must survive shortening; for CLI wrappers: command, exit status, output path/size, and stderr or blocker.
Read the result honestly. If old and new prose both succeed on a strong model, that is no regression, not improvement — test the claimed insurance at the layer where it matters (the weaker tier or the other harness). Measure the outcome the skill exists to improve, not proxy volume: routing, state, authority, and completion for an orchestrator; claim support for research; clarification burden and execution errors for planning. For a side-effecting skill, grade intended and suppressed actions first, then use fake boundaries or dry-run contracts before anything live.
Reader pass for new or rewritten prose
After any change that writes or rewrites skill prose, have a fresh reader — a subagent that did not author the change, given the new text and the pre-change text — quote every sentence it had to read twice, plus any rewritten sentence whose meaning drifted from its origin. Size the read to the change: a size or placement restructure gets the whole always-loaded body read once; a new or rewritten sentence gets that sentence read in place. If the sentence is copied into several files, read it once. The author cannot see this: an independent audit of the 2026-08-18 sweep found dense or meaning-shifted sentences in thirteen of nineteen bodies that their authors, three harness evals, and two review bots had all passed. Fix by restating plainly or relocating, never by shortening again.
Record
In the PR: scenarios, tiers/hosts, what the pre-change run did, what the post-change run did, and anything the eval surfaced that you did not act on. Authored scenario sets over-represent the happy path; add one scenario from a real failure (a bot finding, a session that went wrong) whenever you have one. Improve from what generalizes across scenarios, not from what fixes one — a skill tuned to its handful of eval cases is overfit.