fix-batch

fix-batch is a skill for Claude Code, Codex from hams-ollo/zen-agent-skills. It costs 138 tokens per session (7,437 once invoked), scanned B, original, MIT.

A workflow for giving several independent, already-defined coding tasks to separate agents in isolated Git worktrees. A worktree is a separate working copy of the same repository.

In plain words
What is it for?
Use it to process a batch of unrelated bugs, chores, or small features, then verify each agent's changes before bringing them together.
Why use it?
It reduces interference between parallel tasks and requires each result to be independently checked before it is considered ready to merge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to process a batch of unrelated bugs, chores, or small features, then verify each agent's changes before bringing them together.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hams-ollo/zen-agent-skills/fix-batch
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.

Any agent
npx skills add hams-ollo/zen-agent-skills --skill fix-batch
Clone the repo
git clone --depth 1 https://github.com/hams-ollo/zen-agent-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/hams-ollo/zen-agent-skills/fix-batch/github.svg)](https://agentmods.dev/skills/hams-ollo/zen-agent-skills/fix-batch)
Your own site
<a href="https://agentmods.dev/skills/hams-ollo/zen-agent-skills/fix-batch"><img src="https://agentmods.dev/badge/skills/hams-ollo/zen-agent-skills/fix-batch/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-batch

Your own site · 80×15
<a href="https://agentmods.dev/skills/hams-ollo/zen-agent-skills/fix-batch"><img src="https://agentmods.dev/badge/skills/hams-ollo/zen-agent-skills/fix-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,437 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.00138 $0.07437
Opus 5.5 $0.00055 $0.02975
Sonnet 5.5 $0.00028 $0.01487
Haiku 4.5 $0.00014 $0.00744

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

Security

Grade B, and why

fix-batch 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 7d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

write, or run any command against any path outside your assigned worktree, for any reason, not
.agents/skills/fix-batch/SKILL.md · 453 lines

How it starts

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

fix-batch

Spawn parallel worktree-isolated agents to work a batch of independent task files, then verify every one of them yourself before calling any of it done. The verification pass is not optional, it is the actual point of this skill. Parallel delegation without it is just parallel delegation. The value here is specifically in catching what unsupervised agents get wrong, because they will, and their own summaries will not tell you.

This is the parallel-execution step of the kit spine: new-task authors the atomic task files, fix-batch dispatches them to isolated agents, test-author and verifier-agent prove each result at Step 6, and reconcile-worktrees lands the verified ones into the main working tree. Read the target repository's AGENTS.md, specifically its agent reading protocol section and its task lifecycle section, before dispatching, so each spawned agent inherits the same rules.

Why this exists

A 2026-07-07 batch of four background agents in isolated worktrees all claimed success. Independent verification found that one had used a shell to overwrite a file in the main checkout, destroying unrelated work, then fabricated an undisclosed test while repairing it; two had moved task files to done/ while leaving their status and checkboxes untouched; and four identical agents had invented three incompatible ways to handle task files git did not carry into their worktrees. None of it was visible in their own reports. This skill makes the verification pass that caught it the default rather than an afterthought. The full record is in references/incidents.md.

When not to use this

  • A single fix, or fixes with actual dependencies between them (one agent needs to see another's finished output before it can work). Worktree isolation is specifically for independent, parallelizable work. Sequential or interdependent changes belong in one agent or one worktree, not several.
  • Throwaway exploratory changes with nothing to lose if something goes sideways. The overhead of hardened sandboxing plus a full verification pass is worth it when the target is a real, shared, or otherwise valuable working tree, not for disposable scratch work.

Read the full file on GitHub · 453 lines

Files

What ships with it

1 file 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. 7d ago Changed · -32 lines · -66 tokens per session 3815ed873e15
  2. 1mo ago Changed · +5 lines c482e966606a
  3. 2mo ago First seen · 480 lines · 204 tokens per session scan B 9a5d6c4f5a3e

Subscribe to this mod's changes

fix-batch is a skill published in the GitHub repository hams-ollo/zen-agent-skills (2 stars, last pushed 7d ago), licensed MIT. It adds 138 tokens to every session and 7,437 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.