# hunt-regressions

hunt-regressions — a skill for Claude Code that discovers potential regressions before reproduction. Runs when analyzing code changes and their callers.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 675 installs · ★ 8341 repo stars
- Author: trailofbits
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/trailofbits/skills/tree/HEAD/plugins/regression-hunt/skills/hunt-regressions/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/hunt-regressions

## What it does

The skill automates the detection of problematic code areas by examining how specific changes impact callers. The agent reviews diffs, traces behavior through interfaces, and logs potential defects into a `hunt.json` file.

It requires prior preparation, including change context, frozen S0/S1 states, and registry assignments. The skill does not confirm bugs, as that task is reserved for reproduction. If the search is blocked, the agent records partial coverage and uninspected areas to seal the final package.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill hunt-regressions -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/hunt-regressions/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/hunt-regressions/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill hunt-regressions -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/hunt-regressions/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill hunt-regressions -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/hunt-regressions/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install trailofbits/skills plugins/regression-hunt/skills/hunt-regressions
```

2. **Manually: put the files in place**
- File: `.github/skills/hunt-regressions/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill hunt-regressions -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/trailofbits/skills --path plugins/regression-hunt/skills/hunt-regressions
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/hunt-regressions/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill hunt-regressions -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/trailofbits/skills/tree/HEAD/plugins/regression-hunt/skills/hunt-regressions/SKILL.md

## When to use it
- discover potential code regressions
- trace change impact through interfaces
- log candidates for defects
- prepare data for bug reproduction

## Example prompts
- find regressions for the current change
- analyze calls from the modified code
- list candidates in `hunt.json`

## Similar
- [hunt](https://affpapa.org/en/nevibecode/skills/hunt.md) — skill · 15300 installs
- [w-debug](https://affpapa.org/en/nevibecode/skills/w-debug.md) — skill · 647 installs
- [fix](https://affpapa.org/en/nevibecode/skills/buiducnhat-fix.md) — skill · 280 installs
- [bugfix](https://affpapa.org/en/nevibecode/skills/bugfix.md) — skill · 176 installs
- [autoresearch](https://affpapa.org/en/nevibecode/skills/uditgoenka-autoresearch.md) — skill · 2700 installs
- [fix-issue](https://affpapa.org/en/nevibecode/skills/orchestkit-fix-issue.md) — skill · 217 installs

From the same set: [trailofbits/skills](https://affpapa.org/en/nevibecode/by/trailofbits/skills.md) — 95 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
