debugging

debugging is a skill for Claude Code from PrabhdeepSingh/claude-plugins. It costs 72 tokens per session (1,462 once invoked), scanned A, original, MIT.

A disciplined method for finding software bugs by reproducing the problem, checking what actually happened, testing one explanation at a time, and confirming the result.

In plain words
What is it for?
Use it when investigating errors, failing or unreliable tests, crashes, regressions, or production incidents.
Why use it?
It prevents guesswork, unrelated changes, and failed fixes from piling up. It also helps distinguish a real defect from expected slow or unusual behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the sonu plugin — 22 skills, 2 commands shipped together

Good fit Use it when investigating errors, failing or unreliable tests, crashes, regressions, or production incidents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prabhdeepsingh/claude-plugins/debugging
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 PrabhdeepSingh/claude-plugins --skill debugging
Clone the repo
git clone --depth 1 https://github.com/PrabhdeepSingh/claude-plugins

Made for: Claude Code.

Or install sonu, the plugin that ships this one along with the rest of its 22 skills, 2 commands.

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 debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/debugging/github.svg)](https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/debugging)
Your own site
<a href="https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/debugging"><img src="https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/debugging/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 debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/debugging"><img src="https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,462 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.00072 $0.01462
Opus 5.5 $0.00029 $0.00585
Sonnet 5.5 $0.00014 $0.00292
Haiku 4.5 $0.00007 $0.00146

Measured 20d ago against content hash 89d37a5c2ff4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debugging 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 20d 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.

sonu/skills/debugging/SKILL.md · 76 lines

How it starts

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

Debugging — test hypotheses, do not stack patches

The project's own instructions win: where its AGENTS.md, CLAUDE.md or established conventions say otherwise, follow them and skip that part of this.

This skill starts from a known symptom; looking for defects nobody has reported yet is [[bug-finder]]. A fix that cannot be connected to a confirmed cause is a guess. When something breaks mid-task, diagnose it before continuing to build, because later steps built on a broken one are wrong too.

1. Reproduce it

Make the failure happen on demand and shrink the reproduction. When it will not reproduce, reproducing it is the task: for timing-dependent failures, widen the race window with a delay at the suspected interleaving or run under load; for environment-dependent ones, compare runtime versions, env vars and data state; for state-dependent ones, run the scenario alone and after other operations (a failing test is run alone first, to rule out pollution from other tests). When it still will not reproduce, add logging at the suspected site and record the conditions for the next occurrence.

2. For a production bug, pull the real event

A report in words is a lossy copy of an error that exists in full somewhere. Find out which observability platform the project uses by reading the repo (dependencies, env vars, deploy config), then pull the event through a connected MCP server if the session has one, otherwise through the API or CLI with credentials already in the environment. references/pull-the-event.md has the detection table and command shapes.

If there is no access, ask the user to grant it or paste the full event, and say why. Do not invent an error shape from the description. In a non-interactive run, write the access gap into the hand-off and stop the diagnosis there.

Take from the event:

  • the exception, stack and release or commit tag, which say where to look and give a bisect its endpoints;
  • the request payload and breadcrumbs, which are the reproduction input;
  • frequency and first-seen time, which separate a new regression from a long-standing bug;
  • what changed in the half hour before the first occurrence. A deploy is one candidate. So are a feature-flag flip, a config or env var change, a secret rotation, an upstream dependency's release, a data migration finishing and a traffic shift. None of those shows up in a commit bisect, so check them before bisecting;
  • the affected cohort (everyone, or one browser, region or tenant), which separates an environmental cause from a logic one.

Read the full file on GitHub · 76 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 20d ago Changed · -36 lines · -28 tokens per session 89d37a5c2ff4
  2. 2mo ago Changed · +5 lines c58a2990a4a4
  3. 2mo ago Changed · +3 lines baf31e20f6ba
  4. 3mo ago First seen · 104 lines · 100 tokens per session scan A 5d37760f02c2

Subscribe to this mod's changes

debugging is a skill published in the GitHub repository PrabhdeepSingh/claude-plugins (4 stars, last pushed 21d ago), licensed MIT. It adds 72 tokens to every session and 1,462 once invoked, about $0.0003 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.

Related

debugging compared with skills from other repositories

debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debuggingPrabhdeepSingh/claude-pluginsSkill421d agoMITA72Claude Code
debugThis-HW/claude-code-kitSkill42mo agoMITA24Claude Code
dead-codelukaskellerstein/claude-my-marketplaceSkill313d agononeA75Claude Code
questionlukaskellerstein/claude-my-marketplaceSkill313d agononeA40Claude Code
new-buglukaskellerstein/claude-my-marketplaceSkill313d agononeA102Claude Code
java-fixducpm2303/claude-java-pluginsSkill177mo agononeA46Claude Code
java-perf-checkducpm2303/claude-java-pluginsSkill177mo agononeA56Claude Code