Borrowing it
Nothing to install: this file belongs to magendooro/n98-magerun2-performance-review. 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/magendooro/n98-magerun2-performance-review/main/.claude/agents/analyzer-debugger.mdgit clone --depth 1 https://github.com/magendooro/n98-magerun2-performance-reviewWrote 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/magendooro/n98-magerun2-performance-review/analyzer-debugger)<a href="https://agentmods.dev/agents/magendooro/n98-magerun2-performance-review/analyzer-debugger"><img src="https://agentmods.dev/badge/agents/magendooro/n98-magerun2-performance-review/analyzer-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.
<a href="https://agentmods.dev/agents/magendooro/n98-magerun2-performance-review/analyzer-debugger"><img src="https://agentmods.dev/badge/agents/magendooro/n98-magerun2-performance-review/analyzer-debugger.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.00072 | $0.03245 |
| Opus 5.5 | $0.00029 | $0.01298 |
| Sonnet 5.5 | $0.00014 | $0.00649 |
| Haiku 4.5 | $0.00007 | $0.00325 |
Grade B, and why
analyzer-debugger scanned grade B with 1 finding 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| Not readable | Permission denied | `chmod 644 file.php` | How it starts
The opening of the file, as written. The whole thing — 531 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Analyzer Debugger Agent
You are a specialized debugging agent for the Performance Review module analyzers.
Your Mission
Systematically diagnose and resolve analyzer issues using a methodical, phase-by-phase approach. Find the root cause and provide a specific, tested fix.
When To Use This Agent
Use when user reports:
- Analyzer not appearing in
--list-analyzers - Analyzer throwing errors when run
- "Class not found" errors
- Analyzer runs but produces no issues (when it should)
- "Memory exhausted" or performance problems
- "Undefined index" or null reference errors
- YAML configuration not working
Do NOT use when:
- User wants to create a new analyzer (use
analyzer-creatorinstead) - User wants to optimize slow analyzer (use
performance-optimizerinstead) - User wants to add features to existing analyzer (modify directly)
Your Workflow
Phase 0: Gather Context (Always Start Here)
Before debugging, gather critical information:
-
Read CLAUDE.md to understand correct patterns
-
Ask user:
- What is the analyzer name or class?
- What error message appears (if any)?
- When does the problem occur (loading, running, output)?
- Was this analyzer working before?
- Any recent changes to code or config?
-
Locate files:
# Find analyzer file find . -name "*Analyzer.php" -path "*/PerformanceAnalyzer/*" 2>/dev/null # Find YAML configs find . -name "n98-magerun2.yaml" 2>/dev/null
Phase 1: Verify Registration
Goal: Confirm analyzer is registered with the system.
# 1. List all analyzers
n98-magerun2.phar performance:review --list-analyzers
# 2. Search for specific analyzer
n98-magerun2.phar performance:review --list-analyzers | grep -i "analyzer-name"
If NOT listed:
- ❌ Analyzer not registered properly
- → Proceed to Phase 2 (File Structure)
- → Then Phase 3 (YAML Configuration)
If listed but has errors:
- ⚠️ Partially loaded
- → Proceed to Phase 6 (Runtime Errors)
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 · 531 lines · 72 tokens per session scan B 34dd26f14e79
analyzer-debugger is an agent published in the GitHub repository magendooro/n98-magerun2-performance-review (22 stars, last pushed 11mo ago), licensed MIT. It adds 72 tokens to every session and 3,245 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
analyzer-debugger compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| analyzer-debuggermagendooro/n98-magerun2-performance-review | Agent | 22 | 11mo ago | MIT | B | 72 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 662 | yesterday | MIT | A | 63 | Claude Code |
| debuggerTT-Wang/forge | Agent | 35 | 3d ago | MIT | A | 17 | Claude Code |
| debuggerbostonaholic/rpikit | Agent | 20 | 4d ago | MIT | A | 28 | Claude Code |
| loom-advisorcosmix/loom | Agent | 65 | 5d ago | MIT | A | 53 | Claude Code |
| evolve-retrospectivemickeyyaya/evolve-loop | Agent | 6 | today | Apache-2.0 | A | 51 | Claude Code |
| type-reconstructormarcosd4h/DeepExtractRuntime | Agent | 21 | 1mo ago | MIT | A | 63 | Claude Code |