Skip to content

Guide · Agent skill

How to use the Hunt root-cause debugging agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

Hunt is an agent skill from the tw93/Waza collection that makes an AI agent diagnose a problem before it changes any code. It is aimed at developers dealing with errors, crashes, test failures and regressions that keep returning after quick patches. After this guide you will know what the skill does, how to install it, how to trigger it with a natural request, and what to check before you rely on it.

Hunt: Root-Cause Debuggingtw93/Waza · MIT

Quick start

  1. 1Download the ZIP. Get the hunt skill ZIP from the directory page and unzip it on your computer.
  2. 2Place the folder. Move the hunt folder into ~/.claude/skills/ for personal use, or into the project's .claude/skills/ folder for one repository.
  3. 3Or upload in the Claude apps. In the Claude apps, open Settings, go to Capabilities, then Skills, and upload the ZIP.
  4. 4Check Git. Make sure Git is installed and your project is a Git repository, since bisect and diff steps depend on it.
  5. 5Describe the failure. Ask for a diagnosis in plain words, naming the error, crash or regression and what used to work.
  6. 6Review the root cause. Read the one-sentence root cause the agent states before accepting any code change.
  7. 7Confirm the verification. Check that the agent ran a repeatable test or real runtime check and listed any sibling risks.

What the Hunt skill makes the agent do

When something errors, crashes, regresses or stops working, Hunt tells the agent to stop and state a specific, testable explanation of the cause first. The agent must name a file, function, line or condition, and state it in the form "I believe the root cause is [X] because [evidence]." Until that sentence exists, the agent is not supposed to touch code.

The skill then asks the agent to check every reported symptom against that explanation, reproduce the problem, read logs and state, and apply a fix only when a repeatable check verifies it. It also sweeps the codebase for the same bug pattern elsewhere and reports what it finds.

  • Report-only words such as "diagnose", "investigate", "why" or "look into" mean the agent investigates without fixing.
  • A fix is applied only when your request explicitly asks for one, such as "fix", "change", "implement" or "optimize".
  • A fix authorization never includes commit, push, publish or destructive actions.

Install the Hunt skill

Download the ZIP for the hunt skill from the directory page and unzip it. Then place the folder in one of two locations, depending on how you want to use it.

You can also upload the skill through the Claude apps. Open Settings, go to Capabilities, then Skills, and upload the skill there.

  • Personal install: unzip into ~/.claude/skills/ so it is available across your projects.
  • Project install: unzip into the project's .claude/skills/ folder so it applies only to that repository.
  • Claude apps: Settings → Capabilities → Skills, then upload the ZIP.
~/.claude/skills/

Check what you need before you start

Hunt needs Git, because its bisect and diff workflows run commands such as git status, git diff and git bisect. The agent also needs a runtime that can read your repository and run commands. The exact test or build tools depend on your project.

The skill runs scripts, but it does not use the network, according to the directory listing.

  • Git installed and the project under version control
  • An agent runtime that can read files and run commands in the repository
  • Your project's own test or build tools available locally

Trigger Hunt with a natural request

You do not need a special command. Describe the problem in plain words and mention the failure. The skill's trigger phrases include "debug", "regression", "used to work", "broke after update", "why broken", "not working", "fix error" and "stack trace". Chinese triggers such as 排查 and 报错 also work.

Say what you already know. If the bug used to work at a specific commit or version, say so, because that switches the agent into bisect mode.

  • "This test started failing after the last merge. Find the root cause before changing anything."
  • "The export crashes with a stack trace pasted below. Why is it breaking?"
  • "It used to work on v2 of the parser. Look into what changed."
  • "The fix I applied didn't hold, the same error is back. Diagnose it again."

Use bisect mode and repeated-regression mode

When you say something worked before, Hunt activates bisect mode. It first checks git status. If there are modified, staged or untracked files, the agent runs the search in a temporary detached worktree and removes that worktree afterward. If a temporary worktree is not possible, it asks for your approval before cleaning up or stashing.

If the last good version is only a few releases back, the agent reads the diff first. Bisect is used when the diff is too large or the culprit is unclear. Bisect requires a non-interactive pass or fail command defined in advance.

When the same issue is still wrong after a fix, or you provide a good screenshot or version, the skill treats that reference as evidence. The agent lists every symptom in your words and defines a pass/fail check before editing.

git status --short --branch -uall

Read the output and verify the result

A Hunt run should end with a root cause, the fix or handoff, the verification result and any sibling risks it did not fix. The skill's runtime evidence ladder asks for a source trace, a deterministic repro, logs or state, a narrow test or build, and for UI or native bugs a real runtime check with a screenshot or checklist.

Compiling is not enough for visual or rendering bugs. If the agent cannot run the real check in your environment, it should tell you why and give you the exact screen or command to verify.

  • Sibling sweep: after a fix, the agent greps for the same pattern and labels each match as same bug, safe to leave, or unsure.
  • Unrelated bugs found during the sweep are listed, not fixed, unless you agree.

What people use it for

  • Tracking down a crash or test failure that keeps returning after quick patches.
  • Finding which commit caused a feature that used to work to break.
  • Checking whether the same bug pattern appears in other places in the codebase after one fix.
  • Investigating a visual or rendering regression by comparing against a known-good screenshot or build.

Frequently asked questions

How do I install the hunt agent skill?

Download the ZIP from the directory page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. You can also upload the ZIP in the Claude apps under Settings, then Capabilities, then Skills.

What do I need to run the hunt skill?

You need Git, since the bisect and diff workflows run git commands like git status, git diff and git bisect. You also need an agent runtime that can read the repository and run commands, plus whatever test or build tools your project uses.

Is the hunt skill free?

The skill is listed under the MIT licence. The directory page does not state pricing, so check the source repository for any details beyond the licence.

Does hunt change my code automatically?

No. The skill is built to find the root cause first. It applies a fix only when your request explicitly asks for one, and it verifies the fix with a repeatable check.

Does hunt use the internet?

The directory listing says it does not use the network, but it does run scripts. Review the scripts in the ZIP if you need to confirm what they do.

Why does the agent refuse to fix my bug yet?

Hunt requires a one-sentence root cause that names a specific file, function, line or condition, backed by evidence. If the agent has not reached that point, it will keep investigating rather than editing code. Give it logs, a repro command or the last good version to speed this up.

Is hunt good for code review or new features?

No. The skill explicitly excludes code review and designing new features, so use a different approach for those tasks.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Hunt suits developers who keep applying fixes that do not stick, or who are chasing a regression with a known good version or commit. It is less useful for code review, new feature design or purely visual style decisions, which the skill routes elsewhere. Bisect work in a repository with uncommitted changes needs care, because the skill relies on a temporary worktree or your explicit approval.

Download the skill