bug-detective · rohitg00 — Claude Code plugin: what it does, how to install
bug-detective is a Claude Code plugin that traces execution and finds root causes during debugging, directing fixes at causes rather than symptoms.
Apache-2.0 ★ 2,858 updated 2026-05-12
/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install bug-detective@claude-code-toolkitWhat bug-detective does
bug-detective gives Claude Code a structured way through a bug: root cause first, then a look at how execution reached the failure. The visible symptom counts as a consequence, not the place to start.
Two modes carry the work. Root cause analysis answers why the bug happens; execution tracing shows the path the code took before it broke.
It ships through the claude-code-toolkit marketplace and targets Claude Code. Add the marketplace, then install the plugin. Outside Claude Code the install path does not apply, since the marketplace belongs to Claude Code.
What it helps with
- find the root cause of a crash instead of patching the symptom
- trace how execution arrived at the failing line
- walk through a bug step by step rather than guessing
- pinpoint where the code diverged before touching it
Example prompts for the agent
- Debug this failure: find the root cause and show where execution went wrong
- Trace the run up to the crash and explain why it got there
- Prove what the actual root cause is instead of reading the stack trace out loud
How to install bug-detective
Plugin marketplace
/plugin marketplace add rohitg00/awesome-claude-code-toolkit/plugin install bug-detective@claude-code-toolkitStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about bug-detective
How do I install bug-detective in Claude Code?
Use the marketplace: /plugin marketplace add rohitg00/awesome-claude-code-toolkit, then /plugin install bug-detective@claude-code-toolkit.
What does bug-detective do?
It runs debugging as a procedure: root cause analysis plus execution tracing, so you can see the code path that led to the error.
Does bug-detective work outside Claude Code?
Install runs through the Claude Code marketplace, and the plugin is built for Claude Code.
Source text
bug-detective · Apache-2.0
Debug issues systematically with root cause analysis and execution tracing
© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit
Similar plugins
All plugins for Code review and refactoring →bug-detective by other authors comes first.