debug

debug is a skill for Claude Code from Supersynergy/awesome-agentic-coding. It costs 19 tokens per session (314 once invoked), scanned A, original, MIT.

A step-by-step method for debugging unclear or hard-to-reproduce bugs. It requires observing the problem, testing several possible causes, making a small fix, and verifying the result.

In plain words
What is it for?
Use it to investigate bugs, reproduce failures, test competing explanations, add a regression test, and check the complete fix.
Why use it?
It reduces guesswork and helps confirm the actual root cause instead of merely hiding the symptom.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to investigate bugs, reproduce failures, test competing explanations, add a regression test, and check the complete fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/supersynergy/awesome-agentic-coding/debug
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.

Any agent
npx skills add Supersynergy/awesome-agentic-coding --skill debug
Clone the repo
git clone --depth 1 https://github.com/Supersynergy/awesome-agentic-coding

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 debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/supersynergy/awesome-agentic-coding/debug/github.svg)](https://agentmods.dev/skills/supersynergy/awesome-agentic-coding/debug)
Your own site
<a href="https://agentmods.dev/skills/supersynergy/awesome-agentic-coding/debug"><img src="https://agentmods.dev/badge/skills/supersynergy/awesome-agentic-coding/debug/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 debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/supersynergy/awesome-agentic-coding/debug"><img src="https://agentmods.dev/badge/skills/supersynergy/awesome-agentic-coding/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 314 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.00019 $0.00314
Opus 5.5 $0.00008 $0.00126
Sonnet 5.5 $0.00004 $0.00063
Haiku 4.5 $0.00002 $0.00031

Measured 1mo ago against content hash d6b24a87a86c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug 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.

skills/debug/SKILL.md · 45 lines

What it actually says

Scientific Debugging Protocol

Bug: $ARGUMENTS

Step 1: Observe

  • What is the expected behavior?
  • What is the actual behavior?
  • When did it start? (check git log --oneline -20)
  • Can you reproduce it? How?

Step 2: Hypothesize (list 3 possible causes)

Based on the code, list the 3 most likely root causes:

  1. Hypothesis A: ...
  2. Hypothesis B: ...
  3. Hypothesis C: ...

Step 3: Test Each Hypothesis

For each hypothesis:

  • Add a targeted log/print statement OR read the relevant code
  • Run the reproduction steps
  • Confirm or eliminate the hypothesis
  • Move to next hypothesis if eliminated

Step 4: Fix

Once root cause is confirmed:

  • Make the minimal fix
  • Run existing tests
  • Add a test that would have caught this bug

Step 5: Verify

  • Reproduce the original bug scenario — it should be fixed
  • Run full test suite — nothing else should break

Rules

  • Never guess the fix without confirming the root cause
  • Never fix symptoms (e.g., adding try/catch around the crash)
  • Document the root cause in the commit message
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 · 45 lines · 19 tokens per session scan A d6b24a87a86c

Subscribe to this mod's changes

debug is a skill published in the GitHub repository Supersynergy/awesome-agentic-coding (1 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 314 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-31.