Skip to content
Skill

Bug hunt

Lets an agent proactively hunt latent bugs in a feature by reading source and tracing data

Bug hunt is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
13
Last commit
License
MIT
Listing updated

Similar skills

About Bug hunt

This skill guides the agent through a source-driven search for defects that have not yet surfaced in a feature or module. The agent first maps entry points, data flow, trust boundaries and shared state, then walks a fixed checklist covering input edge cases, unhandled failures, state management, concurrency and ordering, output rendering, and authorization scoping.

Each suspected problem must be confirmed in the code before it is recorded. Findings are written up with an exact file and line, a reproduction case, the root cause quoted from source, impact, and a suggested minimal fix, then rated on a Critical, High, Medium, Low or Cosmetic scale. Recurring issues are grouped into a single systemic pattern, and the closing summary counts findings by severity, names the top three fixes and states any area not covered.

The skill is meant for code that appears to work, before shipping or when inheriting unfamiliar code. It refers to companion skills in the same kit for debugging a known failure, reviewing a diff, and quality gates, so those are expected alongside it.

When your agent uses it

Proactively hunt latent defects across a feature/module by reading source and tracing data flow. Use to find bugs before they ship. Distinct from debugging a known failure or reviewing a diff.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (12 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the claude-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kit

Or copy only this skill to ~/.claude/skills/bug-hunt:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bug-hunt &&
cp -R "$tmp/providers/codex/claude-kit/skills/bug-hunt" ~/.claude/skills/bug-hunt &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/bug-hunt inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/bug-hunt to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bug-hunt &&
cp -R "$tmp/providers/codex/claude-kit/skills/bug-hunt" ~/.agents/skills/bug-hunt &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/bug-hunt inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/bug-hunt to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bug-hunt &&
cp -R "$tmp/providers/codex/claude-kit/skills/bug-hunt" ~/.cursor/skills/bug-hunt &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/bug-hunt inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ajyadav013/claude-kit.git --path providers/codex/claude-kit/skills/bug-hunt

Or copy the folder to ~/.gemini/skills/bug-hunt yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/bug-hunt:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bug-hunt &&
cp -R "$tmp/providers/codex/claude-kit/skills/bug-hunt" ~/.copilot/skills/bug-hunt &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/bug-hunt inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ajyadav013/claude-kit.git

Then copy claude-kit/providers/codex/claude-kit/skills/bug-hunt into your agent's skills folder as bug-hunt. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Feature mapping
Builds a map of entry points, data flow, boundaries and state before judging individual lines.
Scenario checklist
Sweeps input, error handling, state, concurrency, output and authorization categories for each entry point.
Evidence-backed findings
Records each defect with file location, reproduction steps, root cause and impact.
Severity rating
Ranks findings on a Critical to Cosmetic scale based on blast radius and likelihood.
Systemic pattern pass
Groups repeated defects into shared fixes such as a common guard or validation boundary.
Hunt summary
Closes with severity counts, top three fixes and any areas left unassessed.

Good for

  • Find hidden bugs in a module before a release
  • Check unfamiliar code for fragile spots
  • Sweep a codebase for siblings of a recurring bug class
  • Review a feature for missing error handling and authorization checks

Bug hunt FAQ

When should I use this instead of debugging or code review?

Use it when nothing is visibly broken and you want to find latent defects across a feature. For a known failure, the skill points to debugging-and-error-recovery, and for a specific diff it points to code-review-and-quality.

What does the skill produce?

A list of findings in severity order, each with a file and line, reproduction input or state, root cause quoted from source, impact and a fix direction, followed by a summary of counts and top priorities.

Does Bug hunt run scripts or change code?

The skill has no scripts. It instructs the agent to read source and report findings with suggested fix directions rather than full patches.

Which severity model does Bug hunt use?

It uses a Critical, High, Medium, Low and Cosmetic model, referenced from a separate quality-gates skill.

How do I install Bug hunt in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bug-hunt to use it in all your projects, or to .claude/skills/bug-hunt in one project. Or install the claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.

Does Bug hunt run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Bug hunt?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Bug hunt?

The closest alternatives to Bug hunt are Systematic Debugging, Bug fix, Principle fix root causes, Systematic bug hunting and Debugging.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ajyadav013/claude-kit

  1. Guides an agent through pytest, async fixtures and security-regression tests for FastAPI

    • Open source
    • 13 GitHub stars
    • Developer tools
  2. Lets your agent inspect and debug live browser pages via Chrome DevTools MCP

    • Open source
    • 13 GitHub stars
    • Browser automation
  3. Runs concurrent load and stress tests against API endpoints to find latency and throughput

    • Open source
    • 13 GitHub stars
    • Developer tools
  4. Lets an agent click through a feature in a real browser and check how it behaves

    • Open source
    • 13 GitHub stars
    • Developer tools
  5. Runs quick health checks on backend, frontend and login to catch obvious breakage

    • Open source
    • 13 GitHub stars
    • Developer tools
  6. Guides an agent through red-green-refactor, bug reproduction tests and test pyramid

    • Open source
    • 13 GitHub stars
    • Developer tools