Skip to main content
skill CX Codex

patching-bugs — Claude Code skill: setup

The patching-bugs skill takes one known bug through reproduction, a patch, independent proof, regression checks, and a local report.

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

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

What patching-bugs does

patching-bugs is built for one named bug or testable bug theory in the current checkout. It records the baseline, turns the report into a finding, checks the behavior before edits, and sends implementation and proof to separate fresh agents. A regression campaign then covers baseline..patch_commit.

The workflow keeps JSON records, attempt directories, manifests, and generated HTML reports. Bundled scripts run through uv run --no-project, while conclusions are copied from retained receipts rather than agent summaries. The skill stops at blocked or inconclusive stages and does not push changes, open a pull request, or file an issue.

The project needs a clean Git worktree, its normal build command, and regression-hunt installed. A blocking preflight or record-check failure stops the run before a patch is accepted.

What it helps with

  • reproduce a reported bug
  • prepare a patch with independent proof
  • check a fix for regressions
  • preserve evidence in JSON records
  • render a local review report

Example prompts for the agent

  • Use patching-bugs to investigate the upload-directory traversal bug, prove the behavior, and prepare a reviewable patch.
  • Take this compiler failure as one finding, validate the repair with a separate agent, and run the regression campaign.
  • Apply patching-bugs to the current Git repository, then produce the local reports without pushing changes.

How to install patching-bugs

1Skills CLI (Vercel)

npx skills add trailofbits/skills --skill patching-bugs -a claude-code

2Manually: put the files in place

~/.claude/skills/patching-bugs/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/patching-bugs/

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

Questions about patching-bugs

How do I install patching-bugs in Claude Code?

Run npx skills add trailofbits/skills --skill patching-bugs -a claude-code. The skill will be available at ~/.claude/skills/patching-bugs/SKILL.md.

What does patching-bugs do?

It takes one known bug through reproduction, patching, independent proof, regression checking, and report generation using retained records.

What does patching-bugs require before it starts?

The target must be a Git repository with a clean worktree. Its normal build command and regression-hunt must also be available.

Similar skills

SKILL.md skills catalog →
diagnosing-bugs Matt Pocock diagnosing-bugs is a Claude Code skill for investigating hard bugs and performance regressions. It activates when someone asks to diagnose a problem or reports code that fails, throws errors, or runs slowly. CX Codex +1 834,802installs find-bugs davila7 find-bugs walks the diff on your current branch and reports bugs, security holes and code quality problems. Handy before a merge or a push. CX Codex +1 944installs nvshmem-troubleshoot-and-report-bugs NVIDIA NVSHMEM Team nvshmem-troubleshoot-and-report-bugs uses launch details and per-PE logs to investigate NVSHMEM runtime failures and draft a bug report. Its diagnosis workflow is read-only. CX Codex +1 ★ 4,106repo stars find-skills vercel-labs find-skills is a Claude Code skill that locates agent skills for a task and helps assess the results. It activates when someone asks for a capability that may already be installable. CX Codex +1 4,400,000installs frontend-design official anthropics The frontend-design skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. CX Codex +1 1,025,790installs agent-browser vercel-labs This Claude Code skill automates browser interaction for tasks like navigating sites, filling forms, and testing web apps. It also supports exploratory QA and Electron app automation. CX Codex +1 1,600,000installs design-taste-frontend Leonxlnx The design-taste-frontend Claude Code skill sets design rules and checks for websites. It activates for new pages, redesigns, and requests to fix a generic-looking site. CX Codex +1 802,600installs grill-me Matt Pocock grill-me interviews you about a plan or design to expose gaps and sharpen decisions. Use it before implementation starts. CX Codex +1 1,424,476installs

From the same set95

The whole set →
pr-improver The pr-improver skill cycles through review and fixes for the current branch’s changes. Use it to address findings before opening or updating a pull request. CX Codex +1 1,600installs 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 reproduce-bug 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. CX Codex +1 692installs 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

Project sponsors

Companies that keep this analytics open