No slash command · from review
Orchestrates a three-phase adversarial code review using isolated agents (Hunter, Skeptic, Referee) to find bugs, audit security, and check correctness. Invoked via /bug-hunt command or when user asks to find bugs or review code.
Ships in review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
An adversarial code review workflow designed by danpeguine (@danpeguine). Three agents run in isolated contexts — no agent sees what any other agent "wants" to hear. This eliminates sycophantic confirmation bias and produces ground-truth bug reports.
User command: /bug-hunt [path | -b branch [--base base]]
When a single agent both finds bugs and evaluates them, it anchors on its own earlier judgments. By resetting context between phases and giving each agent only what it needs, every verdict is genuinely independent. The Skeptic cannot see the Hunter's enthusiasm. The Referee cannot see the Skeptic's skepticism.
| Phase | Agent | Subagent Type | Role |
|---|---|---|---|
| 1. Hunter | Jerry | review:code-auditor | Find every possible bug. Maximize recall. False positives OK. |
| 2. Skeptic | Kayle | review:architecture-reviewer | Challenge every finding. Risk/EV calculation. 2x penalty for wrong dismissals. |
| 3. Referee | Jason | review:tester | Final arbiter. Read code independently. Produce ground truth. |
The skill supports two modes:
Path mode (default): Scan a file, directory, or the entire project.
/bug-hunt # Entire project
/bug-hunt src/ # Directory
/bug-hunt lib/auth.ts # Specific file
Branch diff mode (-b): Scan only files changed between branches. Reads full file contents, not just diffs.
/bug-hunt -b feature-xyz # vs main
/bug-hunt -b feature-xyz --base dev # vs dev
For branch diff mode: git diff --name-only <base>...<branch> to get the file list.
| Score | Meaning |
|---|---|
| +1 | Low — minor edge case, cosmetic, code smell |
| +5 | Medium — functional issue, data inconsistency, missing validation |
| +10 | Critical — security vulnerability, data loss, race condition, crash |
EV = (confidence% × points) - ((100 - confidence%) × 2 × points)All three agents use a consistent BUG-ID format for cross-phase traceability:
Hunter output:
**BUG-[N]** | Severity: [Low/Medium/Critical] | Points: [1/5/10]
- **File:** [path]
- **Line(s):** [number or range]
- **Category:** [logic|security|error-handling|concurrency|edge-case|performance|data-integrity|type-safety|other]
- **Claim:** [one sentence]
- **Evidence:** [code quote]
Skeptic output:
**BUG-[N]** | Original: [points] pts
- **Counter-argument:** [technical argument citing code]
- **Evidence:** [code quote]
- **Confidence:** [0-100]%
- **Risk calc:** EV = ...
- **Decision:** DISPROVE / ACCEPT
Referee output:
**BUG-[N]**
- **Hunter's claim:** [summary]
- **Skeptic's response:** [DISPROVE/ACCEPT + summary]
- **Your analysis:** [independent assessment]
- **VERDICT: REAL BUG / NOT A BUG**
- **Confidence:** High / Medium / Low
- **True severity:** [Low/Medium/Critical]
- **Suggested fix:** [brief direction]
Plugin agent model fields accept only Claude models, and the Hunter, Skeptic,
and Referee agents declare Claude tiers. Each stage agent therefore acts as a
controller: it reads the code, builds its stage brief, and takes its verdict
from an explicit read-only GPT-6.1 Sol reviewer with effort pinned to xhigh:
codex exec --sandbox read-only --cd <repo> -m gpt-6.1-sol \
-c model_reasoning_effort="xhigh" \
--output-last-message /tmp/hsr-<stage>-verdict.md \
< /tmp/hsr-<stage>-brief.md > /tmp/hsr-<stage>.log 2>&1
-m gpt-6-astra is the only alternative reviewer; -m gpt-6-sol is the same
reviewer's earlier id, used only where the account does not list
gpt-6.1-sol. Never lower the effort or move
a stage to another model, Grok included; under usage-credit pressure, narrow
the scope or queue the review. If codex is unavailable, report the review
lane unavailable.
Parse arguments for path mode vs branch diff mode. In branch diff mode, run git diff --name-only to get the file list.
Dispatch review:code-auditor with the target scope. The Hunter uses Glob/Read/Grep to examine actual code. Must NOT speculate about unread files.
If Hunter reports TOTAL FINDINGS: 0, skip Skeptic and Referee. Present a clean report directly.
Dispatch review:architecture-reviewer with ONLY the structured bug list (BUG-IDs, files, lines, claims, evidence, severity). Do NOT pass the full codebase or any narrative text. The Skeptic reads code independently.
Dispatch review:tester with the Hunter's full report AND the Skeptic's full report. The Referee reads code independently.
Display the Referee's verified report:
<details> section with dismissed bugs for transparencyA clean report (zero confirmed bugs) is a valid result — say so clearly.
| Phase | Gets access to |
|---|---|
| Hunter (Jerry) | Full codebase (or changed files in branch diff mode) |
| Skeptic (Kayle) | Structured bug list + referenced file paths only |
| Referee (Jason) | Hunter findings + Skeptic verdicts only |
Violating these boundaries reintroduces the sycophancy problem. If the Skeptic sees the Hunter's confidence, it anchors on it. If the Referee sees either agent's emotional register, it drifts toward consensus rather than truth.
-b mode)For quick informal reviews, just use Jerry directly in normal mode.
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/code-audit-scriptsRun deterministic code security and quality scans — secret detection, debug artifact cleanup, and TODO/FIXME tracking. Use this skill before any security review, code audit, PR review, or when the user says 'scan for secrets', 'find debug logs', 'check for TODOs', 'audit this code', 'security scan', or 'clean up before shipping'. Also use proactively before deployments or when reviewing unfamiliar codebases. Runs all scans in parallel for speed./codex-securityRun OpenAI's agentic security scanner (`@openai/codex-security`) over a repo, PR, or diff, then triage, patch, and gate on its findings. Use for 'run a codex security scan', 'find vulnerabilities in this PR', 'export findings as SARIF', 'fix that security finding', 'compare this scan to the last one', or when a pattern sweep came back thin. Not for dependency CVEs, secrets, or licenses (code-audit-scripts, bun audit)./free-roam-testingreview@b-open-io is listed by b-open-io/claude-plugins — review the source before installing
npx claudepluginhub b-open-io/claude-plugins --plugin reviewOther plugins' skills for the same job