Skip to content
Skill

Regression finder

Finds the Claude Code or Codex update where your agent's behavior started to change

Regression finder is an open-source agent skill for developer tools. It is available on Claude Code and Codex.

Scripts
Python
Platforms
Claude Code, Codex
GitHub stars
1.7K
Last commit
License
MIT
Listing updated

Similar skills

About Regression finder

This skill checks your own local Claude Code or Codex session history to see whether the agent behaves differently after a harness update, a model switch, or over a span of weeks. It splits sessions by version, model, or week and compares measures such as reads before the first edit, edits to files not read first, interruptions, corrections, failed tool calls, output size, and cost per turn.

The check runs a Python script that reads transcripts on the machine, prints counts and rates, and places any flagged change at the update where the numbers moved. It also reports other things that changed at the same point, such as the model or the projects worked on, and suggests reruns that separate those explanations from the update itself. Flags let the user choose the harness, the split, a project folder, the time window, and output as JSON or an SVG chart.

It needs Python 3 and no extra installs, and it sends nothing over the network. Transcripts are read only within the chosen window, and prompt text is read only to spot corrections. Cursor keeps no usable transcripts, so it is not supported.

When your agent uses it

Regression check for coding agents: shows how the agent behaved before and after each harness update, model switch, or week in the user's own Claude Code or Codex history, and finds the point where it changed. Use when the user says the agent's quality dropped or it got worse, dumber, lazier, or degraded since an update or since they upgraded; asks whether a new Claude Code or Codex version or model made it worse than the old one; wants to know which release, version, or week it regressed in; or wants numbers to report a regression, such as reads before edits, interruptions, and corrections per version. Runs locally and reads transcripts only; nothing goes over the network.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 9 files (204 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the harness-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add RyanAlberts/best-of-Agent-Harnesses
/plugin install harness-skills@agent-harnesses

Or copy only this skill to ~/.claude/skills/regression-finder:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/regression-finder &&
cp -R "$tmp/skills/regression-finder" ~/.claude/skills/regression-finder &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/regression-finder inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/regression-finder to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/regression-finder &&
cp -R "$tmp/skills/regression-finder" ~/.agents/skills/regression-finder &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/regression-finder inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/regression-finder to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/regression-finder &&
cp -R "$tmp/skills/regression-finder" ~/.cursor/skills/regression-finder &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/regression-finder inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/RyanAlberts/best-of-Agent-Harnesses.git --path skills/regression-finder

Or copy the folder to ~/.gemini/skills/regression-finder yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/regression-finder:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/regression-finder &&
cp -R "$tmp/skills/regression-finder" ~/.copilot/skills/regression-finder &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/regression-finder inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git

Then copy best-of-Agent-Harnesses/skills/regression-finder into your agent's skills folder as regression-finder. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Version-based behavior split
Groups sessions by the harness version recorded in each transcript and compares behavior across releases.
Eleven behavior measures
Tracks reads before edits, reads per edit, interruptions, corrections, failed tool calls, output, reasoning share, and cost per turn.
Statistical change detection
Flags only changes that pass a significance test adjusted for multiple comparisons and exceed a minimum size.
Confounder checks
Notes other changes at the same update, such as a new model or shifted projects, and suggests reruns to separate them.
Local-only reading
Reads session files on the machine, prints aggregate counts, and writes files only when asked.
Chart and JSON output
Optionally writes one small line chart per flagged number or prints the full result as JSON.

Good for

  • Check whether my coding agent got worse after the latest Claude Code update
  • See if a new Codex version changed how often the agent reads files before editing
  • Find which week my agent's interruptions and corrections started rising
  • Gather numbers to attach to a bug report about a regression
  • Confirm whether a model switch or a change of project explains a behavior shift

Regression finder FAQ

What does the skill need to run?

Python 3.9 or newer and nothing else to install. It reads local Claude Code or Codex session files.

Does Regression finder send my data anywhere?

No. It makes no network calls and writes a file only when the user passes an output flag.

Does Regression finder work with Cursor?

No. Cursor keeps no usable transcripts, so there is nothing for it to measure.

What does Regression finder print?

Counts, rates, token totals, versions, model names and project folders. It does not print prompt text, commands or file contents.

How much history is needed?

A change is only tested when there are at least 20 sessions on each side of an update, so short histories report that they are too small.

How do I install Regression finder in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/regression-finder to use it in all your projects, or to .claude/skills/regression-finder in one project. Or install the harness-skills plugin, which includes it: /plugin marketplace add RyanAlberts/best-of-Agent-Harnesses, then /plugin install harness-skills@agent-harnesses.

Does Regression finder run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Regression finder?

Claude Code and Codex. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Regression finder?

The closest alternatives to Regression finder are Scan sessions and learn, Harness test drive, Retro, Runaway guard and Session waste report.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from RyanAlberts/best-of-Agent-Harnesses

  1. Shows which instruction files each coding agent loads and whether documented commands

    • Open source
    • 1.7K GitHub stars
    • Developer tools
  2. Audits an agent's claims that tests or builds passed against its session transcripts

    • Open source
    • 1.7K GitHub stars
    • Developer tools
  3. Checks if your agent's deny rules and hooks really block dangerous commands

    • Open source
    • 1.7K GitHub stars
    • Security
  4. Benchmarks Claude Code, Codex and Gemini CLI on tasks from your own git history

    • Open source
    • 1.7K GitHub stars
    • Developer tools
  5. Finds the rules your coding agent keeps breaking and turns them into blocking hooks

    • Open source
    • 1.7K GitHub stars
    • Developer tools
  6. Halts a Claude Code or Codex session on loops, failure streaks or a spend cap

    • Open source
    • 1.7K GitHub stars
    • Developer tools