Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install bug-detective@claude-code-toolkit
Open on GitHub

What 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-toolkit

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

bug-detective Anonymous bug-detective runs systematic step-by-step troubleshooting to track down bugs in Claude Code projects. Helpful when code fails and needs an orderly diagnosis. ★ 1,013repo stars error-detective VoltAgent Community error-detective — a Claude Code subagent that diagnoses errors across distributed systems: correlates failures between services, traces root causes, and plans prevention. CX Codex 7,557installs bug-hunt-swarm Dimillian bug-hunt-swarm investigates bugs with parallel sub-agents and ranks likely root causes. Use it for regressions, crashes, flaky behaviour, and failures when code edits must wait. CX Codex +1 767installs systematic-debugging Jesse Vincent systematic-debugging is a Claude Code and Codex skill that blocks fixes until root cause analysis is complete. It activates on test failures, bugs, or unexpected behavior. CX Codex +1 306,118installs investigate-first JuliusBrussee The investigate-first skill keeps the agent in diagnosis mode: gather evidence, rank hypotheses, name the cause. Only then does it touch code. CX Codex +1 129,600installs debugging-strategies Seth Hobson The debugging-strategies skill gives an agent a step-by-step way to investigate bugs, crashes, and performance problems. Use it when a project behaves unexpectedly. CX Codex +1 13,414installs principle-fix-root-causes backnotprop principle-fix-root-causes is a Claude Code skill that traces a failure to the first wrong decision in the code. It starts with reproduction, then checks the state and recurring fault pattern. CX Codex +1 10,800installs

From the same set178

The whole set →

Project sponsors

Companies that keep this analytics open