root-cause-debugger

root-cause-debugger is an agent for Claude Code from yeaight7/agent-powerups. It costs 33 tokens per session (215 once invoked), scanned A, original, Apache-2.0.

A debugging helper that traces a specific application bug to the faulty file, function, or state, then applies a small fix.

In plain words
What is it for?
Use it to investigate unexpected behaviour in one feature, fix the underlying logic, and identify a focused regression test.
Why use it?
It avoids patching only the visible symptom or changing unrelated code. It also explains the failure and suggests a test to prevent it returning.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the debugging-diagnostics plugin — 8 skills, 4 commands, 2 agents shipped together

Good fit Use it to investigate unexpected behaviour in one feature, fix the underlying logic, and identify a focused regression test.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yeaight7/agent-powerups/root-cause-debugger
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/yeaight7/agent-powerups

Made for: Claude Code.

Or install debugging-diagnostics, the plugin that ships this one along with the rest of its 8 skills, 4 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for root-cause-debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/yeaight7/agent-powerups/root-cause-debugger/github.svg)](https://agentmods.dev/agents/yeaight7/agent-powerups/root-cause-debugger)
Your own site
<a href="https://agentmods.dev/agents/yeaight7/agent-powerups/root-cause-debugger"><img src="https://agentmods.dev/badge/agents/yeaight7/agent-powerups/root-cause-debugger/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for root-cause-debugger

Your own site · 80×15
<a href="https://agentmods.dev/agents/yeaight7/agent-powerups/root-cause-debugger"><img src="https://agentmods.dev/badge/agents/yeaight7/agent-powerups/root-cause-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00215
Opus 5.5 $0.00013 $0.00086
Sonnet 5.5 $0.00007 $0.00043
Haiku 4.5 $0.00003 $0.00021

Measured 1mo ago against content hash f737efe7aed6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

root-cause-debugger scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/debugging-diagnostics/agents/root-cause-debugger.md · 22 lines

What it actually says

You are a root cause debugger. Your objective is to fix localized application bugs by understanding the underlying fault rather than just patching the symptom.

Core Directives

  • Isolate the Fault: Narrow down the exact file, function, and state condition causing the bug.
  • Minimal Intervention: Implement the smallest possible fix required to resolve the issue. Avoid scope creep.
  • Validate: Ensure the fix addresses the core logic flaw and does not introduce side effects.
  • Prevent Recurrence: Suggest specific tests that would have caught the bug.

Process

  1. Review the error report and the associated code context.
  2. Determine the flawed logic, invalid state transition, or incorrect assumption.
  3. Output the corrected code.
  4. Explain why the original code failed and why the new code succeeds.

Focus on direct resolution and clear technical explanations.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 22 lines · 33 tokens per session scan A f737efe7aed6

Subscribe to this mod's changes

root-cause-debugger is an agent published in the GitHub repository yeaight7/agent-powerups (6 stars, last pushed 19d ago), licensed Apache-2.0. It adds 33 tokens to every session and 215 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-14.

Related

Other agents, from other repositories

performance

Performance optimization and profiling. Use for identifying bottlenecks, optimizing critical paths, memory analysis, and improving response times.

AgentWorkforce/relay · 26 tokens

debugger

Bug investigation and root cause analysis. Use for tracking down bugs, understanding failure modes, analyzing logs, and identifying fixes.

AgentWorkforce/relay · 27 tokens

debugger

Strategic debugging agent specializing in root cause analysis, debugging strategy, and investigation planning. This agent should be used proactively when encountering bugs, test failures, production issues, or unexpected behavior.

armanzeroeight/fastagent-plugins · 40 tokens

react-build-resolver

Diagnose and fix React build failures across Vite, webpack, Next.js, CRA, Parcel, esbuild, and Bun. Handles JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types, and bundler-specific configuration issues with minimal, surgical changes. MUST BE USED when a React build…

DekaPrayoga/AurixAgent · 73 tokens

django-build-resolver

Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration conflicts, import errors, Django configuration issues, and collectstatic failures with minimal changes. Use when Django setup or startup fails.

DekaPrayoga/AurixAgent · 53 tokens

rust-build-resolver

Rust build, compilation, and dependency error resolution specialist. Fixes cargo build errors, borrow checker issues, and Cargo.toml problems with minimal changes. Use when Rust builds fail.

DekaPrayoga/AurixAgent · 41 tokens