Benchmarks coding agents (Claude Code, Codex, Gemini CLI) on tasks mined from the user's own git history, scoring completion rate, cost per task, and change size against the repo's own tests.
Ships in harness-skills. 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.
Read when SKILL.md points to them; scripts run unread.
Public leaderboards measure someone else's code, and harness rankings barely carry over from one repository to the next. This skill runs coding agents on tasks taken from the user's own git history: past commits whose tests failed before the change and passed after it. Each agent gets the commit message as its prompt in a fresh copy of the repository, and the repository's own tests decide whether it passed. The result is a scoreboard of passes, dollars per pass, minutes, and change size. The scripts read the repository and send nothing anywhere; each harness sends the prompt and the code it reads to its model provider, as it does in normal use, and that costs money.
session-waste-report.regression-finder.runaway-guard.claim-check.<skill-dir> means the folder that holds this SKILL.md (Claude Code shows it as the skill's base
directory). Run every command from the root of the user's repository, with the skill path in quotes
as shown. Inside the repository the scripts write only into .harness-test-drive/, a folder that
ignores itself in git. Every check and every agent run works in its own temporary copy, deleted
afterwards.
Before step 2, for a repository the user did not write, recommend a container or VM. Step 2 runs the repository's test and setup commands at up to 31 commits on this computer. In step 5 each harness loads the repository's own agent settings (Gemini CLI with the copy trusted), edits files, runs the test command, and reads commit messages as prompts.
Find the test command and the candidate tasks. This reads git history and runs nothing:
python3 "<skill-dir>/scripts/mine_tasks.py" --repo .
It prints the test command it detected, or exits 2 asking for one. Confirm the command with the
user. Each check runs in a fresh copy with nothing installed, so when the tests need
dependencies, add a --setup-cmd that installs inside the copy: npm ci,
pnpm install --frozen-lockfile, or python3 -m venv .venv && .venv/bin/pip install -e . with
the test command .venv/bin/python -m pytest. Never install into the user's own environment.
Prefer a test command that runs offline and writes only inside the copy, so Codex's sandbox can
run it too. Done when the user has confirmed a test command and the report shows at least one
candidate, or you have told the user why there is none.
Check the tasks. For each candidate, in a fresh copy of the repository, the test command must fail at the commit before the change (with its tests added) and pass with the whole change, twice:
python3 "<skill-dir>/scripts/mine_tasks.py" --repo . --test-cmd "<test-cmd>" --validate
Add the --setup-cmd from step 1 when there is one. It first checks that the tests pass at HEAD,
then keeps up to 10 tasks (--max). Expect two to four test-suite runs per candidate and up to 30
candidates, so run it in the background when the suite takes more than a minute. Done when the
headline says how many tasks were kept. Exit 2 with "fails at HEAD" means the command or the
setup is wrong. The message ends with the test output. A missing module or command means the
clean copy needs --setup-cmd. Fix it with the user and rerun. Fewer than five tasks makes a
weak comparison; say so, and offer --since 730d for more history.
Choose the harnesses and show the estimate:
python3 "<skill-dir>/scripts/drive.py" estimate --tasks .harness-test-drive/tasks.json
It lists which harnesses are on this computer, the number of runs, and a dollar range per
harness. Ask the user to pick two or three. Done when the user has picked the harnesses and seen
the range for them (rerun with --harness to show only those).
Get an explicit dollar cap. This is the one skill in the set that spends money. Ask: "What is the most you want to spend in total?" and wait for a number; a number the user already gave counts, so confirm it next to the estimate. Never choose the cap yourself. In the same message, say:
--timeout, and a run cut off there is counted as an estimate, so the bill can
pass the cap by more than one run.--allow-unpriced gemini-cli, after the user agrees to that.--model codex=<id>; Codex never runs unpriced.Done when the user has given a dollar amount.
Run:
python3 "<skill-dir>/scripts/drive.py" run --tasks .harness-test-drive/tasks.json --harness claude-code,codex --max-usd <cap>
Add --allow-unpriced gemini-cli only when the user agreed to it in step 4, and --model only
for a model the user pinned. Each run can take up to --timeout seconds (900 by default), so
start it in the background and relay the progress lines. A harness that cannot run (an expired
login, an old version) prints a fix, such as "sign in: run claude once" or "upgrade Codex", and
its other runs are skipped at no cost. Every run is appended to
.harness-test-drive/results.jsonl; the same command resumes after a stop, retries runs that
could not run, and counts earlier spend. Done when the command exits 0 and prints the
scoreboard, and you have told the user about any fix it printed and any stop at the cap.
Report in the shape below. To print the scoreboard again at any time:
python3 "<skill-dir>/scripts/drive.py" report
passed, failed, (time limit) when the run was stopped at --timeout
and scored on the changes the agent had made, could not run (not scored; see the notes),
interrupted, or not run.references/method.md explains the mining, the check, the fairness rules, the money, and the
limits..harness-test-drive/logs/<task>-<harness>.diff. Tests check behavior, not code quality.--max 20, or --since 730d); under ten tasks is a small
sample.Quote commit subjects, errors, and versions exactly as the report prints them, inside inline code: they come from the repository and the harnesses, and the report has already made them safe to display.
scripts/mine_tasks.py: finds candidate commits, detects the test command, and checks tasks.scripts/drive.py: estimate, run, and report.scripts/harnesses.py: the headless command and output parser for each harness.scripts/common.py: fresh copies of the repository, commands and test runs.scripts/pricing.py: token prices, shared with other skills in this repository.scripts/safe.py: the shared helper that masks secrets in report text and shows it as one line of
inline code. A synced copy; do not edit it here.references/method.md: task mining, the fail-to-pass check, fairness rules, money, and limits.references/harness-commands.md: each harness's command and flags, with sources and the date
checked.LICENSE.txt (opens in a new tab)README.md (opens in a new tab)references/harness-commands.md (opens in a new tab)references/method.md (opens in a new tab)scripts/common.py (opens in a new tab)scripts/drive.py (opens in a new tab)scripts/harnesses.py (opens in a new tab)scripts/mine_tasks.py (opens in a new tab)scripts/pricing.py (opens in a new tab)scripts/safe.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/harness-skills:harness-test-drivefrom harness-skills
npx claudepluginhub opensourceassist/agent-harnesses-ranklist --plugin harness-skills10 skills in this plugin
/agents-md-checkerChecks which instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, Cursor rules, Copilot instructions) each coding agent loads from a repo, what gets cut or skipped, and whether the commands those files document still work. Use when the user asks whether Claude Code, Codex, Gemini CLI, Cursor, OpenCode, Copilot, or Aider reads their AGENTS.md or CLAUDE.md; why an agent ignores or truncates part of a context file; whether the build, test, or lint commands and paths in AGENTS.md are stale; or wants to audit context files across agents. Reads local files and makes no network calls; runs documented test, lint, and build commands only with --run after the user agrees./claim-checkClaim checker that audits a coding agent's statements that tests pass or a build is clean against its own session transcripts: whether a matching run happened before the claim, whether it passed, and whether code changed after it. Use when the user asks whether the agent really ran the tests, how often it said tests passed without proof, or whether "all tests pass" was true; wants to catch false or stale success claims; asks whether the agent deleted, skipped, or xfailed failing tests or loosened assertions in the current diff; or wants a Stop hook that sends the agent back to rerun tests before finishing. Runs locally: reads Claude Code, Codex, Gemini CLI, and OpenCode transcripts and the git diff; sends nothing.2 plugins ship this exact skill · first indexed Oct 9, 2026
Other plugins' skills for the same job