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
npx skills add trailofbits/skills --skill validate-bug -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/validate-bug/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/validate-bug/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill validate-bug -a codex2Manually: put the files in place
.agents/skills/validate-bug/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill validate-bug -a cursor2Manually: put the files in place
.cursor/skills/validate-bug/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install trailofbits/skills plugins/patching-bugs/skills/validate-bug2Manually: put the files in place
.github/skills/validate-bug/SKILL.md1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill validate-bug -a gemini-cli2Platform CLI
gemini skills install https://github.com/trailofbits/skills --path plugins/patching-bugs/skills/validate-bugManually: put the files in place
.devin/skills/validate-bug/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add trailofbits/skills --skill validate-bug -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.