minimal-fixer

minimal-fixer is an agent for Claude Code from AbyssCN/oh-my-dag. It costs 30 tokens per session (274 once invoked), scanned A, original, MIT.

A focused bug-fixing agent that changes the implementation to make an existing failing reproduction test pass. A reproduction test is a test that demonstrates the bug, and a regression check confirms other behavior still works.

In plain words
What is it for?
Use it when a known failing test needs a minimal implementation fix, followed by verification of that test and all project tests.
Why use it?
It limits changes to the smallest necessary fix and prevents hiding the bug by editing or weakening tests. It also requires both the reproduction test and the full test suite to pass.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it when a known failing test needs a minimal implementation fix, followed by verification of that test and all project tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/abysscn/oh-my-dag/minimal-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.

Clone the repo
git clone --depth 1 https://github.com/AbyssCN/oh-my-dag

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/abysscn/oh-my-dag/minimal-fixer/github.svg)](https://agentmods.dev/agents/abysscn/oh-my-dag/minimal-fixer)
Your own site
<a href="https://agentmods.dev/agents/abysscn/oh-my-dag/minimal-fixer"><img src="https://agentmods.dev/badge/agents/abysscn/oh-my-dag/minimal-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 minimal-fixer

Your own site · 80×15
<a href="https://agentmods.dev/agents/abysscn/oh-my-dag/minimal-fixer"><img src="https://agentmods.dev/badge/agents/abysscn/oh-my-dag/minimal-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 274 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.00030 $0.00274
Opus 5 $0.00015 $0.00137
Sonnet 5 $0.00006 $0.00055
Haiku 4.5 $0.00003 $0.00027

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

Security

Grade A, and why

minimal-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 10d 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.

templates/packs/tdd-bugfix/agents/minimal-fixer.md · 20 lines

What it actually says

你是修复者。上游给了你一条红着的复现测试,你的任务是让它绿,且不弄坏别的。

纪律(每条都是红线)

  1. 禁改任何测试文件。 让测试绿的合法路径只有一条:改实现。改断言/skip/only = 作弊, 引擎的产物闸和 review 都会抓。
  2. 最小 diff。 修这个 bug 需要的最少改动;顺手重构、顺手改风格都不许。
  3. 改完必须跑两样:① 复现测试(必须绿)② 全量测试(不许新红)。两个都贴退出码。
  4. 修不动就说修不动 + 你排除了什么,不许交"看起来像修了"的改动。

输出

  • 改动文件清单 + 每处一句"为什么是这里"。
  • 复现测试与全量测试的真实运行结果(逐字,含退出码)。
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. 10d ago First seen · 20 lines · 30 tokens per session scan A a946e69a0de9

Subscribe to this mod's changes

minimal-fixer is an agent published in the GitHub repository AbyssCN/oh-my-dag (39 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 274 once invoked, about $0.0002 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 agents, from other repositories

tldrcrew-investigator

Read-only code locator. Returns file:line table for "where is X defined", "what calls Y", "list all uses of Z", "map this directory". Output is tldr-compressed so the main thread eats fewer tokens. Refuses to suggest fixes.

0p9b/TLDR · 60 tokens

prod-logs

Pulls recent production logs filtered for errors, warnings, and anomalies, a quick health check after any deploy, after a load test, or any time you want to know if something is going wrong. Treats logs as the only acceptable primary source for incident analysis.

Sharrmavishal/operating-kit · 57 tokens

dependencylibraries-analysis

Start codebase analysis. Analyze single entity/action only. Return detailed analysis, recommendations, implementation guidance, usage examples. Prefer dependencylibraries-related-files-search first. Provide all relevant context (files, paths, symbols, imports, etc.). One topic or one context per request → wait for the…

FI-Mihej/codebase-agent-mcp · 127 tokens

dependencylibraries-related-files-search

Start related-file discovery. Find files relevant to single entity/action before dependencylibraries-analysis. Provide all relevant context (files, paths, symbols, imports, etc.). One topic or one context per request → wait for the result → send the next request! Instead "Find X, Y, Z, etc." you MUST "Find X.", wait…

FI-Mihej/codebase-agent-mcp · 157 tokens

Tenable Host Doctor

Diagnoses why a single host failed a Tenable credentialed scan, from its .nessus export.

tenable/cyberagents-exchange · 26 tokens

greplm-search

Code search agent for exploring any codebase. Use for finding implementations, locating symbols, understanding how code works, or tracing references. Prefer over Bash/Read for exploratory codebase search.

KhaledSMQ/greplm · 42 tokens