bug-fixer

bug-fixer is a skill for Claude Code, Codex from arctan303/creator.skill. It costs 68 tokens per session (576 once invoked), scanned A, original, MIT.

A software-debugging workflow for fixing defects whose expected behavior is already clear. It uses reproducible evidence such as errors, failed tests, review feedback, or repeatable steps to find the cause.

In plain words
What is it for?
Use it to reproduce a bug, test possible causes, make the smallest complete fix, and run regression checks. It also records the evidence, changes, remaining risks, and any unresolved blockers.
Why use it?
It prevents guesswork and avoids disguising a new product decision as a bug fix. It also makes clear when the problem needs a product decision instead.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/arctan303/creator.skill/bug-fixer
Any agent
npx skills add arctan303/creator.skill --skill bug-fixer
Clone the repo
git clone --depth 1 https://github.com/arctan303/creator.skill

Made for: Claude Code, Codex.

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/arctan303/creator.skill/bug-fixer.svg)](https://agentmods.dev/skills/arctan303/creator.skill/bug-fixer)
Your own site
<a href="https://agentmods.dev/skills/arctan303/creator.skill/bug-fixer"><img src="https://agentmods.dev/badge/skills/arctan303/creator.skill/bug-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00068 $0.00576
Opus 5 $0.00034 $0.00288
Sonnet 5 $0.00014 $0.00115
Haiku 4.5 $0.00007 $0.00058

Measured 4d ago against content hash 3c2a7cc63be1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

.agents/skills/bug-fixer/SKILL.md · 54 lines

What it actually says

缺陷修复技能 (bug-fixer)

Purpose

用可复现证据定位根因并恢复已经明确的预期行为。不要靠猜测修复,也不要把新的产品决策伪装成 Bug。

Trigger

  • 报错、失败测试、审查意见或稳定复现步骤表明既有行为失效。
  • 正确行为能由 Product Spec、公开接口、历史行为、测试或用户确认确定。
  • 仅改变内部实现且不新增能力、不改变外部契约。

正确行为不清、证据互相矛盾或需要改变公开行为时,不触发本技能,转交 product-spec-builder

Required context

  • 预期行为及来源。
  • 实际现象、复现步骤、日志或失败测试。
  • 范围、非目标、完成证据和 R0/R1/R2。
  • 相关代码、历史变更和当前验证入口。

缺少复现条件时,先形成最小诊断假设;无法验证任何假设则停止。

Workflow

  1. 复现问题,区分已证实事实、合理推断和未知项。
  2. 一次验证一个根因假设,找到最小充分证据链。
  3. 实施最小完整修复,不用大重构掩盖未知根因。
  4. 复跑原失败证据,并补充与风险相称的回归检查。
  5. 若范围或风险升级,更新维护契约并按 R2 规则交给 fresh reviewer。

Output

  • 根因与证据。
  • 修改文件和修复说明。
  • 原问题验证、回归结果、失败或跳过项。
  • 风险级别、残余风险和 reviewer 结论(如适用)。

Stop or escalate

  • 正确行为需要用户或产品决策:升级为产品变更。
  • 唯一方案会改变公开 API、数据、权限、业务流程或兼容性:升级为产品变更。
  • 只能通过吞错、禁用检查或扩大范围隐藏问题:停止。
  • 没有可复现或可替代验证证据:标记阻塞,不声明已修复。

References

执行前读取 stage-contract.md

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. 4d ago First seen · 54 lines · 68 tokens per session scan A 3c2a7cc63be1

Subscribe to this mod's changes

bug-fixer is a skill published in the GitHub repository arctan303/creator.skill (20 stars, last pushed 29d ago), licensed MIT. It adds 68 tokens to every session and 576 once invoked, about $0.0003 per session on Opus 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-30.

Related

Other skills, from other repositories

skill-forge

Generate a new skill from a simple prompt, then run an enhancer pass to tighten trigger rules, workflow, and output quality.

nusabyte-my/jebat-core · 28 tokens

edgeone skill scanner

Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: 这个 skill 安全吗, skill 安全扫描…

Tencent/AI-Infra-Guard · 148 tokens

avoid-ai-writing

Audit and rewrite content to remove AI writing patterns ("AI-isms"). Use this skill when asked to "remove AI-isms," "clean up AI writing," "edit writing for AI patterns," "audit writing for AI tells," or "make this sound less like AI." Supports a detect-only mode, an edit-in-place mode for files, an optional voice…

conorbronsdon/avoid-ai-writing · 97 tokens

trulens-evaluation-workflow

Systematically evaluate your LLM application with TruLens.

truera/trulens · 18 tokens

agent-sop-author

Create (or update) and validate Agent SOPs (Standard Operating Procedures) - markdown-based workflows that guide AI agents through complex, multi-step tasks with RFC 2119 constraints.

strands-agents/agent-sop · 41 tokens

omnisci

Run OmniScientist end to end in the OmniScientist CLI using DeepSeek V4 Flash. Turn raw research data (images, signals, audio, video, 3-D, tables, or graphs) and an open direction into perceived evidence, a falsifiable hypothesis, recorded analysis, real citations, a gated candidate paper, PDF, and Overleaf bundle.…

Omni-Scientist/OmniScientist · 145 tokens