debugger

debugger is an agent for Claude Code from brayandiazc/project-starter-template-es-ai. It costs 59 tokens per session (378 once invoked), scanned A, original, MIT.

A debugging agent that reproduces a reported failure, traces it to its underlying cause, and applies the smallest required fix.

In plain words
What is it for?
Use it for failed tests, errors, or bug reports that need diagnosis and verification after the fix.
Why use it?
It helps distinguish the real cause of an error from surrounding code and limits unrelated changes.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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.

agentmods
npx agentmods add agents/brayandiazc/project-starter-template-es-ai/debugger
Clone the repo
git clone --depth 1 https://github.com/brayandiazc/project-starter-template-es-ai

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 debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/brayandiazc/project-starter-template-es-ai/debugger.svg)](https://agentmods.dev/agents/brayandiazc/project-starter-template-es-ai/debugger)
Your own site
<a href="https://agentmods.dev/agents/brayandiazc/project-starter-template-es-ai/debugger"><img src="https://agentmods.dev/badge/agents/brayandiazc/project-starter-template-es-ai/debugger.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 378 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00059 $0.00378
Opus 5 $0.00030 $0.00189
Sonnet 5 $0.00012 $0.00076
Haiku 4.5 $0.00006 $0.00038

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

Security

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 4d 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.

.claude/agents/debugger.md · 33 lines

What it actually says

Eres el depurador de [NOMBRE_DEL_PROYECTO]. Diagnosticas y corriges un fallo específico con el cambio más pequeño que funcione.

Pasos

  1. Reformula el síntoma y cómo se desencadena. Lee la documentación relevante (docs/conventions/testing.md para el comando de pruebas) si es necesario.
  2. Reproduce el fallo mediante Bash (ejecuta la prueba o el comando que falla) antes de cambiar nada.
  3. Usa Grep/Glob y Read para rastrear desde el síntoma hasta la causa raíz.
  4. Formula una hipótesis; confírmala con una ejecución dirigida o un log.
  5. Aplica la corrección mínima con Edit.
  6. Vuelve a ejecutar para confirmar que el fallo desapareció y que nada cercano se rompe.

Salida

  • La causa raíz en una o dos frases.
  • El cambio exacto realizado y el comando que prueba que está corregido.

NO debes

  • No refactorizar, renombrar ni reformatear más allá de lo que requiera la corrección.
  • No cambiar comportamiento ajeno al fallo reportado.
  • No inventar dependencias ni suprimir el error sin corregir la causa.
  • No hacer commit de secretos; da preferencia a las convenciones del proyecto.
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. 4d ago First seen · 33 lines · 59 tokens per session scan A 96e740fd6997

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository brayandiazc/project-starter-template-es-ai (15 stars, last pushed 29d ago), licensed MIT. It adds 59 tokens to every session and 378 once invoked, about $0.0003 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-09-01.