Driftproof (driftproofhq): open-source agent skill evaluation and regression testing across model releases
Driftproof measures whether an AI coding skill helps, seals each result in a dated receipt anyone can check, and measures the same tests again on each new model to show drift.
A skill is a SKILL.md file that teaches an AI coding agent how you like things
done. Driftproof runs the skill's own tests with it and without it, and a model
scores each answer several times. Each
receipt
records the date, the model, the scores and the hashes of the skill and its
tests, sealed by a sha256 of its own. driftproof validate receipt.json checks
it against the receipt
schema and recomputes that
hash: an edit made after sealing shows as MISMATCH. On a new model, run the
same tests and driftproof diff old.json new.json compares the two receipts
case by case, as Report 008 did from
claude-fable-5 to claude-fable-5-1 with the same skill and test hashes.
What it does not show: the hash is not a signature, so a receipt does not show who made or sealed it, or that a model ran. A result covers only the tests, model and judge its receipt names, and no clear difference is not proof of no effect.
claude plugin marketplace add driftproofhq/driftproof
claude plugin install driftproof@driftproofhq/driftproof:init on a skill you already have drafts its test cases with you,
adds them after you say yes, and makes a first receipt. /driftproof:run
measures a skill in your repository and writes its receipt. It runs on your
Claude Code subscription. You need Node.js 22 or later.
First run · Other ways to install · Measure your own skill
Latest finding · Report 021, 24 Nov 2026: With the file, Sonnet's tests caught every planted bug in 2.5% of attempts against 65.8% with no file (share of attempts that caught every bug), and caught 9.5 points fewer of the planted bugs, 85.3% against 94.8% (share of planted bugs caught).
Free measurement · Send us your skills. We'll tell you which ones you can delete on Claude 5. It's free. Anyone can ask, not only the author.
live badge for the bundled example, generated from its own receipt.
All nineteen reports · driftproofhq.com
Skill badges · Can you tell? Every skill · Did the AI change? · Inspect these instructions · The AI noticed the sugar pill · Which bar is the fake? · Every task we gave a skill · Try it yourself · Which section did the work? · Skill or sugar pill?

npx driftproof view makes from Report 013's
receipts,
in one file that opens from disk. To send one result with its limits, use
driftproof sheet receipt.json.
Driftproof consumes the agentskills.io/evals eval
format; it does not invent its own.
New to this? See how it works, step by step
-
Use Node.js 22 or later and an installed CLI. The default CLI isolation is a Linux setup: a separate unprivileged user (default
driftproof-eval), passwordless sudo as that user, and each target or judge CLI installed and logged in as that user. Follow the setup and manual boundary checks before a live run, or rundriftproof doctorafter setup. Confirm the CLI login as the eval user. A CLI version reply alone does not check login. -
Use
--trusted-skillonly for a skill you authored on a machine without an eval user. It gives up the account boundary: the CLI runs as you, with your environment and login. The plugin asks whether you wrote the skill. -
For an offline first check, use the installed CLI on a skill with test cases:
DRIFTPROOF_STUB=1 driftproof run path/to/your-skill --quick --out /var/tmp/driftproof-stub
The stub uses canned answers, makes no model calls and measures nothing. Install the CLI first; an
npxdownload would itself need the network.
A skill is usually tested once, against one model, and the verdict is treated as permanent. But the substrate moves: models get updated, retired, and replaced. A skill that measurably helped last quarter can quietly become a no-op — or a net negative — the next time the model underneath it changes, and nobody re-checks.
Verdicts age because the substrate moves. Driftproof exists to keep the verdict current: cheap, repeatable, hash-stamped measurements bound to a specific model version, so "does this skill still help?" has a dated, verifiable answer instead of a stale one.
The hard part isn't running an eval once — it's making the number credible enough to act on. An LLM judge is noisy, so a naive score can swing run to run by more than the drift you're trying to detect. Driftproof's answer is to sample and report bands, each a descriptive spread (the mean plus or minus one sample standard deviation), and to only claim a regression when the bands don't overlap: a separation detected under that rule, not proof. A tool that cries wolf is worse than no tool.
A verdict without a price is half an answer. The same receipts price the
marginal cost of a skill firing, and Report #005 found the dominant cost driver is
not the skill's own text but the input it causes the model to pull in: across those
30 cells the input delta tracks cost at r = +0.92 while the skill's own length
tracks it at only r = +0.33, and one 738-token skill drew 34× its own size in
extra input. Identical token deltas also price very differently across substrates —
the same skill at near-identical deltas costs 3.3× more on claude-fable-5 than on
claude-sonnet-5, which is exactly their input-rate ratio in the frozen snapshot.
You need Node ≥ 22. The first path runs on your Claude Code subscription. The second
uses the command line and an ANTHROPIC_API_KEY.
Start with a skill you already have. Install the plugin (see Install), then, in Claude Code, from the folder above your skill, in a git repository:
/driftproof:init path/to/your-skill
Claude reads your SKILL.md and drafts three to five test cases with you, each aimed
at an outcome you would check in the answer. You approve them. Only after you say yes is
one new file added to the skill's folder, evals/evals.json, labelled as drafted from
the skill and approved by you. SKILL.md and every other file are left as they were.
Then it runs a quick check and opens a results page: your first receipt. A quick check
is a first look and cannot produce a verdict. /driftproof:run path/to/your-skill on a
skill with no test cases offers the same draft, and /driftproof:run without --quick
measures the skill for a verdict.
Without Claude Code, write evals/evals.json by hand (AUTHORING.md) and
go on from step 3 below.
# 1. Scaffold a skill skeleton: SKILL.md + evals/evals.json (3 example cases) + .driftproofrc
npx driftproof init my-skill
# 2. Edit the 3 example cases in my-skill/evals/evals.json so each one is grounded
# in a claim your SKILL.md makes. Every rubric is anchored at 0.80 = "fully correct".
# 3. Point the runner at the metered API (scanner-safe: never commit a key)
export CLAUDE_PROVIDER=api
read -rsp "Anthropic API key: " ANTHROPIC_API_KEY && export ANTHROPIC_API_KEY
# 4. Run the suite. The shipped defaults (DEV_MAX_USD / DEV_MAX_CALLS in config.js)
# refuse the run up front if the projection exceeds either; --max-usd and
# --max-calls override them.
npx driftproof run my-skill --models claude-haiku-4-5
# 5. Read the receipt + human summary written to ./receipts/
cat receipts/*.summary.mdReading the result. The verdict answers "does the skill still help on this
model?" — PASSED when the with-skill score beats the baseline by at least the
effect floor, NO_EFFECT when it doesn't, REGRESSED when the skill hurts. Each
case is judged several times, so it carries a band (mean ± stddev) instead of
one fragile number, and a case is only ever called regressed/improved when its two
bands don't overlap. The effect floor (0.05, one judge quantization step) is the
minimum move required before a separation is called a change: band separation
plus a floor-sized delta, never either alone.
What the band covers. Since receipt spec v0.5 a run samples the generation
as well as the judge: each arm is drawn at least 3 and at most 10 times
(GENERATION_SAMPLES_MIN and GENERATION_SAMPLES_MAX in config.js, applied by
lib/sampling.js), and each draw is judged several times. A run stops at 3 draws
when the across-draw spread is no wider than the 0.05 effect floor; otherwise it
keeps drawing until two successive estimates of that spread agree to within 0.01, or
the ceiling is reached, and each case records its stopping_reason. So a band on a
generation-sampled receipt is the spread of the model writing different responses,
not only of the judge re-scoring one. Report #006 measured that spread directly and
found it larger than judge-level noise, draw-to-draw sd 0.186 at the most, which
is why v0.5 samples it. A receipt from before v0.5 carries a legacy band, one
generation per arm re-scored by the judge, and a comparison report labels each band
(legacy) or (generation). Either way a band describes the draws a run made, at
the sample size it used, so treat a surprising verdict as worth re-running
before you act on it.
A rules file uses the same tasks with and without its exact text. In Claude Code, from its folder in a git repository, start with:
/driftproof:start CLAUDE.md
Claude drafts three to five tasks with you and runs a quick check after you say yes. For the CLI, set up the API as in step 3 above and use the evals/evals.json shape:
npx driftproof run CLAUDE.md --suite tasks.json --models claude-haiku-4-5 --placeboThe placebo adds a third arm using a fixed corpus text of exactly the file's length, chosen
without reference to any task. It makes half as many calls again. The result compares
answers on these tasks with this model and judge. It does not say why they differ or how
the file does on other tasks. The reading also appears beside the verdict in view, the
pull request comment, the job summary, export --to summary-json and each side of diff.
See your file's fake in your browser before measuring it.
In a workflow, use the pinned release:
- uses: driftproofhq/[email protected]
with: {skill-dir: CLAUDE.md, suite: driftproof/tasks.json, placebo: 'true'}See the complete offline workflow.
Run driftproof blind receipts/receipt.json to try identifying the file's answer
in pairs of kept answers. It uses the placebo arm when present, or the baseline;
--against baseline chooses the baseline. A run keeps answers with
--keep-transcripts; a quick run keeps them too. The results page from
driftproof view receipts/ offers the same read, up to ten pairs. Older archives
may have no task prompt.
After your picks, you see your tally, a random reader's expected count and the judge's scores on those pairs. The CLI saves a separate record beside the receipt. One reader's picks on these pairs. It is not a measurement of the file: it moves no verdict, and it says nothing about other readers, tasks or models. See the reader contract for details.
REFUSEDorABORTbefore a run is a setup, input or budget refusal, not a reading of the skill. Fix the named prerequisite, input or budget plan.NOT_MEASUREDmeans this receipt cannot supply a measured verdict. Check its reason: stub, quick run, imported or missing model evidence, incomplete suite, or no readable comparison. Use a live run without--quick, with both arms and the full suite; repair failed calls or missing evidence first.INCONCLUSIVEcan mean lost draws could change the reading. The warning “Comparison unreliable: at least 5% of an arm's replies ended in fake tool calls.” names a text-capture refusal. Read the reason; repair failed calls or use--capture filesfor file-writing tasks, then rerun.NO_EFFECTmeans no separation detected at this sample size. It does not prove the skill has no effect. Revisit whether the test cases exercise its claims; inspect the answers and rubric.UNDERPOWEREDsays either “Not enough draws to conclude at this effect floor” or “More cases, not more draws, are needed to conclude at this effect floor”. For the first, check the reported draws needed and the sampler's limits;--sampleschanges judge samples, not answer draws. For the second, add test cases grounded in the skill's claims. These are next steps, without promising a verdict.
npx driftproof <cmd> # no install — always the published version
npm install -g driftproof # or install the CLI globallyInside Claude Code, there is a third path — the same CLI, reached from a slash command:
claude plugin marketplace add driftproofhq/driftproof
claude plugin install driftproof@driftproofhqThat installs /driftproof:start, /driftproof:init, /driftproof:run,
/driftproof:blind, /driftproof:badge, /driftproof:compare, /driftproof:inspect, /driftproof:recheck and /driftproof:measure.
/driftproof:compare <rules-file> --suite <tasks> compares your edit with the committed file, or a file named with --against, and shows the runner's per-task reading and caveat.
/driftproof:inspect <file-or-skill-dir> shows what is in a local file without running it, including the reminder that a clean reading is not a guarantee.
/driftproof:recheck <skill-dir-or-rules-file> saves its tests and settings the first time, runs them again after you say yes on later uses, and shows the runner's dated reading unchanged.
/driftproof:measure <skill-dir> opens the free Measure a skill request form, filled in with that skill; nothing is sent unless you submit it.
The CLI is the product and it runs on every surface Driftproof measures, while
the plugin is one install path for Claude Code users: each command is Markdown
that has Claude run the pinned runner, which writes the receipt it would have
written from the same arguments. The plugin's version is the runner version
it pins, and /driftproof:run spends your Claude Code subscription rather than
an API key. It measures and never changes a skill's instructions. The one file it
adds is a new evals/evals.json, from /driftproof:start or
/driftproof:init, to a skill that has none, after you say yes in the run.
Each command starts the pinned runner with npx, so a first run has no extra install step.
Two gaps remain, and the plugin's words cannot close them: a program in a parent folder's
node_modules/.bin can run before the runner, and the line Claude runs can be altered.
The safer alternative is to run npm install -g driftproof@<version>, at the version the
command names, and use the installed line each command file gives. npm then starts nothing,
so the first gap closes. The line Claude runs can still be altered in either form.
Some settings change this. An OpenAI model named with --models goes to OpenAI through the codex command line, or to the OpenAI API with your OPENAI_API_KEY; OPENAI_SURFACE chooses which, and when it is not set the API is used whenever OPENAI_API_KEY is set. OPENAI_BASE_URL, or a model list named by DRIFTPROOF_REGISTRY, can point that call at another address, and the list can name another key variable. CLAUDE_PROVIDER set to api sends the calls to the Anthropic API, or to ANTHROPIC_BASE_URL if you set it, with your ANTHROPIC_API_KEY. A judge_model in a .driftproofrc in the folder you run from chooses the grader.
The only runtime dependency is ajv (schema validation); @anthropic-ai/sdk is
optional and pulled in only for CLAUDE_PROVIDER=api. The CLI resolves its spec,
schema, and model registry from inside the package, so it runs the same from a
global/npx install as it does in a checkout.
Platforms. Driftproof is tested on Linux and macOS. In an outside retest of
0.10.1 on macOS the shipped gate passed 592 of 611, with 19 failed and 1 not
applicable, and all nineteen failures are in the publishing helper, which needs
GNU realpath -m. Public Windows CI runs the package gate, a stubbed first run,
selected core tests and the plugin's own compatibility and runner-launch tests.
These checks make no model calls and do not establish real-provider support.
On Windows the plugin needs Node, npm's bundled npx and Git for Windows on PATH.
It prints the results page's path for you to open in a browser. The isolated
account lane needs POSIX tools and is not available on Windows.
driftproof --version shows the CLI on your PATH. For the plugin, read the
version field in .claude-plugin/plugin.json of the installed copy Claude
Code loads. The plugin pins its runner to that version, which can differ from
your standalone CLI. A marketplace clone's manifest is not the installed copy.
Refresh the marketplace from its source in Claude Code, then update the installed plugin:
claude plugin update driftproof@driftproofhqCheck the installed copy's version again after updating.
To check an edit on the same tasks, run
driftproof compare before.md after.md --suite tasks.json. It saves two
ordinary receipts per model and a plain reading in receipts/compare.md.
Use --out DIR for another folder or --placebo for a length control.
For files you wrote yourself, --trusted-skill runs both versions on your own CLI,
with no isolation account, as run --trusted-skill does.
Two skill directories can also be compared when their task suites match.
The call and cost caps cover both versions. The reading shows each file's
length and fingerprint, and the draws ceiling from its sealed runner version.
The runs are sequential: a difference on these tasks is not proof, and no
clear difference is not proof the versions are the same.
To check one section of your rules file, first run
driftproof compare CLAUDE.md --list-sections. Then run
driftproof compare CLAUDE.md --without-section "Heading" --suite tasks.json.
It removes that heading and its section, keeps every other byte, and saves the
shorter file beside the receipts with its sha256. The reading covers these
tasks, this judge, this day. No clear difference is not proof the section does
nothing. Length changes too, and sections can matter together.
Section matching and limits.
# Diff two receipts across a model release into a drift report (markdown)
npx driftproof diff receiptA.json receiptB.json --out drift.md
# Validate a receipt against the schema + verify its self-hash
npx driftproof validate receipt.json
# Emit a shields.io badge from a receipt (see "Badge", below)
npx driftproof badge receipt.json --out badges/my-skill.json
# Interop: convert another tool's results into a DECLARED receipt (honest
# epistemics — no fabricated hashes, excluded from drift verdicts), and emit
# the minimal stable summary other tools can consume. See docs/interop.md.
npx driftproof import results.json --from agent-skills-eval # or: skillgrade
npx driftproof import evals/results/<timestamp>/ --from claude-plugin-eval # or: skill-creator
npx driftproof export receipt.json --to summary-json
# One self-contained HTML page from a folder of receipts: each result in plain
# words, its band plot, and whether it is up to date. It opens from disk and
# loads nothing from the network.
npx driftproof view receipts/ --out results.html
# Write a printable result with its limits. Add --suite only to include private
# task text and scoring guides. Full tasks follow in an appendix without cuts.
npx driftproof sheet receipt.json --suite evals.json --out result.html
# Try identifying the file's kept answer in each pair, in a terminal.
npx driftproof blind receipts/receipt.jsondriftproof view adds a table to each receipt sheet. driftproof diff --lift-breakdown adds separate tables for the two receipts. Without the flag, diff output stays unchanged. Each case shows the with-skill and baseline means, the sample spread across answers, their difference and the measured and lost draw counts. Downward cases are listed when their separation holds under the existing rule.
The figures use recorded draw scores and give each included case equal weight. Removing a case recomputes both arm means from the remaining cases. The table shows the resulting lift. It says a case carries the positive measured lift only when removing it leaves zero or negative lift, decided before reporting rounds the figures. This describes the retained scores, not future answers.
The breakdown is shown where evidence and eligibility permit; otherwise it states why unavailable. Legacy receipts without draw records, failed arms, incomplete evidence, contradictory counts and unlike grading cannot supply all comparative answers. Lost scores are excluded from the arithmetic and keep their existing bounds on separation. A shared lift is not attributed to a single case.
There is no model call, receipt edit or new receipt field. Existing verdicts, bands and published numbers stay unchanged. Breakdown work supports receipts up to 2 MiB, 128 cases and 64 draws per arm. Identifiers and report labels may use up to 256 UTF-8 bytes. Other strings, nesting, node count and rendered sections also have limits; unsupported evidence gets an explicit reason. These limits apply after existing receipt loading and do not bound folder traversal.
Receipts are an open format — the JSON Schema is served at its canonical id
(driftproofhq.com/spec/receipt.schema.json),
and any harness is encouraged to emit them. The interop contract (DECLARED vs
TESTED, import mappings, summary-json) is documented in
docs/interop.md and on
the interop page.
Imported run errors redact quoted local paths, including a folder name with an apostrophe followed by a space. A suffix containing a slash or backslash is redacted with the path. A suffix with neither separator can still remain.
A skill directory is expected to look like:
my-skill/
SKILL.md # the skill instructions (required)
evals/evals.json # agentskills.io/evals suite (required)
.driftproofrc # optional run defaults (models, max_usd); samples, max_cases
# and judge_model are read only from the working directory's rc
# (the GitHub Action reads no working-directory rc at all)
... # any bundled files (contribute to content_hash)
Writing a suite that measures fairly is its own craft — see AUTHORING.md (site).
driftproof inspect <file.md | skill-dir | -> [--json] reads local instructions
offline and points out fixed text patterns worth a look. A skill directory also
gets a list of bundled file names and sizes; their contents are not scanned.
Token and input cost figures are estimates for the input text only, per 1,000
calls at registered prices. Nothing is run or fetched. Text is limited to 2 MiB.
This reads only the text given here, and a clean reading is not a guarantee: when
your assistant loads a file it can also pull in other files or fill in values that
this check never saw. The checked patterns
are published with the module.
driftproof lint-suite <skill-dir> [--receipts DIR] reads the same suite as
run and prints an advisory JSON report. It runs offline, makes no model calls
and writes no receipts or verdicts. Every case appears with its evidence and a
short explanation. Findings exit 0. Invalid input exits 2; a failed receipt seal
or schema exits 4.
Prompt advice uses the longest common contiguous Unicode word run, divided by the larger prompt word count. It reports identical nonempty sequences, or at least five shared words at a ratio of 0.8 or more. Repeated words may repeat coverage. This check does not measure semantic equivalence.
Answer advice quotes supplied answer text in rubric or criterion fields, or a
field that names a possible answer. The loader can use expected as a rubric
fallback. Model exposure was not checked.
With --receipts, history requires compatible, sealed TESTED receipts for the
current skill, suite and rubric. All contributing model and judge identities
must agree. Both arms need complete measured draws with matching counts and
thresholds. Missing or contradictory evidence is reported as a notice.
Ceiling and floor findings mean no recorded pass/fail separation in these
receipts. Scores may differ; future runs may differ. Regrades are recorded
observations. A seal shows integrity since sealing, not authenticity.
Without receipts, history is explicitly not checked. No findings means these checks found none. Large inputs refuse before reporting, with named file, work or output limits. JSON strings escape controls in case names, matches and receipt filenames.
CLAUDE_PROVIDER |
surface | notes |
|---|---|---|
cli (default) |
claude-cli |
Spawns claude -p with ANTHROPIC_API_KEY stripped from the child env, so dev runs use your local subscription session. Sampling params are surface-controlled. |
api |
api |
Uses the Anthropic Messages API; requires ANTHROPIC_API_KEY and @anthropic-ai/sdk. Judge calls are pinned to temperature 0 for determinism where the surface allows it. |
The surface and judge settings used are recorded in every receipt.
A SKILL.md you did not write is instructions to an agent that has tools. On
the two cli surfaces driftproof therefore never runs claude or codex as you.
Every spawn goes through a hop to a dedicated unprivileged unix user, from an
empty environment:
/usr/bin/sudo -n -u driftproof-eval /usr/bin/env -i HOME=<its home> PATH=<its ~/.local/bin>:/usr/bin:/bin bash -lc '<wrapper>' driftproof-eval-hop claude -p ...
Only HOME and PATH reach the child, both constructed from the user name, none
copied from your shell. The working directory is a fresh temp directory made for
that one call and removed after it, including on timeout. The CLI argv is passed
as separate arguments, never as a shell string. With the prerequisite below done,
including step 4, which closes your home to other users, and without
--trusted-skill, the evaluated agent cannot see your environment (tokens,
keys), anything stored under your home directory (SSH keys, CLI session files,
CLI configuration kept there), or your current directory when it is inside your
home.
Operator prerequisite, set up once. The hop is for Linux: the user's home is
/home/<name>, the path driftproof builds from the user name. That user has a
mode-700 home and no extra groups, its own logged-in claude and codex under
~/.local/bin, and a sudoers rule that lets you run commands as it, and only as
it, with NOPASSWD. Your own home is closed to other users. DRIFTPROOF_EVAL_USER
names the user (default driftproof-eval); the name must match
^[a-z_][a-z0-9_-]{0,31}$, and it must not be root or your own account. Without
that account a run fails at once, before any call, and says so. A name that is
root or your own account is refused the same way. The runner does not check that
your home is closed: step 4 closes it and step 5 checks it, by hand. With the
default name:
-
Create the user with a mode-700 home and no supplementary groups:
sudo useradd -m -s /bin/bash driftproof-eval sudo chmod 700 /home/driftproof-eval
-
As that user (
sudo -iu driftproof-eval), installclaudeandcodexunder its~/.local/bin. Then runclaudeand complete its login, and runcodex login --device-auth. Their session files live in that user's home, unreadable to your account, and yours are unreadable to it once step 4 has closed your home. -
Let your account run commands as that user only, with no password:
echo "$(id -un) ALL=(driftproof-eval) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/driftproof-eval sudo chmod 440 /etc/sudoers.d/driftproof-eval sudo visudo -cf /etc/sudoers.d/driftproof-eval
-
Close your own home to other users. Run it as yourself, not with
sudo, afterecho ~prints your own home directory: withHOMEunset or set to/,chmodwould change the wrong directory.echo ~ chmod 700 ~
Other local users, the eval user among them, can no longer list your home or open anything in it; you keep full access. Files stored outside your home are not covered, and neither is the target of a symlink in your home that points outside it. Keep SSH keys and CLI configuration under your home, or close them where they are.
-
Check the boundary by hand before the first run, or run
driftproof doctor. Add--jsonfor a report on stdout. Doctor makes no model calls and changes no accounts or permissions. The existing hop uses a temporary directory. Doctor flags credential-shaped variable names in the hop's environment, not every name from your shell, so the manual check is the stricter one. From an empty environment the user'senvmust list no variable from your shell, and both CLIs must answer:H=/home/driftproof-eval; sudo -n -u driftproof-eval /usr/bin/env -i HOME=$H PATH=$H/.local/bin:/usr/bin:/bin bash -lc 'env; claude --version; codex --version'
Then check, as the eval user, that your home is closed. Your shell expands
"$HOME"to your home beforesudoruns, andLC_ALL=Ckeeps the error in English. Each command must fail and printPermission denied. If either one lists anything, step 4 is not in effect.sudo -n -u driftproof-eval env LC_ALL=C ls "$HOME" sudo -n -u driftproof-eval env LC_ALL=C ls -d "$HOME/."
--trusted-skill runs the legacy same-user path instead: your environment
and your CLI login. Each call runs in a new empty folder and loads no project or
personal instruction files, memory, hooks or Claude Code settings. Codex still
reads its own config file, and with --capture files that file can still turn on
Codex's own hooks or memory. So a rules file you measure is not in the baseline
too. It exists for exactly one case, a skill you authored
yourself on a machine with no eval user. Never pass it for a skill fetched from
anywhere else. The api surfaces are unaffected either way; they make HTTP calls
and spawn nothing.
Sampling multiplies calls on two axes, and the second one is easy to miss. Each
case costs SAMPLING.max × (2 + 2 × samples) model calls: two arms, each drawn
up to SAMPLING.max times (generation sampling, receipt spec v0.5), and every
draw judged samples times. Read at a single draw, that formula understates a run
by the whole draw factor — which is how the shipped caps came to sit a release
behind the estimator. Driftproof projects the whole run up front, prints the
count, and refuses before spending anything if the projection exceeds the
per-model call cap (DEV_MAX_CALLS) or the dollar budget (DEV_MAX_USD) — both
declared with their derivation in config.js, both overridable with
--max-calls / --max-usd. The default model list is haiku only.
Save a copy of your instructions, test tasks and run settings before an update:
driftproof recheck init ./my-skill --models haiku --out recheck/
driftproof recheck run recheck/
driftproof recheck history recheck/For a rules file, use driftproof recheck init rules.md --suite tasks.json.
For a skill or rules file you wrote yourself, --trusted-skill on init saves that
the tests run as you, on your own CLI, with no isolation account, as
run --trusted-skill does. Give --trusted-skill to each recheck run of that
folder too, because a folder never carries that trust by itself. A folder saved without it refuses the
flag, because results from different lanes are never compared.
A recheck compares with its first run, so "since last month" works
only if you ran a recheck last month.
Init makes local copies and calls no model. Run uses those copies and refuses
changed files or settings. Run it again later to keep another dated receipt.
History compares each result with the previous and first result for that model.
It shows the recorded judge and harness, and keeps incomplete runs as not measured.
A separation between dates cannot be attributed to the model, the harness or chance.
Use --json for the history data or driftproof view recheck/receipts
to see the saved results. Nothing is published by these commands.
driftproof run <skill-dir> takes three options that set how much it measures.
/driftproof:run passes --models, --max-calls, --max-usd, --quick,
--suite, --placebo, --keep-transcripts and these three on to run, and
refuses any other option.
--quick sets these three itself, so it is refused beside any of them, in the
command and in the plugin.
With one --case, --quick takes the first look at that test task instead of the suite's first.
| option | what it sets | default |
|---|---|---|
--samples N |
how many times the judge scores each answer | 5 |
--concurrency N |
how many case and arm pairs run at once | 1 |
--max-cases N |
run only the first N cases of the suite | every case |
--case ID |
run only the case with that id; repeat it for more. The cases run in suite order, and a run of fewer cases than the suite gets no verdict. Command only; refused beside --max-cases |
every case |
The first three each take a positive whole number with no leading zero. A value that is not
one is refused before a call is made, in the command and in the plugin. The
working directory's .driftproofrc can set the same three as samples,
concurrency and max_cases.
The GitHub Action reads no working-directory .driftproofrc.
A skill directory's .driftproofrc may not set
samples or max_cases; they are ignored there, with a note. When the working
directory is the skill directory, its .driftproofrc is the skill's, so
samples and max_cases are ignored there too.
driftproof run also accepts --timeout <seconds> for every generation and
judge attempt on every surface. Give a positive integer with no leading zero,
within Node's timer bound, shown by driftproof --help. A call that reaches its
own time limit is not retried: its draw is recorded unmeasured and the run goes
on. Only an error whose text names a rate limit (429), a timeout the provider
itself reports, or a dropped connection is retried, up to three more times, each
after a longer wait; a repository run retries nothing. The receipt seals the setting as run.timeout_ms, in
milliseconds. Without the flag, each surface keeps its current default.
The flag works with --quick and keeps its sampling and UNVERIFIED level.
Add --preview to a text run, for example driftproof run my-skill --preview.
It shows the text fingerprint, tasks and grading guides, destinations, estimated
calls and cost, and what would be kept. It makes no model call and writes no run
files. --preview --json gives the same facts as JSON. The preview may look up
the local isolation account. It cannot tell you what a vendor CLI connects to or
logs, or how a provider keeps your data.
While a run works it prints one line to stderr when a draw's answer has been generated, and one when all of that draw's judge calls have finished together. A line says how many calls have been made, the fewest and the most the run can make, the time so far, the time left as a range, and the case, arm and draw it has just finished:
progress: call 1 of 18 to 60 · 4s elapsed · about 1m 08s to 3m 56s left · commit-format / with_skill draw 1: generation done
progress: call 3 of 18 to 60 · 8s elapsed · about 40s to 2m 32s left · commit-format / with_skill draw 1: 2 judge calls done
These are example lines for a suite of one case judged twice (--samples 2);
the times are an example, not a measurement. The calls and the time left are
ranges because each arm is drawn between a fewest and a most number of times,
and the runner does not know which until the arm stops.
When the model that is being measured is also the judge, run and regrade
print a warning to stderr before any call:
! WARNING: the judge is the target model, claude-haiku-4-5.
! The model that wrote each answer also grades it.
! To grade with another model, pass --judge-model <id>, or set judge_model in the working directory's .driftproofrc.
The GitHub Action reads no working-directory .driftproofrc.
The warning does not stop the run. With no --judge-model and no judge_model
in the working directory's .driftproofrc, the target is the judge, so the
warning appears. /driftproof:run has no --judge-model option, so there the
.driftproofrc is how you name another judge. A skill directory's cannot name
one, and neither can the working directory's when it is the skill directory.
--capture text|files says which answer the judge sees. It can also be set as
capture in the working directory's .driftproofrc; a skill directory's is
ignored, and so is the working directory's when it is the skill directory.
The GitHub Action reads no working-directory .driftproofrc.
The default is text. /driftproof:run has no --capture option. The receipt
records the mode, and run prints it:
answer capture: text (file-writing tools off; the reply is the answer)
answer capture: files (the files the child wrote in its working directory are judged with its reply)
textgrades the reply. On a cli surface the child runs with no tool that writes a file or runs code. Claude is given only the toolsRead,WebFetchandWebSearch, so every other tool is off, and it loads no MCP server.codexruns in itsread-onlysandbox with the features inCODEX_TEXT_OFF(lib/capture.js, a list of the ones that write a file or run code in one codex release) switched off, and no MCP server. A feature a newer codex adds is not switched off by name.filesgrades the reply together with the files the child wrote in its own fresh working directory, for both arms. Claude is givenRead,Write,Edit,NotebookEdit,WebFetchandWebSearch, with edits accepted and no tool that runs code.codexruns in itsworkspace-writesandbox with no feature switched off, so it may run code there. After the child exits, every regular file there is named in path order. The first 50 are read, each whole when it is UTF-8 text of at most 65536 bytes, and at most 262144 bytes together. Every file not shown is named in the judged answer with its reason. Files capture needs a cli surface: on the api surface the run is refused before any call.
In either mode, an answer that points at a file the judge is not shown, or only describes work, is a lost draw and is never scored.
Run driftproof overlap <skill-dir> to report each case's longest consecutive prompt words in one bundled file, with its file and starting line. The searched bytes are the same SKILL.md and bundled files the skill loader accepts, outside evals/. Bundled receipts are searched as bytes; the command does not interpret receipts or consult receipts outside the accepted input.
Files use UTF-8 decoding with replacement for malformed bytes. A leading BOM separates words; UTF-16 is not detected. Unicode letters, combining marks and decimal digits form words. Words use NFC normalization and lowercase comparison. Punctuation and whitespace separate words. Matches may cross lines, never files. Ties use UTF-8 path byte order, then file word position, then prompt word position.
This offline command makes no model call, writes no receipt and moves no verdict. It does not prove contamination or its absence, explain measured lift, or vouch for a suite. A zero count says only that this word comparison found no shared words. Unnamed skills use the loader's directory name, so differently named aliases can change that name.
Required files must be regular. The loader bounds bundled bytes and raw suite bytes before reading. Overlap additionally refuses more than 250,000 bundled words or 1,000,000 prompt words across the suite. A refusal exits 2 with a bounded escaped reason and no report. Successful stdout is JSON with one ordered row per case, including zero results.
driftproof plan reads your full suite offline. It writes no receipt and moves
no verdict. With compatible earlier receipts, it reports conditional resolution
and hypothetical generation draw targets under the verdict's spread rule.
Spreads held. Recorded provenance must still hold, including generation and
judge surfaces, harness version, isolation and grading identity. Planning
cannot certify currentness offline. The runner may stop before any target,
even a target within its adaptive ceiling. A plan promises no next-run verdict.
Power cannot be judged until spread is measured. Start cheaply with a real smoke run, then use its receipt:
driftproof run ./my-skill --quick --models haiku --judge-model sonnet
driftproof plan ./my-skill --model haiku --judge-model sonnet --from receipt.json
driftproof plan ./my-skill --model haiku --judge-model sonnet --from receipt.json --lift 0.05 --draws 10 --samples 2Use the same model and judge as the receipt. Repeat --from for separate
receipts. Every supplied receipt must be sealed, valid and compatible. Each
case selects the newest paired evidence by generation instant, grading instant,
then greatest receipt hash. Draws are never pooled across runs or regrades.
Missing, single or lost draws leave power unknown. Synthetic receipts are
labelled and do not measure model power. One current case left unknown keeps
the full-suite power unknown. The observed suite band stays visible; the planner
does not invent a target number of extra cases or promise that more cases help.
--samples sets judge samples per answer.
--draws sets generation draws per case per arm for the projection. It is a planner flag; run keeps its adaptive
policy. Defaults use run's built-in target, judge sample count, effect floor and
adaptive draw ceiling. Plan ignores .driftproofrc defaults and spending flags.
A requested --lift below the verdict effect floor is unsupported; more draws
cannot change that rule. Strict draw recommendations are hypothetical with
spreads held, including when the requested judge sample count differs from the
evidence. Counts that cannot be represented safely have no numeric target.
Projected calls use the same two-arm cost model as run. Only the default policy call ceiling is an upper bound for ordinary adaptive execution under that policy.
USD is a rough token-assumption cost estimate at registry API prices; actual charges can exceed it. Fixed input/output tokens per call are 3000/900 with the skill, 250/900 for baseline generation and 1300/200 for each judge sample. This is not an invoice or a subscription billing prediction. Retries and auxiliary harness calls are excluded. Long prompts can exceed the fixed token assumptions. Plan makes no provider or harness call.
A receipt is the unit of evidence — one JSON document conforming to
spec/receipt.schema.json (human companion:
spec/RECEIPT.md). Abridged, with real shape:
Key ideas:
content_hash/suite_hashare computed over a canonical JSON form, so the same skill and suite hash identically on any machine — receipts are comparable.- Per-case
samples/mean/stddevgive each case a band, a descriptive spread of one sample standard deviation. Anoutcomeofborderlinemeans the pass threshold sits inside the band — the run can't confidently call it pass or fail. delta_uncertaintyis the combined band on the with-skill-vs-baseline lift.verification_leveluses the community lattice:UNVERIFIED/DECLARED/TESTED(Driftproof emitsTESTED).FORMALis reserved.economicsis derived, never a second measurement: the token delta is the durable fact, and the dollars are exactly those tokens at the rates frozen intorun.pricing_snapshot, so a receipt keeps its meaning after a vendor reprices. Judge cost is recorded apart asjudge_usageand excluded from every skill-value figure (judge_excludedisconst true) — measuring the skill is our cost, not the skill's.receipt_hashis a self-hash for tamper-evidence (integrity, not yet a key signature; see the spec's open questions). A hash is not a signature: it does not authenticate who wrote the receipt, and it does not prove a model ran.
driftproof diff A.json B.json compares the with-skill bands per case across two
receipts. The rule that keeps it honest: a regression (or improvement) is
claimed only when the two bands do not overlap. Overlapping bands are reported
as no separation detected at the sample size used: never counted as a
regression, and never evidence that nothing changed.
The runner records the model's best-effort release date from the model registry. A registry row without a release date records null.
Copy this workflow into .github/workflows/ and add an ANTHROPIC_API_KEY repository secret. It finds changed skills and rules files, runs their test cases on Haiku 5.5, and updates one receipt table on each push. API calls are billed to your provider. No subscription login is used.
# SPDX-License-Identifier: Apache-2.0
name: Check skills and rules
on: [pull_request]
permissions:
contents: read
pull-requests: write
concurrency:
group: driftproof-pr-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
persist-credentials: false
- uses: driftproofhq/[email protected]
with:
api-key: ${{ secrets.ANTHROPIC_API_KEY }}
placebo: 'true'
max-usd: '20'
fail-on-regression: 'true'
fail-on-fake: 'false'The workflow pins a release. Update the pin when you choose to adopt a newer release. Skills need evals/evals.json in their folder. Rules files need evals/evals.json beside the file; files in the same folder share those cases. Files without cases are listed as not measured. npx driftproof init <skill-folder> adds starter cases for a skill. Review the cases before trusting a reading.
The budget and per-model call cap are shared across changed files. A fork runs no measurement because GitHub withholds secrets. Its job summary says so; GitHub may also block its comment. A failed or unverifiable run fails the check. The table links to the job's receipt artifact, which follows GitHub's retention period.
fail-on-regression is on by default. fail-on-fake is off by default: turn it on to fail on worse than the fake, never on no better than the fake. The example enables the fake arm with placebo. Set models to select other registered models. For OpenAI models, also pass openai-api-key: ${{ secrets.OPENAI_API_KEY }}. Neither a green check nor a stub result proves the file helps. The table uses the same reading words as the badges. See the check contract.
To check one file or skill explicitly, set skill-dir and, for a rules file, suite. The following details also cover that mode.
The action runs the suite on every id in models, writes one receipt per
model, uploads the whole receipt directory as a build artifact, and renders the
run on three surfaces: the badge, a job summary carrying one row per
requested model, and the check title of the enforcement step.
For a pull request that edits your rules, set compare-with-base: 'true' with a Markdown skill-dir and a suite. The Action compares the base branch's file with the new file on the same tasks and settings. The comment includes the comparison, both file lengths and hashes, and the limits of two sequential runs. The artifact keeps both versions' receipts and compare.md; compare_reading holds the comparison headline. Job decisions still use only the new file against no rules. A missing base file, unchanged bytes, an unavailable base branch or an event other than a pull request gives a notice and runs the new file alone. See the offline workflow and comparison contract. Stub receipts measure nothing.
The checkout's .driftproofrc is not read. The action starts the run in an
empty working directory, so no key of a .driftproofrc at the repository root
is read, and a skill directory's .driftproofrc may not set max_cases,
samples or judge_model. Both files are pull-request content, and a pull
request may not narrow the run that measures it. The run takes its models and
caps from the inputs above.
The decision is taken over every receipt the run produced. Each requested
model gets one decision state, and the run's verdict is the worst of them —
worst first, in this order:
verdict |
decision state | when |
|---|---|---|
REGRESSED |
regression | measured, and the skill hurt: delta <= -EFFECT_FLOOR |
REFUSED |
refused | a requested model produced no readable receipt |
INCONCLUSIVE |
inconclusive | the run did not complete, or carries no numeric delta |
NOT_MEASURED |
not measured | the receipt is below TESTED, or nothing in it says a model answered |
UNDERPOWERED |
underpowered | measured, no separation detected in any case, and a case could not resolve the floor: Not enough draws to conclude at this effect floor |
NO_EFFECT |
no detected effect | measured, and |delta| < EFFECT_FLOOR |
PASSED |
helped | measured, and the skill helped: delta >= EFFECT_FLOOR |
So on a multi-model run a regression on any one of them governs the verdict, and the badge names the model it came from. Earlier releases decided the job from whichever receipt's filename sorted first, which is a property of the model id and not of the run — so if a Driftproof check was ever green on a multi-model run, that result was only ever about one of your models, and is worth re-running before you rely on it.
What fails the job. fail-on-regression governs regression verdicts
only: set it to 'false' and a measured regression warns instead of failing.
REFUSED is not a verdict about your skill — it is the run failing to produce
one for a model you asked for — so it fails the job whatever
fail-on-regression says. A workflow that sets fail-on-regression: 'false'
to keep the check non-blocking can still be failed this way, deliberately: a
model that was not measured did not pass. INCONCLUSIVE and NOT_MEASURED do
not fail the job on their own — a run that could not measure is not evidence that
the skill hurt — but they never render as success on any of the three
surfaces: not in the badge, not in the summary row, and not in the check title,
which carries a ::warning naming the state and the models it came from.
fail-on-underpowered governs the decisions that measured and did not
resolve, and its default is 'false': they then warn and do not fail the job.
They are every UNDERPOWERED decision, and an INCONCLUSIVE one whose reading
does not hold for every score its lost draws could have had. Set it to 'true'
and each such model fails the job with one ::error that names the model. For an
underpowered model it says how many draws per arm it would need, or that no draw
count would resolve it at its spreads, or, when draws were lost, which ones and
that no count is given. For an inconclusive model it names the lost draws. A
comparison marked unreliable by fake tool calls is one of these too, since those
replies are lost draws. It warns by default and fails under this input. An
INCONCLUSIVE run that did not complete, and NOT_MEASURED, still do not fail
the job on their own.
A receipt set that does not say one thing is REFUSED as well. Two receipts for
one requested model, or a receipt with two rows for one case and arm, fail the job
naming the files or the case, because a decision that depends on which one was read
is not a pass. Each invocation of the Action writes to its own directory and uploads
its own artifact, so a job may run it more than once, one skill per step.
Step outputs: verdict, delta (of the model the worst decision came from; n/a when no reading is available),
worst_state, regressed_models, missing_models, receipts_dir and
artifact_name. Each is described in action.yml.
The pull request comment. On a pull request, the Action posts one comment
with the result in plain words and edits it on each run, so the thread holds
one comment for the automatic check, or one per explicit skill, across pushes. It is on by default; set
pr-comment: false to turn it off. It needs permissions: pull-requests: write
in the job. A pull request from a fork gets a read-only token; then, as on any
error from the GitHub API, the Action writes one notice, posts nothing, and the
run's result is unchanged. The comment never fails or blocks a run. The job
summary opens with the same sentence, above the table.
For a free CI dry-run with zero model calls, set DRIFTPROOF_STUB=1 in the job
env — the runner returns canned receipts so the wiring can be tested without spend
(this is exactly how the action's own
self-test runs). A stub receipt says what
it is: verification_level UNVERIFIED, run.surface stub,
run.answered_by.kind stub, and the verdict on it is NOT_MEASURED — it proves
the wiring, never the skill, and the badge, the summary row and the check title
all say so rather than exiting quietly green.
That self-test is also the proof behind the Action's input hardening, and it
is worth saying exactly which surface that covers. On every CI run the Action
self-test sends one hostile value through each of the Action's seven tested inputs: a
quote, a semicolon, $(...), a backtick and a newline, on the real runner, and
the Action fails unless every one of them is refused before anything ran, so a
green check there is a claim you can read rather than one you have to take.
Those refusals live in action/lib.sh, and what they protect is the Action
surface. The CLI has carried its own input contract at its own door since
0.9.0 — the same rules, held identical to the Action's by the gate — so
npx driftproof refuses a malformed cap or model id before it projects a run.
Neither statement covers the other. Said of the Action, of CI, or of the runner, "hostile input is refused" is only ever true of the one surface it was measured on.
driftproof stale says whether each receipt's conclusion still stands under the model, harness,
capture mode, skill, suite and judge that would run today. The capture mode that would run is
--capture, else capture in the working directory's .driftproofrc, else text.
The GitHub Action that runs a suite reads no working-directory .driftproofrc.
The stale Action runs driftproof stale in the workspace, so it reads that workspace's .driftproofrc.
A rubric or pass-threshold edit lists the affected cases for regrade when the receipt
proves that all case prompts and their order are unchanged. A changed prompt, case
added or removed, or missing evidence still requires a rerun. Old receipts remain
valid and keep that rerun answer. For a rubric regrade, keep the original skill and
suite, pass the revised suite with --rubric, and supply the retained answers.
The executor grades all eligible saved answers and checks the original grader.
The staleness check runs driftproof stale on a schedule in your
repository. While any receipt needs a rerun or a regrade, one issue labelled driftproof-stale lists
each one, what moved, and the command to run next. Later runs update that issue, and the first run
that finds everything current closes it. It makes no model call and needs no API key.
Copy examples/workflows/driftproof-stale.yml into
.github/workflows/. It runs weekly and on demand, with these permissions and no others:
permissions:
contents: read
issues: write
# ...
- uses: driftproofhq/driftproof/[email protected]
with:
receipts: receipts/**/*.json
skill: skills/my-skill| Input | Default | What it does |
|---|---|---|
receipts |
receipts/**/*.json |
Glob of receipt files, one per line for several. |
skill |
none | The skill directory as it is today. Without it, the skill axis reads unknown. |
suite |
the skill's evals/evals.json |
The eval suite file. |
model, judge |
.driftproofrc |
The model and the judge that would run today. |
harness-version |
latest |
A Claude Code version, latest (read from npm), or none (not checked). |
strict |
false |
Count an unknown axis or an advisory as stale. |
fail-on-stale |
false |
Fail the job while anything is stale. |
open-issue |
true |
Keep the issue. |
issue-label |
driftproof-stale |
Give each check its own label to keep separate issues. |
github-token |
the workflow's token | Used for the issue only. |
The job fails on an error, such as a receipt that does not validate, and on stale only when
fail-on-stale is 'true'. A patch release of the harness alone (2.1.280 to 2.1.281) is an
advisory: the job summary reports it and nothing fails. An axis that cannot be known is reported as
unknown, never as current. Outputs: result (current, advisory, stale or error),
stale-count, issue-number and report-dir.
The CLI's stale --help lists exit codes. Exit 3 covers an unknown value, a newer
model or a patch release of the harness; --strict turns it into exit 1.
driftproof badge <receipt> emits a shields.io endpoint
JSON object. Commit it somewhere public and point a shields endpoint URL at it:
npx driftproof run skills/my-skill --models claude-haiku-4-5 --out receipts
npx driftproof badge receipts/my-skill-claude-haiku-4-5-2026-11-09.json --out badges/my-skill.json
git add badges/my-skill.json && git commit -m "chore: driftproof badge"badge takes one receipt, or one directory. Given several files it refuses in one line
and picks none, so name the newest receipt yourself. validate takes any number of
files, reports each one, and fails if any of them does.
A directory badge refuses with exit 2 if any receipt is unreadable. It names the
file and emits no badge, even when --models names only readable receipts.
The badge at the top of this README
is the living demo: it is generated
from the commit-message-conventions example's own receipt and served from the
site, so it reflects a real dated run, not a hand-set color.
driftproof card <receipt> draws one receipt as an SVG card, 600 by 315, to commit
beside a badge or paste into a post. It shows the result in the words
driftproof view uses, the skill, the model, the run date, the band plot and the
receipt's short hash. A lift is printed only for a state that measured one. The
card loads nothing: no script, no image, no font file.
npx driftproof card receipts/my-skill.json --out badges/my-skill-card.svg--href URL makes the card a link. A receipt whose hash does not verify is refused
with exit 4, and --out never writes over a file the command did not write.
Nineteen reports are published, spanning ten report types. A report page lives at a
draft path — docs/reports/NNN-draft/ — until the publish sequence renames it, and
scripts/build-public.sh excludes every *-draft/ path from the published tree
(see the roll below, and
REPORT-STYLE.md for the shared chrome every report inherits).
Each report and every verdict in it are re-derived from the receipts committed
under receipts/
(receipts/report-001/ … receipts/report-006/) — nothing is hand-entered.
Report #010 takes no Driftproof measurement and has no receipts: it is re-derived
from the upstream harness's output files, published beside its page.
Report #021's receipts are on Zenodo; their hashes and links are in
receipts/report-021/.
📊 Nineteen published reports (each re-derived from committed files, nothing hand-entered: Driftproof's receipts, or for Report #010 the upstream harness's own output), spanning ten published report types, the newest being rules-file quality. Reports that measure with Driftproof retain its correctness reader. The rules-file behaviour report also compares output tokens and code with paired task intervals, and the placebo comparison report reads each skill against a same-length text from a fixed corpus:
- Report #001 — release drift: ten public agent skills across a current-vs-previous Sonnet release; 9 of 10 showed a separation detected under the rule. (markdown)
- Report #002 — substrate durability: the same suites across two vendors' CLIs (Claude vs Codex); 3 durable, 4 substrate-dependent, 2 regressed, 1 no effect.
- Report #003 — release drift:
claude-opus-4-8→claude-opus-5; 4 improved, 2 regressed, 4 with no separation detected. - Report #004 — capability gap:
claude-opus-5(flagship) vsclaude-fable-5(frontier tier); 3 durable, 5 tier-dependent, 0 regressions, 2 no effect — encoded expertise survives the frontier tier. - Report #005 — value: what a skill
costs to run, on three axes (accuracy, cost, latency); the same ten suites on
three substrates (
claude-sonnet-5,claude-fable-5,gpt-5.6-sol) — 14 of 30 cells cleared the floor on aggregate: 10 carry a price and 4 report a saving instead, having improved quality while reducing cost. Three of those cells carry an amendment (v1.1, applied when Report #006 published): their lifts rest on single-draw baselines since shown unstable. Cause-agnostic, no corrected figures offered, and the cost-driver and substrate-disagreement findings below are unaffected. - Report #006 — revision drift: the pinned skill revision against the one upstream ships today, on a held substrate. The reuse premise was tested and refused: 3 of 3 cells returned no verdict, each blocked by its own baseline control. A 120-call probe found generation-level sampling noise 3.2× and 7.5× larger than the judge-level noise this instrument actually samples — enough to account for every gap the controls saw without any other cause being established — and the receipt spec gains generation sampling as a result. No cause is asserted; the control proves non-reproduction and cannot say why. The tally a refusal carries: 3 cells, 0 measured, 3 refused.
- Report #007 — instrument
re-measurement: the three cells Report #005 published for these skills, run
again with the generation sampled adaptively instead of once and with the call
timeout the surface policy declares. No cell separates: every lift is
smaller than its own band, and the 21 cases read 3 improved, 0 regressed,
18 no effect, 0 not measured. Five of six comparisons against the archive were
refused on their baseline control. The instrument defect it reports is its
own: a declared 300 s timeout had been shadowed by a
120000literal since 2026-07-27, and the truncated run it caused measured less variance than the clean re-run, which is the direction that flatters an instrument. Both runs are published, the broken one as evidence. Amends #005 to v1.2 and #006 to v1.1. - Report #008 — release drift:
two of Report #007's cells re-measured on
claude-fable-5-1againstclaude-fable-5, with the skillcontent_hashandsuite_hashasserted identical before the first call. Neither cell showed a separation detected under the rule: the 14 cases read 0 improved, 0 regressed, 14 with no separation detected, 0 not measured, which is not evidence that nothing changed. The first release pair in this project where both sides are generation-sampled receipts, which is what makes the delta attributable to the model rather than to the instrument. One case sits inside the verdict on the effect floor alone and the report names it. - Report #009 — instrument
comparison: three skills from one plugin, one case each, measured by Claude
Code's native plugin eval and by Driftproof on the same SKILL.md bytes, task
prompts and rubrics. The two tools apply different treatments and grade
differently, so the report reads them side by side, ranks neither, and states
what each can and cannot establish. Both tools judged with
claude-opus-5, which departs from the judge policy, so its figures are not comparable with Reports #001 to #008. - Report #010 — instrument comparison: one skill's own behavioural eval from its upstream repository, run five times under each of two Claude Code configurations at one commit: 8 passed and 2 failed, both failures on one expectation the skill's ADR instructions do not state. No Driftproof measurement was taken and no Driftproof judge ran, and the report does not isolate what caused the variation.
- Report #011 — release drift:
Claude Opus 5.5 the day after its release, measured on Report #009's three skills and
cases, one case each, beside a fresh Claude Opus 5 arm on the same Claude Code
version. Read by the runner's own comparison of the with-skill arms, the three
skills read 1 with no separation detected and 2 with not enough draws to conclude
at the effect floor, which is not evidence that nothing changed. A second table
sets Report #009's own Claude Opus 5 receipts beside this run's; between them the
Claude Code version, its host build and the date all changed. Every draw was
judged with
claude-opus-5, which departs from the judge policy, so its figures are not comparable with Reports #001 to #008. - Report #013: release drift,
Claude Sonnet 5.5 the day after its release, measured on Report #009's three skills and
cases, one case each, beside fresh Claude Sonnet 5 and Claude Opus 5.5 arms on one
Claude Code version, every arm run three times. Read by the runner's own comparison
of the with-skill arms, Claude Sonnet 5 against Claude Sonnet 5.5 across the three
runs reads 2 separated upward, 3 with no separation detected and 4 with not enough
draws to conclude at the effect floor, which is not evidence that nothing changed.
Beside Claude Opus 5.5, the rule separates Claude Sonnet 5.5 on no skill in any run,
nine results in all, and five of those nine had too few answers to tell.
Every draw was judged with
claude-opus-5, which departs from the judge policy; its figures compare with Reports #009 and #011, not with Reports #001 to #008. - Report #014: release drift,
Claude Haiku 5.5 on its release day, measured on Report #013's three skills and cases,
one case each, beside fresh Claude Haiku 4.5 arms on the same Claude Code version, every
arm run three times; Claude Sonnet 5.5 and Claude Opus 5.5 appear as Report #013's own
receipts. Each receipt is read for what the skill added to the model that answered:
documentation clearly helped Claude Haiku 4.5 in two of three runs and Claude Haiku 5.5
in none, where all three had too few answers to tell; code review and git workflow
clearly helped neither Haiku model in two of three runs. Every draw was judged with
claude-opus-5, which departs from the judge policy; its figures compare with Reports #009, #011 and #013, not with Reports #001 to #008.
- Report #015: Skills.sh snapshot 2026-10-17: text tasks: three text tasks per skill, written by Driftproof from the pinned skill descriptions. Both model sets use Haiku 5.5 as judge. Eligible receipts carry their per-task verdicts and the report names the tasks behind them. The four router subjects have no verdict in this revision; the report amendment explains why. The eval account was checked before and after each run, not during it.
- Report #016: rules-file behaviour. Seven popular rules files against no file and same-length fakes. File-to-fake output comparisons: 6 haiku increases · 1 haiku unclear · 3 sonnet increases · 2 sonnet decreases · 2 sonnet unclear. These are behaviour changes, not correctness verdicts, on small tasks with injected instructions.
- Report #017: placebo comparison. Report 015's twenty skills on Sonnet 5.5, each against no skill and against a same-length placebo text, judged by Haiku 5.5. Of the 16 skills it counts, the placebo readings are 11 above the placebo · 3 below the placebo · 0 no difference · 0 inconclusive · 2 not enough draws · 0 not measured. A skill is above the placebo when, read one task at a time, it scored above the placebo on at least one task and below it on none; only that beats the fake. Where the fake scored below no skill, beating it does not mean beating no skill. The four routers have no verdict, as in Report 015.
- Report #018: placebo comparison. Report 015's twenty skills on Haiku 5.5, each against no skill and against a same-length placebo text, judged by Haiku 5.5, the same model. Of the 16 skills it counts, the placebo readings are 12 above the placebo · 2 below the placebo · 0 no difference · 0 inconclusive · 2 not enough draws · 0 not measured. A skill is above the placebo when, read one task at a time, it scored above the placebo on at least one task and below it on none; only that beats the fake. Where the fake scored below no skill, beating it does not mean beating no skill. The four routers have no verdict, as in Report 015.
- Report #019: placebo comparison. The same twenty skills on Fable 5.2, each against no skill and against a same-length placebo text, judged by Haiku 5.5. Fourteen are graded on the reply; the six that hand work to other skills or tools ran with tools on and were graded on what Claude Code ended up doing. Of the 20 skills it counts, the placebo readings are 10 above the placebo · 1 below the placebo · 3 no difference · 0 inconclusive · 6 not enough draws · 0 not measured. A skill is above the placebo when, read one task at a time, it scored above the placebo on at least one task and below it on none; only that beats the fake.
- Report #021: rules-file quality. With the file, Sonnet's tests caught every planted bug in 2.5% of attempts against 65.8% with no file (share of attempts that caught every bug), and caught 9.5 points fewer of the planted bugs, 85.3% against 94.8% (share of planted bugs caught).
✍️ The launch essay, Three model releases later: what actually happens to agent skills, reads all nineteen reports together: what moves underneath a skill, what the skill costs to run, and what a corrected instrument did to three published results. Revised 2026-10-07; every figure in it is gate-checked against the report page it cites.
📄 Paper · Reported, Not Measured: An Empirical Study of Measurement Defects in LLM and Agent Evaluation Tools. Version 2, 11 November 2026. Preprint, not peer reviewed. DOI 10.5281/zenodo.24136677; all versions 10.5281/zenodo.23050795.
Driftproof does not commit third-party skill content. Each SKILL.md is
fetched at run time from a pinned commit and verified by sha256 against
suites/manifest.json; we commit only the manifest, our
authored eval suites (suites/), the receipts, and the reports.
Reproduce Report #001 in three commands:
node scripts/fetch-skills.js # fetch pinned SKILL.md files (sha256-verified) → untracked workdir
node scripts/run-report-001.js --concurrency 5 # run both models × with/baseline, emit receipts
node scripts/build-report-001.js # re-derive the report from the receiptsReports #002–#005 have their own runners
(scripts/prepare-report-00N.js — Report #005's is
scripts/prepare-report-005.js) following the
same fetch → run → re-derive shape.
You can rebuild Report #005's published page from a clone of this repository,
byte for byte. You need Node 22 or later and npm ci. The rebuild makes no model
call. It reads only files the clone tracks: the receipts under
receipts/report-005/, the two inputs under
reports/report-005-inputs/ and the scripts. It
renders from the receipts that exist, and it refuses if one is missing.
git clone https://github.com/driftproofhq/driftproof.git
cd driftproof
npm ci
out="$(mktemp -d)"
node scripts/rebuild-report-005.js --render-only --published \
--receipts-label 'receipts/report-005/' \
--run-concurrency 2 --max-usd 40 --out-root "$out"
sha256sum docs/reports/005/index.html "$out/docs/reports/005/index.html"The last line prints two digests, and they match when the rebuild reproduces the
published page. On macOS, use shasum -a 256 in place of sha256sum. The page
has taken dated amendments since it was first rendered, and
scripts/rebuild-report-005.js applies each one
in the order it reached the page.
A hash is not a signature; it does not prove a model ran. A match shows that these scripts turn these tracked files into the published page. The receipts record what the run measured.
npm run gate runs this block from the out= line on, in the tree it is run in,
with model calls set to fail. It compares the two digests itself, and it checks
that the rebuild read only the tracked receipts. It also leaves one receipt out
of a copy of the tree and checks that the rebuild refuses. The publish script
runs that gate inside every tree it builds.
Reports are published by hand, and the release watcher is off.
scripts/release-watch.js is built to run daily from a timer
(deploy/driftproof-release-watch.timer); that timer is disabled at present, so
new model releases are not watched automatically. When the watcher runs, by
default and without a key, it compares the models a public model list names
(kept by scripts/refresh-models-cache.js) with the ones it has already seen.
That list is a third-party catalogue and can lag a vendor's own announcement by
hours; a key for the vendor's own model list takes it out of the path. The
watcher queues each new generative model for review, and marks any other new
model seen without queuing it. It then tries to prepare a draft report under TRIGGER_MAX_USD from config.js,
which needs the model registered in config/models.json and a run within that
cost limit on calls;
once a model is registered and its run fits the cost limit, that draft runs the
tests and calls the models. Registering a model and publishing a report are done
by hand, and nothing is published without review.
- A sandboxed-execution harness for tool-execution skills (document renderers, diagram/asset generators) that Report #001 scopes out.
- Signed receipts — key signatures / attestation over the canonical form
(today's
receipt_hashis tamper-evidence, not authenticity). - More import mappings — the interop wall (DECLARED vs TESTED) is built; adding a converter for another harness's results format is a small, well-marked PR (see docs/interop.md).
See CONTRIBUTING.md. The gate (npm run gate) must stay green.
Live repository mode uses the Claude subscription CLI with coding tools in a confined copy of a pinned starter. It retains the reply, captured text changes, tool evidence and omissions. Stub runs simulate this and prove no execution.
R-2 scores 19 tasks by hidden tests on the final workspace. Sonnet grades test quality separately; TypeScript stays judge-only. Sonnet judges both targets, with self-grading and observed judge errors disclosed.
Pause saves completed phases; a draw may be partly judged. Compatible resume
reuses saved work. See the operator procedure
for admission, limits and commands, and the
receipt specification
for the evidence contract. The admission probe includes one subscription model
call and requires --subscription-auth.
{ "schema_version": "0.16", "skill": { "name": "commit-message-conventions", "version": "0.2.0", "content_hash": "…sha256 over SKILL.md + bundled files…" }, "suite": { "format": "agentskills.io/evals", "suite_hash": "…", "case_count": 10 }, "run": { "model_id": "claude-haiku-4-5-20251001", "model_release_date": "2025-10-01", "provider": "anthropic", "surface": "claude-cli", "runner_version": "0.31.0", "date_utc": "2026-07-27T…Z", "registry": "registered", "transcripts": "hashes-only", "judge": { "samples": 5, "temperature": null, "sampling": "surface-controlled", "surface": "claude-cli", "model_id": "claude-haiku-4-5-20251001", "prompt_template_hash": "…sha256 over the grading template…" }, "answered_by": { "kind": "model", "attested": true, "reported_model": "claude-haiku-4-5-20251001", "reported_models": ["claude-haiku-4-5"], "isolation": "eval-user" } }, "results": { "cases": [ { "id": "perf-not-refactor", "mode": "with_skill", "outcome": "pass", "score": 0.86, "mean": 0.86, "stddev": 0.05, "samples": [0.9, 0.8, 0.85, 0.9, 0.85], "judge": { "model_id": "claude-haiku-4-5-20251001", "rubric_hash": "…" } } // …one entry per (case, mode); baseline entries too… ], "aggregates": { "with_skill": { "case_count": 10, "pass_count": 7, "borderline_count": 1, "mean_score": 0.81, "stddev": 0.02 }, "baseline": { "case_count": 10, "pass_count": 1, "mean_score": 0.42, "stddev": 0.03 } } }, "comparison": { "with_skill_score": 0.81, "baseline_score": 0.42, "delta": 0.39, "delta_uncertainty": 0.036 }, // v0.4 economics, all derived and never composited into one score: "run.pricing_snapshot" // freezes the rates; each case carries "usage" and a separate "judge_usage"; "economics" // holds basis, surface, with_skill/baseline (call_count, mean_input_tokens, // mean_output_tokens, mean_cost_usd_per_call, median_wall_ms + p25/p75/IQR), // skill_incremental_cost_usd_per_call, skill_incremental_cost_usd_per_1k_calls, // output_tokens_delta, median_wall_ms_delta, judge_excluded (const true), judge_overhead. "verification_level": "TESTED", "receipt_hash": "…sha256 of the canonical receipt with this field removed…" }