bug-finder

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

A code review process that searches for one real, previously unreported defect, proves it with evidence, and files it as an actionable ticket.

In plain words
What is it for?
Use it when asked to sweep code for bugs, inspect a risky area, or run a proactive bug-hunting pass.
Why use it?
It prevents speculative bug lists that waste maintainers' time and are difficult to trust. The process focuses effort on a confirmed problem that someone can reproduce and fix.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the sonu plugin — 26 skills, 3 commands shipped together

Good fit Use it when asked to sweep code for bugs, inspect a risky area, or run a proactive bug-hunting pass.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prabhdeepsingh/claude-plugins/bug-finder
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 bug-finder
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 26 skills, 3 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 bug-finder

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/bug-finder"><img src="https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/bug-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,748 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.00094 $0.01748
Opus 5.5 $0.00038 $0.00699
Sonnet 5.5 $0.00019 $0.00350
Haiku 4.5 $0.00009 $0.00175

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

Security

Grade A, and why

bug-finder 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.

sonu/skills/bug-finder/SKILL.md · 96 lines

How it starts

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

Bug finder — find one real defect, prove it, file it

Most bugs reach production because nobody was looking in the places bugs live. This pass goes looking deliberately, and it holds itself to a standard that makes the output worth a human's attention: one concrete defect, backed by evidence, filed as a ticket somebody can act on.

The failure mode this skill is built to prevent is the plausible-sounding audit — twenty speculative observations, no reproduction, no evidence. That output is worse than silence: every item costs a maintainer time to dismiss, and after one such report the next one gets ignored entirely. One proven bug beats twenty maybes, so the bar is deliberately set where speculation cannot clear it.

How to apply this

Apply to $ARGUMENTS — the text typed after the invocation, an optional area to hunt in (a directory, module, or subsystem). If that token appears literally or is empty, choose the hunting ground yourself using section 1's priorities.

Load Skill(sonu:ticket-lifecycle) for the tracker and the create operation, then run sections 1 through 4 in order. Sections 2 and 3 are the gate: nothing gets filed that has not cleared them.


1. Hunt where bugs actually live

Read repository instructions first, then look at recent history and open work so you do not re-find something already in flight.

Prioritize, in roughly this order — these are the places defects concentrate, not a checklist to complete:

  • Recently changed code. Fresh code has had the least exposure; a defect there is both more likely and cheaper to fix now.
  • Error handling and fallback paths. The catch block, the default value, the retry — rarely exercised in tests, and a silent fallback converts breakage into wrong data that nobody notices.
  • Untrusted input boundaries. Request parsing, deserialization, file and header handling, anything from a third party.
  • Process and persistence boundaries. Serialization round trips, transaction scope, partial writes, what happens when the second call fails after the first succeeded.
  • Concurrency and cleanup. Read-then-write races, shared mutable state, unreleased locks or handles, work that assumes it runs alone.
  • Weak coverage. Compare what tests assert against what the code does; the gap is where nobody has looked.

Read the full file on GitHub · 96 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. 1mo ago First seen · 96 lines · 94 tokens per session scan A 7bd7bf510144

Subscribe to this mod's changes

bug-finder is a skill published in the GitHub repository PrabhdeepSingh/claude-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 94 tokens to every session and 1,748 once invoked, about $0.0004 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

Other skills, from other repositories