fix-bug

fix-bug is a command for Claude Code from engindemirog/ai-native-engineering-workspace. It costs 12 tokens per session (108 once invoked), scanned A, original, MIT.

A command for fixing a software bug through reproduction, diagnosis, and then correction. It requires a failing minimal reproduction test before any fix is made.

In plain words
What is it for?
Use it to reproduce a bug, diagnose why it happens, add a lasting regression test, and apply the fix at the required human checkpoints.
Why use it?
It prevents guessed fixes and keeps the bug’s original failure documented permanently. The workflow also requires identifying the root cause before changing code.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions AGENTS.md.

Good fit Use it to reproduce a bug, diagnose why it happens, add a lasting regression test, and apply the fix at the required human checkpoints.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/engindemirog/ai-native-engineering-workspace/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/engindemirog/ai-native-engineering-workspace

Made for: Claude Code.

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/engindemirog/ai-native-engineering-workspace/fix-bug/github.svg)](https://agentmods.dev/commands/engindemirog/ai-native-engineering-workspace/fix-bug)
Your own site
<a href="https://agentmods.dev/commands/engindemirog/ai-native-engineering-workspace/fix-bug"><img src="https://agentmods.dev/badge/commands/engindemirog/ai-native-engineering-workspace/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/engindemirog/ai-native-engineering-workspace/fix-bug"><img src="https://agentmods.dev/badge/commands/engindemirog/ai-native-engineering-workspace/fix-bug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 108 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.00012 $0.00108
Opus 5.5 $0.00005 $0.00043
Sonnet 5.5 $0.00002 $0.00022
Haiku 4.5 $0.00001 $0.00011

Measured 1mo ago against content hash 548be88f13fe, 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 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.

adapters/claude-code/.claude/commands/fix-bug.md · 9 lines

What it actually says

Read AGENTS.md and workflows/bug-fix.md. Run the workflow for: $ARGUMENTS Iron rule: no fix before a failing minimal reproduction test exists (R-05 pattern). Diagnose root cause before changing anything (R-01). The reproduction test is permanent. Stop at every human gate, one decision per gate message (workflows/segments.md, Contract, Gate).

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 · +1 lines 548be88f13fe
  2. 3mo ago First seen · 8 lines · 12 tokens per session scan A e79b6ff6f58e

Subscribe to this mod's changes

fix-bug is a command published in the GitHub repository engindemirog/ai-native-engineering-workspace (142 stars, last pushed 13d ago), licensed MIT. It adds 12 tokens to every session and 108 once invoked, about $0.0000 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

fix-bug compared with commands from other repositories

fix-bug next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-bugengindemirog/ai-native-engineering-workspaceCommand14213d agoMITA12Claude Code
qa-changesOpenHands/extensionsCommand190todayMITA63Claude Code
auditar-cascadingluanpdd/kit-mcpCommand52d agoMITA54Claude Code
react-nativegetsentry/toolkitCommand983todaynoneA0Claude Code
http-serviceMadAppGang/magusCommand16yesterdayMITA27Claude Code
doctordoncheli/don-cheli-sddCommand593mo agoApache-2.0A76Claude Code
doctorfatihkan/badiCommand81mo agoMITA0Claude Code