fix-bug

fix-bug is a command for Claude Code from valsecchi75/project-scaffolder. It costs 31 tokens per session (135 once invoked), scanned A, original, MIT.

A guided procedure for fixing a known bug by reproducing it, writing a failing test, finding its root cause, and applying the smallest fix. It then checks the result and records the bug and safeguards.

In plain words
What is it for?
Use it when you have a specific bug to investigate, fix, verify, and document.
Why use it?
It prevents changes based on an unproven diagnosis. The failing test also helps ensure the bug does not return.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the project-scaffolder plugin — 18 skills, 25 commands, 8 agents, 5 hooks shipped together

Good fit Use it when you have a specific bug to investigate, fix, verify, and document.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/valsecchi75/project-scaffolder/fix-bug
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.

Clone the repo
git clone --depth 1 https://github.com/valsecchi75/project-scaffolder

Made for: Claude Code.

Or install project-scaffolder, the plugin that ships this one along with the rest of its 18 skills, 25 commands, 8 agents, 5 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/valsecchi75/project-scaffolder/fix-bug"><img src="https://agentmods.dev/badge/commands/valsecchi75/project-scaffolder/fix-bug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 135 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.00031 $0.00135
Opus 5.5 $0.00012 $0.00054
Sonnet 5.5 $0.00006 $0.00027
Haiku 4.5 $0.00003 $0.00014

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

Security

Grade A, and why

fix-bug 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 6d 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.

commands/fix-bug.md · 9 lines

What it actually says

Load the project-scaffolder:debugging skill and run the /fix-bug procedure for: $ARGUMENTS

No fix before the cause is shown with evidence. After three disproved hypotheses, stop and ask the user. The diagnosis is designed for a Fable session and the command does not switch models: on another model, say so in one line and suggest /model fable.

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. 6d ago First seen · 9 lines · 31 tokens per session scan A fafd9b973303

Subscribe to this mod's changes

fix-bug is a command published in the GitHub repository valsecchi75/project-scaffolder (9 stars, last pushed 6d ago), licensed MIT. It adds 31 tokens to every session and 135 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-11-24.

Related

fix-bug compared with commands from other repositories

fix-bug next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-bugvalsecchi75/project-scaffolderCommand96d agoMITA31Claude Code
bugfixrube-de/cc-skillsCommand112d agoMITA60Claude Code
crystallizeavelikiy/great_ctoCommand11714d agoMITA44Claude Code
debugHigorAlves/orcCommand73d agoMITA53Claude Code
loop-execution-evaluatorIbrahim-3d/orchestrator-supaconductorCommand3842mo agoAGPL-3.0A17Claude Code
loop-fixerIbrahim-3d/orchestrator-supaconductorCommand3842mo agoAGPL-3.0A17Claude Code
systematic-debuggingIbrahim-3d/orchestrator-supaconductorCommand3842mo agoAGPL-3.0A15Claude Code