debugger

A debugging guide that uses the supplied bug report, code, logs, and context to rank likely causes. It recommends the smallest safe change and says when the evidence does not show a real bug.

In plain words
What is it for?
Use it to investigate bugs, compare root-cause hypotheses, plan quick confirmation checks, and choose a minimal fix based only on the evidence available.
Why use it?
It replaces guesswork with a clear link between the reported symptom, possible cause, and a way to confirm it. This helps avoid unnecessary refactoring or fixes that create new problems.

Skill for Claude CodeCodex

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 skills/antonbabenko/deliberation/debugger
Any agent
npx skills add antonbabenko/deliberation --skill debugger
Clone the repo
git clone --depth 1 https://github.com/antonbabenko/deliberation

Made for: Claude Code, Codex.

Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 497 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.00015 $0.00497
Opus 5 $0.00008 $0.00249
Sonnet 5 $0.00003 $0.00099
Haiku 4.5 $0.00002 $0.00050

Measured 2d ago against content hash e30865c10816, 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 2d 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/deliberation/skills/debugger/SKILL.md · 45 lines

How it starts

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

Debugger

You are a debugging specialist. Given a bug report plus whatever code, logs, and context are supplied, you produce ranked root-cause hypotheses and the smallest safe fix - or you state honestly that the evidence shows no bug.

Context

You are an on-demand advisor. Each consultation is standalone. Your access varies by where you run: when you have repo, shell, or test-execution tools, use them to confirm hypotheses; when you do not, reason only from the evidence given. Never fabricate file paths, line numbers, or behavior you have not actually observed.

Method

  1. Restate the reported symptom in one line.
  2. Form hypotheses ranked by likelihood from the actual evidence.
  3. For each, give: confidence (high/med/low), root cause, the evidence that supports it, how the symptom maps to the cause, a quick way to confirm it, the minimal fix, and why that fix will not regress nearby behavior.
  4. Propose the smallest change that resolves the root cause - not a refactor.

Honesty escape (important)

If, after a thorough pass, the evidence shows no concrete bug matching the symptom, do NOT hunt or invent one. Say so, summarize what you examined, and ask 1-3 targeted questions (or name the logs/code) that would let you continue. The report may be a misunderstanding.

Response Format

Bottom line: 1-2 sentences - the most likely cause, or "No bug found in the evidence".

Hypotheses (ranked): each with confidence, root cause, evidence, confirm-step, minimal fix, regression note.

If no bug found: what you examined + the targeted questions to proceed.

<SUMMARY> top hypothesis + confidence + the single next action, under ~120 words </SUMMARY>.

When to Invoke

  • A reported runtime error, crash, test failure, or wrong output.
  • After 2+ failed fix attempts (fresh ranked hypotheses).

When NOT to Invoke

  • A design question (use Architect) or a code-quality pass (use Code Reviewer).
  • When the fix is obvious from a first read.

Read the full file on GitHub · 45 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. 2d ago First seen · 45 lines · 15 tokens per session scan A e30865c10816

Subscribe to this mod's changes

debugger is a skill published in the GitHub repository antonbabenko/deliberation (138 stars, last pushed 4d ago), licensed MIT. It adds 15 tokens to every session and 497 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.

Related

Other skills, from other repositories

ima2

Use the ima2-gen CLI/server to generate, edit, inspect, and manage local AI image generation jobs.

lidge-jun/ima2-gen · 25 tokens

ima2-front

Frontend implementation skill for ima2 users. Use for any frontend, web UI, or visual implementation work — building, styling, or redesigning pages/components, responsive layouts, motion, component architecture, and production-surface polish. Pairs with ima2-uiux: load it first when design direction is vague; this…

lidge-jun/ima2-gen · 149 tokens

ima2-uiux

Design direction discovery and UX judgment for ima2 users. Use for UI/UX direction and design judgment — vague visual briefs, onboarding, empty/error/loading states, layout vocabulary, typography breaks, favicons, logos, and brand identity choices. Pairs with ima2-front: this skill decides the design direction, then…

lidge-jun/ima2-gen · 118 tokens

local-council-execution

Runs a local council when no external AI providers are configured. Spawns N independent Claude subagents (one per role, blind to each other) that each answer the question from a single assigned lens, then synthesizes their perspectives. Invoked by the ask command via --local, or when the user accepts the local-council…

hex/claude-council · 98 tokens

deep-execution

Executes agent-enhanced council queries by spawning parallel Claude subagents that each query a provider, evaluate response quality, ask follow-up questions, and return structured insights with confidence ratings and blind spot analysis. Invoked when the --agents flag is used or when complex architectural decisions…

hex/claude-council · 61 tokens

council-execution

Executes council queries by running the query pipeline across selected AI providers (Gemini, OpenAI, Grok, Perplexity), displaying formatted responses verbatim, and generating a synthesis of consensus, divergence, and recommendations. Invoked by the ask command during standard (non-agent) council queries.

hex/claude-council · 66 tokens