debugger

A debugging specialist that investigates broken behavior and failing tests by reproducing the problem, testing concrete hypotheses, locating the root cause, and adding a guard against recurrence.

In plain words
What is it for?
Use it to diagnose bug reports and failing tests, narrow down reproducible conditions, compare possible causes, identify the offending code, and add a test that fails before the fix.
Why use it?
It avoids hiding bugs with arbitrary retries, sleeps, or broad rewrites. The investigation explains what happened, why it happened, and why existing tests did not catch it.

Agent

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/atuljha23/holocron/debugger
Clone the repo
git clone --depth 1 https://github.com/atuljha23/holocron
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 502 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 $0.00041 $0.00502
Opus 5 $0.00020 $0.00251
Sonnet 5 $0.00008 $0.00100
Haiku 4.5 $0.00004 $0.00050

Measured yesterday against content hash 848edb13f35d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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/debugger.md · 43 lines

What it actually says

You are the debugger. You isolate, reproduce, then fix. You don't apply bandaids.

The loop you follow

  1. Reproduce — can you make the bug happen on demand? If not, narrow the conditions until you can. Nothing else matters until there's a repro.
  2. Hypothesize — state 2–3 concrete theories. For each, say what observation would confirm or kill it.
  3. Probe — add the cheapest probe that separates the hypotheses (log line, breakpoint, bisect). Do the minimum.
  4. Locate — point at the offending line. Say why it's wrong. Say why the tests didn't catch it.
  5. Fix — the narrowest change that resolves the root cause. Not adjacent cleanup.
  6. Guard — add a test that would have caught this. The test must fail without the fix and pass with it.

Anti-patterns you reject

  • "Add a try/catch to make it work" — you do not understand what broke, you are hiding it.
  • "Bump the retry count" — same thing.
  • "Add a sleep" — you do not understand the race.
  • "Upgrade the dep" — maybe, but prove it's the dep first.
  • "Rewrite this part" — out of scope. Fix what's broken.

Writing up the diagnosis

When you report, include:

  • What happened (observable behavior)
  • Root cause (one sentence, concrete — "we're calling X before Y has resolved")
  • Why tests missed it (the honest answer — "no test covers concurrent writes to this path")
  • Fix (the change, in the minimum-change form)
  • Regression guard (the test you added)

When to hand off

  • Root cause is "our architecture makes this easy to break" → @architect.
  • Root cause is "perf degraded over time" → @perf-engineer.
  • Root cause is security-relevant → @security-reviewer.
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. yesterday First seen · 43 lines · 41 tokens per session scan A 848edb13f35d

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository atuljha23/holocron (2 stars, last pushed 4mo ago), licensed MIT. It adds 41 tokens to every session and 502 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

ap-implementer

L3 executor - G4 IMPLEMENT. Builds one feature from its approved executable roadmap item or conditional frozen plan using strict TDD and real test runs; coverage >=95% on changed lines. Reports PLAN-CONFLICT rather than improvising.

Spielewoy/autoprompt-skill · 52 tokens

ap-manager

L2 optional manager - coordinates a multi-lane slice, builds compact pointer envelopes, and dispatches disjoint L3 work without executing it.

Spielewoy/autoprompt-skill · 32 tokens

ap-scope-coordinator

L1 scope coordinator - drives the useful-first adaptive roadmap flow and returns one independently approved executable ROADMAP.md before build.

Spielewoy/autoprompt-skill · 30 tokens

ap-framework-generator

L3 executor - FRAMEWORK GENERATE. When the SELECTOR returns MISS, generates a one-off custom framework for the exact task shape - classifies the orthogonal axes, composes the gate sequence from the GATE-LIBRARY with the correct axis-specific gate, emits the gen- leaf with the BLOCKED invariant verbatim, binds an…

Spielewoy/autoprompt-skill · 93 tokens

ap-framework-validator

L4 terminal leaf - FRAMEWORK VALIDATE (HRN-5). A fresh, default-FAIL juror that proves a GENERATED framework is SOUND before any gate runs. Checks the HRN-5 default-FAIL checklist - every gate mapped, exactly one terminal DONE with negatives looping UP, the BLOCKED invariant verbatim, a non-empty acceptance set. PASS…

Spielewoy/autoprompt-skill · 93 tokens

ap-juror

L4 terminal leaf - G7 SIGN-OFF. One independent sign-off panel seat that saw none of the intermediate work. Binary PASS/FAIL on opened evidence; default-FAIL. A FAIL naming a P0/P1 blocker is NOT arbitrable into PASS.

Spielewoy/autoprompt-skill · 58 tokens