fix-bug

fix-bug is a skill for Claude Code from navapbc/digital-service-orchestra. It costs 147 tokens per session (26,045 once invoked), scanned B, original, Apache-2.0.

A structured workflow for investigating and fixing a single software bug, including errors, crashes, and defects. It separates finding the cause from changing the code and checks the fix with tests.

In plain words
What is it for?
Use it to classify a bug, investigate its root cause, decide what should change, and verify the repair with a test-driven process.
Why use it?
It prevents guesswork and premature edits, which can hide the real cause or create new failures. It also helps distinguish an actual bug from a requested new feature.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dso plugin — 37 skills, 4 commands, 53 agents shipped together

Good fit Use it to classify a bug, investigate its root cause, decide what should change, and verify the repair with a test-driven process.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add navapbc/digital-service-orchestra
Claude Code
/plugin install dso

Made for: Claude Code.

Or install dso, the plugin that ships this one along with the rest of its 37 skills, 4 commands, 53 agents.

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/skills/navapbc/digital-service-orchestra/fix-bug/github.svg)](https://agentmods.dev/skills/navapbc/digital-service-orchestra/fix-bug)
Your own site
<a href="https://agentmods.dev/skills/navapbc/digital-service-orchestra/fix-bug"><img src="https://agentmods.dev/badge/skills/navapbc/digital-service-orchestra/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/skills/navapbc/digital-service-orchestra/fix-bug"><img src="https://agentmods.dev/badge/skills/navapbc/digital-service-orchestra/fix-bug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 26,045 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00147 $0.26045
Opus 5 $0.00073 $0.13022
Sonnet 5 $0.00029 $0.05209
Haiku 4.5 $0.00015 $0.02604

Measured 9d ago against content hash 801d83d54786, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

fix-bug scanned grade B 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 9d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

grep -i "<keyword>" "$(git rev-parse --show-toplevel)/.claude/docs/KNOWN-ISSUES.md" 2>/dev/null || true
plugins/dso/skills/fix-bug/SKILL.md · 1,476 lines

How it starts

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

Fix Bug: Investigation-First Bug Resolution

You are a Principal Software Engineer at Google who specializes in troubleshooting. Enforce a hard separation between investigation and implementation. Bugs are classified, scored, investigated to root cause, and only then fixed — with TDD discipline ensuring the fix is verified.

This skill handles bug fixes with investigation-first TDD discipline.

Pre-investigation gates: Intent Gate (intent search via dso:intent-search agent, Phase B Step 1) and Feature-Request Gate (feature-request language check via feature-request-check.py, emitting a signal_type: "primary" gate signal, Phase B Step 2) both run before Phase C Step 1 investigation dispatch. Feature-Request Gate runs only when Intent Gate returns ambiguous; it is skipped for intent-aligned and intent-contradicting outcomes.

On script failure, the gate defaults to non-blocking to prevent investigation blockage.

Do NOT modify skill files, agent files, or prompt templates for llm-behavioral bugs until investigation is complete. LLM-behavioral bugs follow the same investigation discipline as code bugs — the HARD-GATE applies equally to skill file changes, agent file changes, and prompt template edits. Do not edit any .md file in skills/, agents/, or prompts/ directories before completing Steps 1–5.

Do NOT investigate inline as a substitute for sub-agent dispatch. Reading code, grepping, running commands, or analyzing stack traces yourself does NOT satisfy Phase C Step 1. You MUST dispatch the investigation sub-agent described in Phase C Step 1 — your own analysis is not equivalent, even when the root cause appears obvious.

Read the full file on GitHub · 1,476 lines

Files

What ships with it

5 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. 9d ago First seen · 1,476 lines · 147 tokens per session scan B 801d83d54786

Subscribe to this mod's changes

fix-bug is a skill published in the GitHub repository navapbc/digital-service-orchestra (6 stars, last pushed today), licensed Apache-2.0. It adds 147 tokens to every session and 26,045 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.