baton-merge

baton-merge is a skill for Claude Code, Codex from sawy3r/baton. It costs 17 tokens per session (569 once invoked), scanned A, original, MIT.

A controlled operation for combining completed work and merging only changes approved by a verifier. A verifier is the process or person that checks whether work meets its acceptance criteria.

In plain words
What is it for?
Use it to assemble approved work in the required order, confirm every part passed review, and prepare the final release candidate for another check.
Why use it?
It prevents unapproved changes or incomplete work from being merged into the release.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assemble approved work in the required order, confirm every part passed review, and prepare the final release candidate for another check.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sawy3r/baton/baton-merge
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 sawy3r/baton --skill baton-merge
Clone the repo
git clone --depth 1 https://github.com/sawy3r/baton

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 baton-merge

README.md
[![agentmods](https://agentmods.dev/badge/skills/sawy3r/baton/baton-merge/github.svg)](https://agentmods.dev/skills/sawy3r/baton/baton-merge)
Your own site
<a href="https://agentmods.dev/skills/sawy3r/baton/baton-merge"><img src="https://agentmods.dev/badge/skills/sawy3r/baton/baton-merge/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 baton-merge

Your own site · 80×15
<a href="https://agentmods.dev/skills/sawy3r/baton/baton-merge"><img src="https://agentmods.dev/badge/skills/sawy3r/baton/baton-merge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 569 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.00017 $0.00569
Opus 5 $0.00009 $0.00284
Sonnet 5 $0.00003 $0.00114
Haiku 4.5 $0.00002 $0.00057

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

Security

Grade A, and why

baton-merge 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 11d 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.

skills/baton-merge/SKILL.md · 71 lines

How it starts

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

Use the invoking request as input. Resolve relative files from this directory. This standalone skill needs no shared Baton folder.


operation: baton-merge version: baton.operation/v2

Purpose

Combine passed work or merge the exact complete release covered by current PASS.

Inputs

  • The approved plan revision and one saved Git snapshot.
  • For a track, the passed slices in approved order.
  • For the release, the exact assembled candidate and fresh assembly PASS.

Authority

Merge never invents a verdict or resolves a product conflict. Get candidates, order, and expected targets from approved facts. Stop before an unsafe change; the surrounding system may then rescan and recover. Merge acts on the exact passed candidate, including verified support work, not a predicted file list.

Actions

  1. For a track, prove every required slice has an applicable PASS, hold the exact candidate still, and combine it in the approved order.
  2. After all tracks pass, assemble the latest target with those exact products and stop for fresh baton-verify assembly. A later target advance rebuilds and rechecks only this assembly; it does not reset unchanged slices.
  3. For release Merge, recheck the assembly PASS, candidate, authority, and expected target immediately before integration.
  4. Perform the exact Git change and read the resulting target.
  5. On an exact retry, return the already observed canonical result without duplicating the effect.

Required output

Lead with what happened, what it means, and what happens next. Put scope, pass bindings, component candidates, expected and observed targets, and resulting commit under technical details for the machine-written receipt. Never report partial success as MERGED.

Read the full file on GitHub · 71 lines

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. 11d ago First seen · 71 lines · 17 tokens per session scan A 1c9c4994604b

Subscribe to this mod's changes

baton-merge is a skill published in the GitHub repository sawy3r/baton (9 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 569 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories