Scaffolds an executable verification kit under .agents/verify/ with doctor, check, observe, and per-feature drivers. Use when a repo lacks agent-provable change verification or when setting up verification for a new repo.
Ships in experimental. 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.
A repo is verifiable when an agent that has never seen it can run one command and get evidence, from the surface a user touches, that a change works. Prose that says how to check is not enough. This skill ships scripts.
node scripts/scaffold.mjs <repo-root> [--local] copies the kit into <repo>/.agents/verify/ and never overwrites. --local adds .agents/verify/ to .git/info/exclude, so the kit works on this machine without ever being versioned. Use it for repos you do not own:
| File | Contract |
|---|---|
doctor.sh | exit 0 only when every precondition the drivers need exists |
check.sh | types, lint, unit tests; non-zero on any failure |
observe.sh <feature> [--runs N] | runs drive/<feature>.sh with EVIDENCE_DIR set, N times when asked; passes only if every run passes; meta.json records tree digest, exit, runs, passed. observe.sh check runs check.sh |
fresh.sh | exit 0 when every contract feature passed on its latest observation of the current tree contents; observe: f x5 also needs at least 5 runs; the Stop hook calls it |
lib.sh artifact_current <artifact> <src>... | fails when a built artifact is older than its sources, so a driver never observes another build |
drive/<feature>.sh | reaches the feature as a user does and writes proof into EVIDENCE_DIR |
features/<feature>.md | where it lives, how a user reaches it, how to drive it, what usually lies |
ENFORCERS.md | rule to enforcer table |
evidence/ is gitignored. The tree digest covers tracked changes and untracked files, so evidence from before an edit never counts after it.
doctor.sh with the real binaries, env vars and services. Fill check.sh with the commands CI runs, fastest first.artifact_current, or rebuild and compare with the committed copy. A benchmark driver measures the baseline in the same run (origin/main and this tree, same browser) and is declared with x<N> in the contract, since one run of a noisy number is a coin flip. A CLI driver runs the built binary and asserts on output. A web driver uses agent-browser to screenshot and asserts on the DOM or text. An API driver curls the running service and asserts on the body, not only the status.cases/<repo>/, review findings, and papercuts.doctor.sh, check.sh, then observe.sh <feature> for every driver, on a clean tree. Open each screenshot and look at it. Then break the feature on purpose (or revert a known fix) and confirm the driver fails. A driver that cannot fail is not a driver.doctor.sh fails with that reason; never fall back to a fake.--local. Proposing the kit upstream is a human decision.Run node scripts/scaffold.mjs <repo-root> --check before relying on a kit: it fails when lib.sh, observe.sh, or fresh.sh differ from this skill's copies. Copy the current ones over; repo-specific files are left alone.
When a change adds or moves a feature, update its driver and feature file in the same diff. When a mistake escapes, add a check that fails on that mistake and a row in ENFORCERS.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/experimental:verify-setupfrom experimental
npx claudepluginhub railly/skills --plugin experimental3 skills in this plugin
/contractWrite the done criteria for one piece of engineering work before any code changes: what it really is, its size class, acceptance criteria each mapped to an executable observation, must-not-change behavior, and non-goals. Writes .agents/verify/contract.md so fresh.sh and the verify-before-done hook require every named feature to be observed. Use at the start of a bug fix, feature, refactor, or PR review, when someone says start work on this, take this issue, what does done mean, or before loop. Do not use to shortlist a backlog or to review a finished diff (gate)./loopRun one engineering change from contract to a reviewed, observed, human-approved state, with ceremony scaled by size class. Each step ends on command output, never on a claim. Use when the user says take this to PR-ready, fix this issue, implement this, run the full cycle, or resume an interrupted change. Enter at the earliest incomplete step. Do not use for a question or investigation with no code change, or to review someone else's PR (gate).Other plugins' skills for the same job