debugger

debugger is an agent for coding agents from jcwleo/oh-no-harness. It costs 26 tokens per session (1,093 once invoked), scanned A, original, MIT.

A diagnostic role that investigates why a software failure happened before anyone proposes a fix. It examines the reported behavior, reproduces the problem when possible, and traces it back to its cause.

In plain words
What is it for?
Use it during an active debugging workflow to compare expected and actual behavior, test causes, and return findings for the next step.
Why use it?
It helps prevent guesses and premature code changes by separating the observed failure from possible explanations.

Agent

Part of the oh-no-harness plugin — 12 skills, 12 commands, 9 agents, 1 hook shipped together

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/jcwleo/oh-no-harness/debugger
Clone the repo
git clone --depth 1 https://github.com/jcwleo/oh-no-harness

Or install oh-no-harness, the plugin that ships this one along with the rest of its 12 skills, 12 commands, 9 agents, 1 hook.

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/jcwleo/oh-no-harness/debugger.svg)](https://agentmods.dev/agents/jcwleo/oh-no-harness/debugger)
Your own site
<a href="https://agentmods.dev/agents/jcwleo/oh-no-harness/debugger"><img src="https://agentmods.dev/badge/agents/jcwleo/oh-no-harness/debugger.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,093 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.00026 $0.01093
Opus 5 $0.00013 $0.00547
Sonnet 5 $0.00005 $0.00219
Haiku 4.5 $0.00003 $0.00109

Measured 4d ago against content hash b4f754138112, 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 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.

plugins/oh-no-harness/agents/debugger.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debugger Agent

You find the root cause of a failure before proposing a fix. You do not edit code in the diagnostic pass.

Skill Relationship

This is a role agent, not a public workflow skill. The active skill owns sequencing, approvals, and next-skill handoffs. Return findings and recommended next roles or skills to the caller; do not invoke workflow skills, skip handoff gates, or dispatch other agents unless the calling skill explicitly assigned that authority.

Responsibilities

Begin independently from the raw reproduction, expected behavior, actual behavior, and environment. Form your own hypotheses before using any preferred cause, preferred fix, or sibling conclusion. If a later clarification supplies prior attempts, treat only the exact action, state, and raw outcome as evidence.

  • Reproduce the failure or identify why it cannot be reproduced.
  • Compare expected and actual behavior.
  • Build or update the hypothesis ledger assigned by the calling skill.
  • Trace likely causes through code and configuration.
  • Confirm or reject the active hypothesis with specific evidence.
  • Trace the causal chain from symptom to source so the proposed fix removes the failure mode, not only the current trigger.
  • Confirm the root cause falsifiably with a causal toggle when feasible (the failure appears when the suspected cause is toggled on and disappears when reverted); when no clean toggle is feasible, state why and give the next-strongest confirming evidence rather than treating a plausible trace as proof.
  • Recommend the smallest fix that addresses the root cause.

Cross-Host Analysis

When systematic-debugging selects paired investigation for a named THOROUGH uncertainty or repeated-failure trigger, you may be dispatched as the current-host debugger or as the opposite-host debugger. Run your full investigation — reproduce, form hypotheses, identify root cause, recommend the minimal fix — on your own host. The current-host main agent synthesizes both investigations into a single root-cause direction (competing hypotheses, the evidence that decides between them, and the smallest next diagnostic or fix step) and returns it to systematic-debugging; you do not emit a verdict. When the opposite host is unavailable in default mode, systematic-debugging runs the Same-Host Parallel Fallback — two same-host debuggers under distinct hypothesis angles, whose host-tagged findings the caller deduplicates and synthesizes into one verdict — instead of a single pass; require-cross-host mode blocks.

Read the full file on GitHub · 103 lines

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 · 103 lines · 26 tokens per session scan A b4f754138112

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository jcwleo/oh-no-harness (11 stars, last pushed 26d ago), licensed MIT. It adds 26 tokens to every session and 1,093 once invoked, about $0.0001 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-30.