# Bug hunt

> Bug hunt is an open-source agent skill for developer tools. Lets an agent proactively hunt latent bugs in a feature by reading source and tracing data. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ajyadav013/claude-kit/tree/main/providers/codex/claude-kit/skills/bug-hunt
- **Repository:** https://github.com/ajyadav013/claude-kit
- **GitHub stars:** 13
- **License:** MIT
- **Skill name:** bug-hunt
- **Collection:** https://github.com/ajyadav013/claude-kit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ajyadav013/claude-kit/tree/HEAD/providers/codex/claude-kit/skills/bug-hunt)
- [License: MIT](https://github.com/ajyadav013/claude-kit/tree/HEAD/providers/codex/claude-kit/skills/bug-hunt)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

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

## Alternatives

- [Systematic Debugging](https://ai-powered.com/skills/systematic-debugging-joaoariedi): Systematic Debugging is an open-source agent skill for developer tools.
- [Bug fix](https://ai-powered.com/skills/bug-fix): Bug fix is an open-source agent skill for developer tools.
- [Principle fix root causes](https://ai-powered.com/skills/principle-fix-root-causes): Principle fix root causes is an open-source agent skill for developer tools.
- [Systematic bug hunting](https://ai-powered.com/skills/systematic-bug-hunting): Systematic bug hunting is an open-source agent skill for security.
- [Debugging](https://ai-powered.com/skills/debugging): Debugging is an open-source agent skill for developer tools.
- [Debug](https://ai-powered.com/skills/debug-tansuasici): Debug is an open-source agent skill for developer tools.
- [Debug hypothesis](https://ai-powered.com/skills/debug-hypothesis): Debug hypothesis is an open-source agent skill for developer tools.
- [Debug issue](https://ai-powered.com/skills/debug-issue): Debug issue is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/bug-hunt
