Software DevelopmentOfficial · trailofbits

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

  1. Read finding.json, the reproduction's proof type, commands, any PoC, and raw receipts. Do not read the reproducer's transcript.

  2. 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, return inconclusive instead of inferring either presence or absence.

  3. Decide whether the target diagnostic or runtime assertion demonstrates the exact claim and violates the stated invariant. Write validate.json as confirmed, not_confirmed, or inconclusive with a short reason and agent identity.

    Validate record schema:

{
  "schema_version": 1,
  "outcome": "confirmed",
  "agent": "validator-1",
  "reason": "The unchanged PoC reached the assertion and demonstrated the claim."
}
  1. Manifest the complete validate/ directory with uv 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

ShortcutRequired 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-bug

Codex

npx degit trailofbits/skills/plugins/patching-bugs/skills/validate-bug#main ~/.codex/skills/validate-bug

Claude.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.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Eas App Stores

    Official

    Build and submit iOS and Android apps with EAS to TestFlight, the App Store, or Google Play.

    expo/skills★ 4.2k
  5. Eas Hosting

    Official

    Deploy Expo websites and Expo Router API routes to EAS Hosting - export the web bundle, run eas deploy for production and PR preview URLs,…

    expo/skills★ 4.2k
  6. Eas Observe

    Official

    Use for anything related to EAS Observe - adding `expo-observe` to an Expo project (AppMetricsRoot/ObserveRoot HOC, markInteractive and…

    expo/skills★ 4.2k
  7. Eas Simulator

    Official

    Run and control a user's app on a remote iOS/Android simulator with Expo Simulators (also called EAS Simulator).

    expo/skills★ 4.2k
  8. Eas Update

    Official

    Configure and use EAS Update for over-the-air JavaScript and asset updates with expo-updates and EAS CLI.

    expo/skills★ 4.2k
  9. Eas Workflows

    Official

    Helps understand and write EAS workflow YAML files for Expo projects.

    expo/skills★ 4.2k

See all software development skills →

More skills from trailofbits

  1. Variant Analysis

    Official

    Hunts for the other instances of a bug already found — the variants of one root cause across a codebase.

    trailofbits/skills★ 8.3k
  2. Vector Forge

    Official

    Mutation-driven test vector generation. Finds implementations of a cryptographic algorithm or protocol, runs mutation testing to identify…

    trailofbits/skills★ 8.3k
  3. Vulnerability Triage Brocards

    Official

    This skill should be used when the user asks to "triage a vulnerability report", "assess a CVE", "evaluate a bug bounty submission",…

    trailofbits/skills★ 8.3k

All skills by trailofbits →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.