# Regression finder

> Regression finder is an open-source agent skill for developer tools. Finds the Claude Code or Codex update where your agent's behavior started to change. It is available on Claude Code and Codex.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex
- **Website:** https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/regression-finder
- **Repository:** https://github.com/ryanalberts/best-of-agent-harnesses
- **GitHub stars:** 1,663
- **License:** MIT
- **Skill name:** regression-finder
- **Collection:** https://github.com/RyanAlberts/best-of-Agent-Harnesses
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/HEAD/skills/regression-finder)
- [Network calls found in its scripts](https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/HEAD/skills/regression-finder)
- [License: MIT](https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/HEAD/skills/regression-finder)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Scan sessions and learn](https://ai-powered.com/skills/scan-sessions-and-learn): Scan sessions and learn is an open-source agent skill for developer tools.
- [Harness test drive](https://ai-powered.com/skills/harness-test-drive): Harness test drive is an open-source agent skill for developer tools.
- [Retro](https://ai-powered.com/skills/retro-mattpocock): Retro is an open-source agent skill for developer tools.
- [Runaway guard](https://ai-powered.com/skills/runaway-guard): Runaway guard is an open-source agent skill for developer tools.
- [Session waste report](https://ai-powered.com/skills/session-waste-report): Session waste report is an open-source agent skill for developer tools.
- [Agent insights](https://ai-powered.com/skills/agent-insights): Agent insights is an open-source agent skill for developer tools.
- [Eval harness](https://ai-powered.com/skills/eval-harness): Eval harness is an open-source agent skill for developer tools.
- [Reflect](https://ai-powered.com/skills/reflect-michael-denyer): Reflect is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/regression-finder
