bug-fixer

bug-fixer is a skill for Claude Code from hex/claude-council. It costs 25 tokens per session (931 once invoked), scanned A, original, MIT.

A step-by-step method for fixing one software bug after reproducing it and identifying its root cause.

In plain words
What is it for?
Use it to restate the expected behaviour, reproduce a failure, trace its cause, make the smallest fix, and verify the result.
Why use it?
It prevents changes based on guesses and requires evidence that the reported problem is fixed without making unrelated edits.

Skill for Claude Code

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

Part of the claude-council plugin — 10 skills, 4 commands, 1 agent, 1 hook shipped together

Good fit Use it to restate the expected behaviour, reproduce a failure, trace its cause, make the smallest fix, and verify the result.

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

Made for: Claude Code.

Or install claude-council, the plugin that ships this one along with the rest of its 10 skills, 4 commands, 1 agent, 1 hook.

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-fixer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hex/claude-council/bug-fixer"><img src="https://agentmods.dev/badge/skills/hex/claude-council/bug-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 931 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.00025 $0.00931
Opus 5.5 $0.00010 $0.00372
Sonnet 5.5 $0.00005 $0.00186
Haiku 4.5 $0.00003 $0.00093

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

Security

Grade A, and why

bug-fixer 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 18d 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.

mods/council-pane/specialists/bug-fixer/SKILL.md · 92 lines

How it starts

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

Bug Fixer

Fix one reported bug at its root cause, with proof that the fix works. The change must be as small as it can be. Every claim in your report must rest on something you ran.

Before you change anything

  1. Restate the bug in one sentence: what the user does, what happens, what should happen. If the task does not say what should happen, and neither a spec, the docs, nor an existing test settles it, stop and report the ambiguity instead of choosing.
  2. Read the project's own instructions (AGENTS.md, CONTRIBUTING, README) for how to build and run tests.
  3. Reproduce the failure. Prefer the real user path: the command, request or UI action from the report. Record the exact command and the output that shows the bug. If it does not reproduce, stop and report what you tried and what you saw. Do not fix a bug you cannot see.

Find the cause

  • Trace from the symptom to the code that makes the wrong decision. Read the owning function, its callers and callees, and any sibling implementation that does the same job correctly. Diff the two.
  • State one hypothesis and test it with the smallest check that can prove it wrong: a log line, a debugger stop, a narrowed input. If it is wrong, go back and re-read; do not stack guesses.
  • Distinguish cause from symptom. A null check where the value arrives is a symptom patch if the real fault is the code that should never have produced the null.

Make the fix

  • Change the code that owns the decision, not a caller that happens to see the bad result.
  • Keep the diff minimal. No refactors, renames, formatting sweeps or unrelated cleanups. Note them in the report instead.
  • No fallback that hides the failure: no silent default, no swallowed exception, no retry that masks the cause. If the bad state is impossible after the fix, fail loudly if it appears anyway.
  • Never weaken, skip or delete a test to get a pass. A failing test is information. If a test encodes the buggy behaviour as expected, say so in the report with the evidence, and change it only when the spec proves it wrong.

Read the full file on GitHub · 92 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. 18d ago First seen · 92 lines · 25 tokens per session scan A 3684c8c5686a

Subscribe to this mod's changes

bug-fixer is a skill published in the GitHub repository hex/claude-council (872 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 931 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-09-26.

Related

Other skills, from other repositories

qa-expert

Expert-level quality assurance, testing strategies, automation, and QA processes. Use when the user mentions testing, test automation, quality assurance, or Selenium, or when the task involves Testing Types, QA Processes, Test Strategy, or Defect Management.

personamanagmentlayer/pcl · 53 tokens

bugbash

Systematically explore and test any software project (CLI, API, Backend, Library, etc.) to find bugs, usability issues, and edge cases. Produces a structured report with full reproduction evidence (exact commands, inputs, logs, and tracebacks) for every issue.

av/facts · 58 tokens

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

module-regression

Govern cross-module regression in large repositories with a REGRESSION.md ledger that records each module's downstream consumers and executable acceptance command. After a change, run the changed module and every affected downstream command, and use observed exit codes as regression evidence under the project's…

affaan-m/ECC · 82 tokens

fix-failing-tests

Diagnose a failing test in the googleapis/mcp-toolbox repo and land a fix by reasoning from the actual error: read the failure, reproduce it, shrink it until the cause is forced into the open, then fix the cause. Use this whenever a test or CI job is red, a build breaks after a change, many packages fail at once, or a…

googleapis/mcp-toolbox · 87 tokens

reproduce-bug

Reproduce a reported bug in googleapis/mcp-toolbox and decide whether it is real, delivering an evidence-backed verdict: confirmed, already fixed, misconfiguration, client-side, works as intended, not reproducible, or blocked. Use whenever a maintainer asks you to reproduce, verify, confirm, or investigate a bug…

googleapis/mcp-toolbox · 130 tokens