Adversarial bug finding skill for Claude Code. Uses 3 isolated AI agents to find and verify real bugs with high fidelity.
$ npx -y skills add danpeg/bug-hunt --agent claude-code
Adversarial bug finding skill for Claude Code. Uses 3 isolated AI agents to find and verify real bugs with high fidelity.
Inspired by @systematicls's article on exploiting LLM sycophancy for better code review:
Each agent runs in a completely isolated context — they can't see each other's reasoning, only structured findings. This prevents anchoring bias and produces high-fidelity results.
git clone https://github.com/danpeg/bug-hunt.git ~/.claude/skills/bug-hunt
Claude Code auto-discovers skills in ~/.claude/skills/.
/bug-hunt # Scan entire project
/bug-hunt src/ # Scan specific directory
/bug-hunt lib/auth.ts # Scan specific file
/bug-hunt -b feature-xyz # Scan files changed in feature-xyz vs main
/bug-hunt -b feature-xyz --base dev # Scan files changed in feature-xyz vs dev
Branch diff mode (-b) scans only files changed in a branch compared to a base branch (defaults to main). It reads the full file contents — not just the diff — so bug detection quality is preserved.
cd ~/.claude/skills/bug-hunt && git pull
rm -rf ~/.claude/skills/bug-hunt
The scoring incentives are load-bearing — they exploit each agent's desire to maximize its score:
Based on the adversarial bug hunting technique described by @systematicls in "How To Be A World-Class Agentic Engineer."
Brand by Kitt at Curious Endeavor
Contributions welcome! See CONTRIBUTING.md for guidelines.
MIT
bug-hunt is a Claude Code plugin with 1 hand-picked skill, indexed on Flowy in the Debugging category. Install it with the command on its page. It includes bug-hunt. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it