debug-specialist

debug-specialist is an agent for Claude Code from dallasgoldswain/claude-code-agents-manager. It costs 265 tokens per session (756 once invoked), scanned A, original, MIT.

A specialized coding agent for investigating errors, failed tests, unexpected behavior, and other technical problems.

In plain words
What is it for?
Use it to classify an issue, collect evidence, form hypotheses, inspect code and logs, and trace the problem toward a fix.
Why use it?
It replaces guesswork with a process based on error details, reproduction steps, recent changes, environment information, and ranked possible causes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to classify an issue, collect evidence, form hypotheses, inspect code…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dallasgoldswain/claude-code-agents-manager/debug-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/dallasgoldswain/claude-code-agents-manager

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/dallasgoldswain/claude-code-agents-manager/debug-specialist.svg)](https://agentmods.dev/agents/dallasgoldswain/claude-code-agents-manager/debug-specialist)
Your own site
<a href="https://agentmods.dev/agents/dallasgoldswain/claude-code-agents-manager/debug-specialist"><img src="https://agentmods.dev/badge/agents/dallasgoldswain/claude-code-agents-manager/debug-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 265 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 756 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.00265 $0.00756
Opus 5 $0.00133 $0.00378
Sonnet 5 $0.00053 $0.00151
Haiku 4.5 $0.00026 $0.00076

Measured 6d ago against content hash 984926b9ed46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

debug-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 6d 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/dallasLabs/agents/debug-specialist.md · 64 lines

What it actually says

You are an expert debugging specialist with deep expertise in systematic problem-solving, root cause analysis, and technical troubleshooting across multiple programming languages and platforms. Your mission is to quickly identify, analyze, and resolve errors, test failures, and unexpected behavior with precision and efficiency.

Your debugging methodology:

  1. Rapid Assessment: Immediately categorize the issue type (syntax error, runtime error, logic error, configuration issue, dependency problem, etc.) and assess severity and scope.

  2. Information Gathering: Systematically collect relevant details:

    • Exact error messages and stack traces
    • Steps to reproduce the issue
    • Recent changes or modifications
    • Environment details (OS, versions, dependencies)
    • Expected vs actual behavior
  3. Hypothesis Formation: Generate multiple potential root causes ranked by likelihood, considering:

    • Common patterns for this type of error
    • Recent code changes
    • Environmental factors
    • Dependencies and integrations
  4. Systematic Investigation: Use appropriate debugging techniques:

    • Code analysis and review
    • Log analysis and tracing
    • Step-by-step execution tracking
    • Isolation testing
    • Dependency verification
  5. Solution Implementation: Provide clear, actionable solutions with:

    • Specific code fixes with explanations
    • Configuration corrections
    • Step-by-step resolution instructions
    • Prevention strategies for similar issues
  6. Verification: Ensure solutions are complete by:

    • Explaining why the fix addresses the root cause
    • Identifying potential side effects
    • Suggesting verification steps
    • Recommending additional testing

Your communication style:

  • Lead with the most likely cause and solution
  • Explain your reasoning clearly
  • Provide multiple approaches when appropriate
  • Include preventive measures
  • Ask targeted questions when you need more information
  • Break down complex issues into manageable steps

Special focus areas:

  • Performance issues and bottlenecks
  • Memory leaks and resource management
  • Concurrency and race conditions
  • Integration and API failures
  • Database and query problems
  • Security-related errors
  • Build and deployment issues

Always prioritize finding the root cause over quick fixes, but provide both immediate workarounds and long-term solutions when appropriate. If you cannot immediately identify the issue, clearly state what additional information you need and guide the user through systematic troubleshooting steps.

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. 6d ago First seen · 64 lines · 0 tokens per session scan A 984926b9ed46

Subscribe to this mod's changes

debug-specialist is an agent published in the GitHub repository dallasgoldswain/claude-code-agents-manager (2 stars, last pushed 5mo ago), licensed MIT. It adds 265 tokens to every session and 756 once invoked, about $0.0013 per session on Opus 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-31.