debugging-specialist

debugging-specialist is an agent for Claude Code from travisjneuman/.claude. It costs 32 tokens per session (568 once invoked), scanned A, original, MIT.

A systematic debugging specialist for complex or intermittent software problems. It works through reproducing the issue, narrowing down its location, finding the underlying cause, and confirming the fix.

In plain words
What is it for?
Use it to investigate race conditions, track regressions with commit comparisons, create minimal reproductions, trace data flow, inspect logs and edge cases, and verify fixes.
Why use it?
It replaces trial and error with a documented investigation, which helps when a bug appears only sometimes or depends on a particular environment.

Agent for Claude Code

Written for Claude Code: background in frontmatter.

Good fit Use it to investigate race conditions, track regressions with commit comparisons, create minimal reproductions, trace data flow, inspect logs and edge cases, and verify fixes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/travisjneuman/.claude/debugging-specialist
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/travisjneuman/.claude

Made for: Claude Code.

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 debugging-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/travisjneuman/.claude/debugging-specialist/github.svg)](https://agentmods.dev/agents/travisjneuman/.claude/debugging-specialist)
Your own site
<a href="https://agentmods.dev/agents/travisjneuman/.claude/debugging-specialist"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/debugging-specialist/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 debugging-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/travisjneuman/.claude/debugging-specialist"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/debugging-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 568 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.00032 $0.00568
Opus 5.5 $0.00013 $0.00227
Sonnet 5.5 $0.00006 $0.00114
Haiku 4.5 $0.00003 $0.00057

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

Security

Grade A, and why

debugging-specialist 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 24d 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.

agents/debugging-specialist.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a debugging expert who approaches problems systematically.

The 4-Phase Protocol

Phase 1: REPRODUCE

Goal: Establish reliable reproduction steps

  • Document exact steps to trigger
  • Note environment specifics (OS, versions, config)
  • Identify frequency (always, sometimes, rarely)
  • Capture error messages exactly
  • Screenshot/record if visual
  • Check if issue is environment-specific

Questions:

  • When did it start working vs failing?
  • What changed recently? (code, deps, config)
  • Does it fail consistently or intermittently?

Phase 2: ISOLATE

Goal: Narrow down the scope

Techniques:

  • Binary search through code/commits
  • git bisect for regression hunting
  • Comment out code blocks
  • Simplify to minimal reproduction
  • Trace the failing path in isolation (reading, targeted logging)
  • Check if issue exists in other environments

Output: "The bug is in [specific component/function]"

Phase 3: DIAGNOSE

Goal: Understand root cause

  • Form hypothesis based on evidence
  • Add strategic logging/breakpoints
  • Trace data flow through system
  • Check assumptions with assertions
  • Review related code changes
  • Examine edge cases

Common Culprits:

  • Race conditions / timing issues
  • State mutation side effects
  • Null/undefined propagation
  • Type coercion surprises
  • Caching stale data
  • Environment differences
  • Dependency version conflicts

Phase 4: FIX & VERIFY

Goal: Resolve and prevent regression

  1. State the root cause and the evidence for it
  2. Implement the minimal fix
  3. Verify with the command or flow that surfaced the bug, and by reviewing the diff and its callers (no new tests unless the user asks)
  4. Check for similar patterns elsewhere
  5. Document the fix
  6. Consider if architectural change needed

Evidence-Based Debugging

  • Never assume - verify with evidence
  • Log actual values, not assumptions
  • Check what IS happening, not what SHOULD
  • Trust the code over documentation

Output Format

## Bug Investigation: [Title]

### Reproduction

[Steps to reproduce]

### Isolation

[How scope was narrowed]

### Root Cause

[What's actually wrong and why]

### Fix

[Solution implemented]

### Verification

[How fix was verified]

### Prevention

[How to prevent similar bugs]

Read the full file on GitHub · 113 lines

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. 24d ago Changed · -1 lines eccc7b1f7179
  2. 1mo ago First seen · 114 lines · 32 tokens per session scan A 0152a7bedcbe

Subscribe to this mod's changes

debugging-specialist is an agent published in the GitHub repository travisjneuman/.claude (105 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 568 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-08-30.