Validate Bug skill for Claude
Use when a bug PoC package needs an independent rerun and judgment before patching.
Validate Bug SKILL.md
The full skill file from trailofbits/skills (CC-BY-SA-4.0).
Validate Bug
When to Use
Use after reproduce-bug has supplied a finding and PoC package. Read the
record contract.
Before target commands, follow its project guidance.
When NOT to Use
Do not use to repair a PoC, develop a patch, or infer reproduction from the reproducer's narrative.
Procedure
-
Read
finding.json, the reproduction's proof type, commands, any PoC, and raw receipts. Do not read the reproducer's transcript. -
Rerun the same baseline compiler command for compile failures, or rebuild and rerun the unchanged runtime PoC and planned scoped inputs. Save stdout, stderr, exit status and timing in
validate/receipts/. If an observation is unreliable, returninconclusiveinstead of inferring either presence or absence. -
Decide whether the target diagnostic or runtime assertion demonstrates the exact claim and violates the stated invariant. Write
validate.jsonasconfirmed,not_confirmed, orinconclusivewith a short reason and agent identity.
{
"schema_version": 1,
"outcome": "confirmed",
"agent": "validator-1",
"reason": "The unchanged PoC reached the assertion and demonstrated the claim."
}
- Manifest the complete
validate/directory withuv run --no-project <script> manifest <validate-step-dir>, then run the record checker. Return the package without editing the PoC or finding.
Rationalizations to Reject
| Shortcut | Required action |
|---|---|
| Fix the PoC to make the claim work. | Mark it inconclusive and explain why. |
| Trust the reproducer's conclusion. | Rerun the unchanged package independently. |
How to install Validate Bug
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit trailofbits/skills/plugins/patching-bugs/skills/validate-bug#main ~/.claude/skills/validate-bugCodex
npx degit trailofbits/skills/plugins/patching-bugs/skills/validate-bug#main ~/.codex/skills/validate-bugClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Validate Bug skill do?
Use when a bug PoC package needs an independent rerun and judgment before patching.
+How do I install Validate Bug in Claude Code?
Copy the skill folder into ~/.claude/skills/validate-bug, for example with "npx degit trailofbits/skills/plugins/patching-bugs/skills/validate-bug#main ~/.claude/skills/validate-bug". Claude Code loads it automatically and uses it when a task matches.
+Does Validate Bug work with ChatGPT or Codex?
Yes. Validate Bug uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/validate-bug. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Validate Bug free?
Validate Bug is published on GitHub by trailofbits under the CC-BY-SA-4.0 license, which allows free use.