Skip to main content
skill CX Codex

reproduce-bug — Claude Code skill: purpose and installation

The reproduce-bug Claude Code skill checks whether a named compiler or runtime bug can be reproduced in a local repository. It runs against the project baseline before any edits.

CC-BY-SA-4.0 692 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-bug -a claude-code
Open on GitHub

What reproduce-bug does

The skill tests a reported compiler or runtime failure in a local repository and records what happened. It needs a finding.json file and a local baseline checkout. The agent builds that version with the project’s own command, then exercises the planned inputs before editing and saves command output, exit status, and timing.

For runtime issues, the check runs against the built artifact; for compiler issues, it captures the diagnostic from a failed build. Results and invocation details go into reproduce.json, with source materials stored under reproduce/. The manifest is created with uv run --no-project <script> manifest <reproduce-step-dir>. When the build or environment prevents a valid test, the outcome is blocked and the finding stays a hypothesis.

What it helps with

  • test whether a compiler failure occurs on the baseline
  • run a PoC against a built runtime artifact
  • record command output and reproduction status
  • document a blocker that prevents a valid run

Example prompts for the agent

  • Check the runtime issue in finding.json against the project baseline.
  • Reproduce the compiler failure and record the outcome in reproduce.json.
  • Run the PoC check and create a manifest for reproduce/.

How to install reproduce-bug

1Skills CLI (Vercel)

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

2Manually: put the files in place

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

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

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

Questions about reproduce-bug

How do I install reproduce-bug in Claude Code?

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

What does reproduce-bug do?

It tests a reported bug against the local project’s baseline before edits, saves the observations, and records whether the issue was reproduced.

What does reproduce-bug need to run?

It needs a finding.json file, a local baseline checkout, and the project’s build command. Creating the manifest uses uv.

Similar skills

All skills for Testing and QA →

From the same set95

The whole set →
code-improver code-improver runs a review-and-fix loop over any code target — module, plugin, directory — with a reviewer you name yourself. CX Codex +1 1,600installs post-patch-validation post-patch-validation runs exploits and regression checks against both the vulnerable and patched revisions, so you can see whether a security fix actually holds. CX Codex +1 1,400installs review-walkthrough review-walkthrough turns the current branch diff into an HTML walkthrough with logical steps, explanations and review findings. Run it by hand when you want to read a change properly. CX Codex +1 1,200installs patching-bugs The patching-bugs skill takes one known bug through reproduction, a patch, independent proof, regression checks, and a local report. CX Codex +1 699installs validate-bug validate-bug — a skill for Claude Code that runs an independent rerun and judgment of a bug PoC package before patching. CX Codex +1 691installs 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

Project sponsors

Companies that keep this analytics open