awesome-bug-fix

awesome-bug-fix is a skill for Claude Code from khasky/awesome-agent-skills. It costs 38 tokens per session (3,990 once invoked), scanned A, original, MIT.

A structured method for finding and fixing software bugs. It first creates a repeatable test that shows the failure, traces the underlying cause, and only then applies a fix.

In plain words
What is it for?
Use it for reported bugs, crashes, unexpected results, flaky behavior, slowdowns, and failing tests, builds, or integrations.
Why use it?
It reduces guesswork and helps avoid patches that hide the symptom while leaving the real problem in place.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the awesome-agent-skills plugin — 49 skills shipped together

Good fit Use it for reported bugs, crashes, unexpected results, flaky behavior, slowdowns, and failing tests, builds, or integrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khasky/awesome-agent-skills/awesome-bug-fix
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 khasky/awesome-agent-skills --skill awesome-bug-fix
Clone the repo
git clone --depth 1 https://github.com/khasky/awesome-agent-skills

Made for: Claude Code.

Or install awesome-agent-skills, the plugin that ships this one along with the rest of its 49 skills.

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 awesome-bug-fix

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/khasky/awesome-agent-skills/awesome-bug-fix"><img src="https://agentmods.dev/badge/skills/khasky/awesome-agent-skills/awesome-bug-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,990 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00038 $0.03990
Opus 5.5 $0.00015 $0.01596
Sonnet 5.5 $0.00008 $0.00798
Haiku 4.5 $0.00004 $0.00399

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

Security

Grade A, and why

awesome-bug-fix scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- When the obvious loop is not available, walk the ladder — the bug that resists a repro usually needs a different *kind* of loop, not more staring. In rough order of preference: a failing test at whatever seam reaches t
skills/awesome-bug-fix/SKILL.md · 187 lines

How it starts

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

Systematic Debugging

Find and fix bugs by following a strict process: no fixes without root cause first.

Why this matters: Random fixes feel faster but often introduce new bugs and leave the original cause in place. A few minutes of real investigation—reproduce, trace, hypothesize—usually leads to one right fix instead of a long chain of patches. It works the same whether you’re in a Node app, a Python script, or a distributed system: understand, then change.

Core principle

No fix until the root cause is found: a fix aimed at a symptom leaves the cause in place and usually adds a new bug. Propose a fix only after Phase 1.

Redact before you show anything. This skill quotes commands, outputs and captured artifacts back to the user, and the transcript leaves the machine. Write <REDACTED> in place of every token, password, connection string, cookie and customer identifier; build loops against environment variables so the credential stays in the environment rather than in the command you paste; and from a captured artifact (a HAR file, a log dump, a request trace) quote only the lines carrying the signal, because auth headers ride in the rest. If the redacted output is genuinely not enough to diagnose the bug, say so and ask the user rather than pasting the raw capture.

When to Activate

  • User reports a bug, error, or "it doesn't work"
  • Test failures, build failures, or integration issues
  • Unexpected behavior or performance problems
  • User asks to "debug", "find the bug", or "why does X happen"

Use especially when: Under time pressure, "one quick fix" seems obvious, you've already tried multiple fixes, or you don't fully understand the issue. Do not skip for "simple" bugs — simple bugs have root causes too.

If the bug is slowness, memory growth, or throughput — not a wrong result — the diagnostic path is a performance audit, not this correctness loop: call the Skill tool with "awesome-performance-audit" (measure tail latency, take a heap/CPU profile). Return here only once it narrows to a specific, reproducible defect.

Read the full file on GitHub · 187 lines

Files

What ships with it

2 files 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. 1mo ago Changed · -11 lines f9926f49b2e6
  2. 1mo ago Changed 9ae96475c2aa
  3. 1mo ago Changed · -5 tokens per session 304fef37bf9c
  4. 1mo ago Changed · +19 lines 734d259fad66
  5. 2mo ago Changed · -59 tokens per session cccc79c14fde
  6. 2mo ago Changed 83fbf856e0d1
  7. 2mo ago Changed 3f52e4dee299
  8. 2mo ago Changed · +12 lines · +5 tokens per session 597092786a4e
  9. 3mo ago First seen · 167 lines · 97 tokens per session scan A f6bd255715eb

Subscribe to this mod's changes

awesome-bug-fix is a skill published in the GitHub repository khasky/awesome-agent-skills (45 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 3,990 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

awesome-bug-fix compared with skills from other repositories

awesome-bug-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
awesome-bug-fixkhasky/awesome-agent-skillsSkill452d agoMITA38Claude Code
datadogG1Joshi/Agent-SkillsSkill151mo agoMITA36Claude Code, Codex
sentryG1Joshi/Agent-SkillsSkill151mo agoMITA34Claude Code, Codex
doubt-driven-developmentaddyosmani/agent-skillsSkill121k6d agoMITA96Claude Code
performance-optimizationaddyosmani/agent-skillsSkill121k6d agoMITA59Claude Code
systematic-debuggingjnMetaCode/superpowers-zhSkill8.6k14d agoMITA24Claude Code
diagnosing-superpowersjnMetaCode/superpowers-zhSkill8.6k14d agoMITA111Claude Code