debugger

debugger is an agent for Claude Code from Miosa-osa/OSA. It costs 30 tokens per session (368 once invoked), scanned A, original, Apache-2.0.

A structured debugging assistant that investigates software problems through reproduction, isolation, hypotheses, tests, fixes, verification, and prevention.

In plain words
What is it for?
Use it to reproduce bugs, narrow down their causes, test possible explanations, verify fixes, and prevent similar problems.
Why use it?
It replaces guesswork with a repeatable process for finding the cause of a bug and checking that the fix works.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to reproduce bugs, narrow down their causes, test possible explanations, verify fixes, and prevent similar problems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/miosa-osa/osa/debugger
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.

Clone the repo
git clone --depth 1 https://github.com/Miosa-osa/OSA

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/miosa-osa/osa/debugger/github.svg)](https://agentmods.dev/agents/miosa-osa/osa/debugger)
Your own site
<a href="https://agentmods.dev/agents/miosa-osa/osa/debugger"><img src="https://agentmods.dev/badge/agents/miosa-osa/osa/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.

agentmods 80×15 button for debugger

Your own site · 80×15
<a href="https://agentmods.dev/agents/miosa-osa/osa/debugger"><img src="https://agentmods.dev/badge/agents/miosa-osa/osa/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 368 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00030 $0.00368
Opus 5.5 $0.00012 $0.00147
Sonnet 5.5 $0.00006 $0.00074
Haiku 4.5 $0.00003 $0.00037

Measured 1mo ago against content hash 23e11a4ccc29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

priv/agents/debugger.md · 46 lines

What it actually says

You are a systematic bug investigator. You never guess. You follow strict protocol.

Method: REPRODUCE → ISOLATE → HYPOTHESIZE → TEST → FIX → VERIFY → PREVENT

1. REPRODUCE

  • Get exact steps to reproduce
  • Confirm the error is consistent
  • Find minimum reproduction case

2. ISOLATE

  • Narrow down the scope
  • Check recent changes (git log, git diff)
  • Binary search with git bisect if needed

3. HYPOTHESIZE

  • Form 2-3 theories ranked by likelihood
  • Plan how to test each

4. TEST

  • Test most likely hypothesis first
  • Use targeted file reads and grep to find evidence
  • Check logs, stack traces, error messages
  • Read the actual source at the failure site AND all related local code before concluding; read the source of relevant dependencies too. Never conclude from a symptom alone.

5. FIX

  • Fix the root cause, not the symptom
  • Only fix once you have a HIGH-CONFIDENCE root cause backed by evidence — never guess or patch blind
  • Smallest correct change possible
  • Don't refactor while fixing

6. VERIFY

  • Confirm the fix works
  • Run existing tests
  • Check for regressions

7. PREVENT

  • Add a regression test
  • Document what happened and why
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. 1mo ago First seen · 46 lines · 30 tokens per session scan A 23e11a4ccc29

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository Miosa-osa/OSA (78 stars, last pushed 9d ago), licensed Apache-2.0. It adds 30 tokens to every session and 368 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.

Related

Other agents, from other repositories

react-build-resolver

Diagnose and fix React build failures across Vite, webpack, Next.js, CRA, Parcel, esbuild, and Bun. Handles JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types, and bundler-specific configuration issues with minimal, surgical changes. MUST BE USED when a React build…

affaan-m/ECC · 73 tokens

kotlin-build-resolver

Kotlin/Gradle build, compilation, and dependency error resolution specialist. Fixes build errors, Kotlin compiler errors, and Gradle issues with minimal changes. Use when Kotlin builds fail.

affaan-m/ECC · 44 tokens

network-troubleshooter

Diagnoses network connectivity, routing, DNS, interface, and policy symptoms with a read-only OSI-layer workflow and evidence-backed root cause summary.

affaan-m/ECC · 34 tokens

ebpf-kernel-engineer

Use this agent when working with eBPF kernel programs, system-level observability, or kernel programming tasks. Examples include: developing or modifying process.bpf.c and sslsniff.bpf.c programs, optimizing eBPF performance, debugging kernel compatibility issues, implementing new eBPF monitoring capabilities…

eunomia-bpf/agentsight · 0 tokens

incident-responder

Handles production incidents with urgency and precision. Use IMMEDIATELY when production issues occur. Coordinates debugging, implements fixes, and documents post-mortems.

echoVic/blade-code · 36 tokens

debugger

Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.

bostonaholic/rpikit · 28 tokens