Skip to main content
skill CX Codex

validate-bug — Claude Code skill: what it does, how to install

validate-bug — a skill for Claude Code that runs an independent rerun and judgment of a bug PoC package before patching.

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

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

What validate-bug does

The agent starts this skill after the reproduction phase to independently test the bug package and verify the diagnostic assertion. It reads finding.json, reruns the baseline compiler or runtime PoC without modifications, and saves execution outputs into validate/receipts/. If an observation is unreliable, it returns an inconclusive status.

The procedure forbids editing the PoC or inferring results from the reproducer transcript. It requires uv to manifest the validate/ directory and run the record checker script.

What it helps with

  • run an independent rerun of a bug PoC package
  • write the validation outcome into validate.json
  • store stdout, stderr, and execution timings in receipts
  • check records using the built-in script

Example prompts for the agent

  • Rerun the bug PoC package independently
  • Validate the finding and PoC before writing a patch
  • Check the reproduction package and record the outcome

How to install validate-bug

1Skills CLI (Vercel)

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

2Manually: put the files in place

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

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

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

Questions about validate-bug

How to install validate-bug in Claude Code?

Run npx skills add trailofbits/skills --skill validate-bug -a claude-code followed by ~/.claude/skills/validate-bug/SKILL.md.

What does validate-bug do?

It performs an independent rerun and judgment of a bug proof-of-concept package prior to fixing code.

What is required to run validate-bug?

The uv tool is required to manifest the validation directory and run record checks.

Similar skills

All skills for Security →

From the same set95

The whole set →
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 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 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

Project sponsors

Companies that keep this analytics open