Skip to main content
skill CX Codex

reproduce-regression — Claude Code skill for regression testing

The reproduce-regression Claude Code skill reproduces a regression candidate on live systems before and after a change. It builds a PoC and compares both versions using the same input.

CC-BY-SA-4.0 671 installs ★ 8,341 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add trailofbits/skills --skill reproduce-regression -a claude-code
Open on GitHub

What reproduce-regression does

The skill deploys S0 and S1, traces the candidate to a real user or attacker entry point, and tests the reported regression. It follows the project guidance, regression standard, and evidence file requirements before working on the target.

It creates a portable PoC and runs it against both deployments with identical input and comparable configuration. The test uses live systems, not mocks, extracted functions, or simulations. reproduce.json records the setup, tool and dependency versions, commands, revisions, logs, observations, and false-positive checks.

Builds and deployments stay inside the attempt directory, and every build directory is listed in build_dirs. Temporary resources are released while evidence is kept in a sealed package. A finished experiment does not itself confirm a regression.

What it helps with

  • compare system behavior before and after a change
  • test a regression candidate through a real entry point
  • create a repeatable PoC for two deployments
  • record experiment conditions and check for false positives

Example prompts for the agent

  • Reproduce this regression candidate on S0 and S1 and save the results.
  • Build a PoC for this regression against both live deployments using identical input.
  • Check whether the reported failure reproduces and record it in reproduce.json.

How to install reproduce-regression

1Skills CLI (Vercel)

npx skills add trailofbits/skills --skill reproduce-regression -a claude-code

2Manually: put the files in place

~/.claude/skills/reproduce-regression/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/reproduce-regression/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about reproduce-regression

How do I install reproduce-regression in Claude Code?

Run npx skills add trailofbits/skills --skill reproduce-regression -a claude-code. The skill file is placed at ~/.claude/skills/reproduce-regression/SKILL.md.

What does reproduce-regression do?

It runs a PoC on live systems from before and after a change, records their behavior, and packages the evidence. A completed experiment does not necessarily confirm the regression.

How does this differ from independently checking an existing PoC?

reproduce-regression builds a PoC and tests it against two live deployments. The separate replay workflow is for independent verification of an existing PoC.

Similar skills

All skills for Testing and QA →

From the same set95

The whole set →
regression-hunt regression-hunt — a skill for Claude Code that investigates regressions in PRs and commits. It coordinates error-hunting campaigns and resumes saved progress. CX Codex +1 685installs implement-patch implement-patch — a Claude Code skill for fixing confirmed bugs at the invariant level. Enforces variant searches, upfront regression tests, and isolated patch records. CX Codex +1 677installs prove-patch prove-patch — a skill for Claude Code validates a local security patch with scoped cases and a three-arm comparison. It runs when a patch commit needs independent proof. CX Codex +1 676installs hunt-regressions hunt-regressions — a skill for Claude Code that discovers potential regressions before reproduction. Runs when analyzing code changes and their callers. CX Codex +1 675installs report-regressions report-regressions — a skill for Claude Code builds regression reports from saved campaign decisions and links findings to evidence. It runs when a campaign report is created or refreshed. CX Codex +1 670installs prepare-regression prepare-regression — a skill for Claude Code that pins source revisions and gathers commit or PR context for a regression investigation. It runs during investigation setup. CX Codex +1 670installs adjudicate-regression adjudicate-regression — a skill for Claude Code and Codex that reviews reproduction evidence to confirm whether a flaw is a true regression or an exclusion. It evaluates live artifacts before logging issues. CX Codex +1 669installs replay-regression The replay-regression Claude Code skill independently tests a supplied PoC against fresh builds from before and after a change. It runs the same input on S0 and S1, then records what happened. CX Codex +1 668installs

Project sponsors

Companies that keep this analytics open