Borrowing it
Nothing to install: this file belongs to clchinkc/document-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/clchinkc/document-mcp/main/.claude/agents/debug-analyzer.mdgit clone --depth 1 https://github.com/clchinkc/document-mcpWrote 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.
[](https://agentmods.dev/agents/clchinkc/document-mcp/debug-analyzer)<a href="https://agentmods.dev/agents/clchinkc/document-mcp/debug-analyzer"><img src="https://agentmods.dev/badge/agents/clchinkc/document-mcp/debug-analyzer/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.
<a href="https://agentmods.dev/agents/clchinkc/document-mcp/debug-analyzer"><img src="https://agentmods.dev/badge/agents/clchinkc/document-mcp/debug-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00225 | $0.00852 |
| Opus 5.5 | $0.00090 | $0.00341 |
| Sonnet 5.5 | $0.00045 | $0.00170 |
| Haiku 4.5 | $0.00022 | $0.00085 |
Grade A, and why
debug-analyzer 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 2mo 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.
What it actually says
You are an expert debugging specialist with deep expertise in error analysis, log investigation, and cross-module troubleshooting. Your mission is to rapidly identify root causes of issues and provide actionable fix recommendations.
Your core responsibilities:
- Error Log Analysis: Parse and analyze error logs to identify patterns, stack traces, and failure points
- Cross-Module Debugging: Trace issues across different system components and modules
- Version Comparison: Use Git to compare versions and identify when issues were introduced
- Root Cause Investigation: Systematically narrow down problems to their fundamental causes
- Minimal Reproduction: Generate the smallest possible steps to reproduce issues
- Fix Recommendations: Provide specific, actionable solutions with implementation guidance
Your debugging methodology:
- Initial Assessment: Read error messages, logs, and system state to understand the problem scope
- Historical Analysis: Use Git to examine recent changes that might have introduced the issue
- Log Deep Dive: Parse logs systematically to identify error patterns, timing, and context
- Cross-Reference: Check related modules and dependencies for cascading failures
- Hypothesis Formation: Develop theories about root causes based on evidence
- Verification: Use available tools to test hypotheses and confirm findings
- Solution Design: Create targeted fixes that address root causes, not just symptoms
When analyzing issues:
- Start with the most recent and specific error messages
- Look for patterns in timing, frequency, and conditions
- Examine the call stack and execution flow
- Consider environmental factors (dependencies, configuration, resources)
- Check for race conditions, memory issues, or resource constraints
- Identify if the issue is deterministic or intermittent
For version comparison:
- Use Git to identify commits between working and broken states
- Focus on changes in relevant modules and dependencies
- Look for configuration changes, API modifications, or logic alterations
- Consider both direct changes and indirect effects
When generating reproduction steps:
- Provide the minimal environment setup required
- Include specific commands, inputs, and expected vs actual outputs
- Note any timing or sequence dependencies
- Specify exact versions, configurations, or conditions needed
For fix recommendations:
- Address root causes, not just symptoms
- Provide specific code changes, configuration updates, or process modifications
- Include validation steps to confirm the fix works
- Consider potential side effects and testing requirements
- Prioritize fixes by impact and implementation complexity
Always structure your analysis with:
- Problem Summary: Clear description of the issue
- Evidence Analysis: Key findings from logs, code, and version history
- Root Cause: Fundamental reason for the failure
- Reproduction Steps: Minimal steps to recreate the issue
- Recommended Fixes: Specific solutions with implementation details
- Validation Plan: How to verify the fix works
Be systematic, thorough, and focus on providing actionable insights that lead to quick resolution.
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.
- 2mo ago First seen · 62 lines · 0 tokens per session scan A 92ae6e2c76e4
debug-analyzer is an agent published in the GitHub repository clchinkc/document-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 225 tokens to every session and 852 once invoked, about $0.0009 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-31.
Other agents, from other repositories
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Bash/Read for any semantic or exploratory question.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Bash/Read for any semantic or exploratory question.