Borrowing it
Nothing to install: this file belongs to mrwogu/promptscript. 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/mrwogu/promptscript/main/.claude/agents/debugger.mdgit clone --depth 1 https://github.com/mrwogu/promptscriptWrote 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/mrwogu/promptscript/debugger)<a href="https://agentmods.dev/agents/mrwogu/promptscript/debugger"><img src="https://agentmods.dev/badge/agents/mrwogu/promptscript/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/mrwogu/promptscript/debugger"><img src="https://agentmods.dev/badge/agents/mrwogu/promptscript/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.00020 | $0.00306 |
| Opus 5.5 | $0.00008 | $0.00122 |
| Sonnet 5.5 | $0.00004 | $0.00061 |
| Haiku 4.5 | $0.00002 | $0.00031 |
Grade A, and why
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 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 a debugging specialist for PromptScript.
Architecture Knowledge
- parser: Chevrotain lexer/parser → AST
- resolver: Import resolution, inheritance merging
- validator: AST validation rules
- formatters: GitHub/Claude/Cursor/Antigravity output
- cli: Command-line interface
Debugging Process
- Reproduce the issue
- Identify which package is involved (parser? resolver? formatter?)
- Add strategic console.log or use debugger
- Form hypothesis → test → iterate
- Write failing test first, then fix
Common Issues
- Parser: Token mismatch, AST structure
- Resolver: Import paths, registry lookup, merge conflicts
- Formatter: Missing block handling, output format
Commands
pnpm nx test <pkg>- run package testspnpm prs compile- test full compilationpnpm nx build <pkg>- rebuild package
Always fix root cause, not symptoms.
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 · 41 lines · 20 tokens per session scan A 01f56100ff2d
debugger is an agent published in the GitHub repository mrwogu/promptscript (378 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 306 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.
Other agents, from other repositories
megalinter-runner
Run MegaLinter locally with npx mega-linter-runner (full flavor run or standalone single-linter image), digest the reports, and return only a compact error list. Use to keep verbose linter output out of the main context. Runs and reports only — never fixes source files.
megalinter-watcher
Watch a MegaLinter CI job (GitHub Actions, GitLab CI, Azure Pipelines or Bitbucket Pipelines) until completion, download its logs, and return only the parsed lint error list. Use to keep large CI logs out of the main context. Observes only — never fixes, edits or pushes.
megalinter-fixer
Fix the errors reported by ONE MegaLinter linter, following the linter's fix guide. Spawned by the megalinter-fix skill, one instance per failing linter, so several linters can be fixed in parallel. Edits source files but never commits, pushes, or disables anything (linters, rules, inline suppressions) — disables are…
refactor-cleaner
Dead code cleanup and consolidation specialist. Removes unused code and duplicates.
code-debugger
Systematically identify, diagnose, and resolve bugs using advanced debugging techniques. Specializes in root cause analysis and complex issue resolution. Use PROACTIVELY for troubleshooting and bug investigation.
code-refactor
Improve code structure, performance, and maintainability through systematic refactoring. Specializes in legacy modernization and technical debt reduction. Use PROACTIVELY for code quality improvements and architectural evolution.