Finds when a coding agent regressed by analyzing local session transcripts across harness versions, models, or weeks. Measures reads, edits, interrupts, corrections, and failures per version.
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.
When a coding agent seems worse after an update, the user's own session history can show whether it changed and when. This skill splits the user's Claude Code or Codex sessions by harness version, model, or week, measures the same behavior in each (reads before the first edit, reads per edit, edits to files not read first, interrupts, corrections, failed tool calls, output, cost), and places the change at the update, or within the span of versions, where the numbers moved, along with anything else that changed at the same point. It reads local transcripts, prints counts and rates, never prints prompt text, and sends nothing anywhere.
session-waste-report.runaway-guard.harness-test-drive.claim-check.rules-to-guards.Tell the user this when they ask what the check looks at:
~/.claude/projects/, Codex under ~/.codex/sessions/), only those changed within the window. Prompt text is read on this machine only to spot corrections such as "no, that's wrong".--out or --svg, which write the one file named.<skill-dir> means the folder that holds this SKILL.md (Claude Code shows it as the skill's base directory). Keep the quotes around the script path in every command: skill folders can sit under paths with spaces.
Run the default check. Pick the harness the user asks about (claude-code by default, or codex) and run:
python3 "<skill-dir>/scripts/regress.py" --harness claude-code
It reads the last 90 days and splits by harness version. Match the flags to the question:
| The user says | Add |
|---|---|
| "since the last Codex update" | --harness codex |
| "since I switched to the new model" | --by model |
| "worse these past few weeks" | --by week |
| "in my api repo" | --project <that folder> |
| "since the spring" | --since 180d |
It takes a few seconds per thousand sessions and exits 0 even when it finds nothing. Done when the output starts with a bold headline, or you have told the user the exact error.
Answer the user's own question first. If the user named an update or a time such as last week, find it in the By version table first. If it was not tested, lead with that (for example: 2.1.280 had 7 sessions, and the test needs 20 on each side), then give the headline as background, not as the answer. The notes list every update that was not tested, with its sessions.
Then read the headline. It is one of these kinds:
2.1.270, your agent reads 41% less before it edits...", or "After an update between Claude Code 2.1.260 and 2.1.270, ..." when the test had to borrow neighboring versions. The change lies somewhere in that span; say the span, not one version. Go to step 3.--since 180d, when the history goes back that far), a split by time (--by week), and last a lower bar (--min-sessions 12, the floor). A lower bar tests more updates, but each test can only catch larger changes.Done when the user's own update or time is answered, or you know which kind of headline it is.
Follow each confounder. A confounder is anything else that changed at the same update and could explain the numbers. The section "What else changed at the same point" lists them, and the headline ends with "but ... changed at the same point" or "both sides were in use at the same time" when they exist. For each line:
--by model and see whether the change follows the model instead.--by version.--project argument the line prints. Copy the --project argument exactly as printed, quotes included.Done when each confounder line has a rerun result or a one-sentence explanation for the user.
Offer the chart when something is flagged and the user wants to see it or share it:
python3 "<skill-dir>/scripts/regress.py" --harness claude-code --svg regression.svg
It writes one small line chart per flagged number to the path given, and nothing else. Done when you have given the user the path, or the user declined.
Report in the shape below.
--json prints the same result for a program: headline, totals, thresholds, slices, tests (every comparison, flagged or not), flagged, stand_outs, confounders, untested, left_out, and notes.Open references/metrics.md to explain what a number measures and why it matters, and references/statistics.md when the user asks how sure the result is or why a visible change was not flagged.
--project <path> or --by model.--json for the data and --svg for the chart.session-waste-report.An example of the shape (the numbers are invented):
After Claude Code
2.1.270, your agent reads 41% less before it edits and gets interrupted twice as often.
Where What changed Before After Change Sessions after 2.1.270Reads before the first edit (session median) 5 3 -41% 34, 29 after 2.1.270Interrupts per 100 turns (session mean) 4.1 8.3 +102% 34, 29 Nothing else changed at that update: same model, same projects. Next: read the
2.1.270entry in the Claude Code changelog, and if it matches, file it with--jsonand--svg.
When nothing was flagged, say what was compared (versions, sessions, turns) and that small histories cannot show small changes; quote no percentages as findings.
Quote versions, models, and paths exactly as the report prints them, inside inline code: it shows the home folder as ~, and it has already made any text taken from transcripts safe to display.
scripts/regress.py: the check. Flags: --harness, --by version|model|week, --since 90d, --project, --min-turns 30, --min-sessions 20 (at least 12), --svg <path>, --json, --out <path>, --fail-on worse|any (exit 1 when a flagged change usually means worse, or when anything is flagged).scripts/transcripts.py, scripts/pricing.py, scripts/safe.py: the shared reader for session files, the price table, and the text cleaner that puts transcript text in the report inside inline code; several skills in this repository use them.references/metrics.md: each number's definition and why it matters, next to the method of issue #42796.references/statistics.md: the test, the thresholds, the minimum samples, how changes are placed, and the limits.LICENSE.txt (opens in a new tab)README.md (opens in a new tab)references/metrics.md (opens in a new tab)references/statistics.md (opens in a new tab)scripts/pricing.py (opens in a new tab)scripts/regress.py (opens in a new tab)scripts/safe.py (opens in a new tab)scripts/transcripts.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
regression-testing, agent-behavior, session-analysis, claude-code, codex
/harness-skills:regression-finderfrom harness-skills
npx claudepluginhub ryanalberts/best-of-agent-harnesses --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