Baton — Documentation skill for Claude Code
Baton — clean session handoffs: pass in-progress work to the next agent with a single verified markdown file.
How to install Baton
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open blader/baton and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Baton does
Baton — clean session handoffs: pass in-progress work to the next agent with a single verified markdown file. A Claude Code / Codex skill.
Alternatives in Documentation
- 会话管理(Session Manager)需求文档(PRD / Markdown) — 目标:对 Codex / Claude Code 的本地会话记录进行可视化管理,并提供“一键复制 / 一键终端恢复”能力 31.7k ★
- Tentacle Update Tentacle — You are the maintainer for the {{tentacleId}} tentacle 1.4k ★
- Qmd Skill — A Codex/Clawd skill definition for qmd (Quick Markdown Search) 673 ★
README
Baton
Clean session handoffs. When you pass in-progress work to another agent — a fresh window, a future session, a different model — that runner starts with **zero of your context**. A baton is a single markdown file that lets them grab the work and sprint instead of re-deriving everything you already know.
Core principle
Capture what the next runner **can't reconstruct** from the code or git history — your *intent*, the *dead ends you already ruled out*, and the *exact next step* — grounded in verified repo state, not your chat narrative.
There are two sides to the skill: **drop a baton** (you're handing off) and **grab a baton** (you're picking one up).
When to use
**Drop a baton when:**
- A session ends with work unfinished and someone/something will continue it.
- The user says "hand this off", "pick up later", "pass this to another agent".
- You're running low on context and want to checkpoint before it's summarized away.
- You're about to dispatch the rest of the work to a separate agent/session.
**Grab a baton when:**
- Starting work in a repo where a prior session may have left one (check first).
**Don't use for:** a finished task (no handoff needed), or durable architecture rationale (that belongs in a long-lived design doc).
How it works
- Batons live in
.baton/at the repo root — local scratch, git-ignored, never committed. - Filename is
-.md; the next agent finds the latest withls -t .baton/. - The iron rule — verify before you write. A baton built from the chat story instead of repo reality is worse than none. Run
git statusandgit branch --show-currentfirst; the "State of play" section must reflect runtime truth, not the conversation. - The format is a fixed set of sections — Intent & Goal, State of Play (verified against git), Learnings & Landmines, Pointers, Next Steps, Open Questions — so every handoff has a consistent, scannable shape.
- The highest-value content is the **dead ends
Related Skills
Add Context
Enrich a handoff/plan doc with session-verified context before the next session works from it
Wrap Skill
A Claude Code skill that consolidates scattered project markdown files into a single canonical CLAUDE.md, with
Agent Checkpoint
Repo-local checkpoint and resume skills for coding agents. Handoffs are plain markdown under .agents/checkpoin
Cairn
Turn a markdown plan document into a graph of verified, concurrent coding-agent work — committed-marker resume
Wiki Deep
Periodic deep pass (day end · weekly · when a close-out report recommends it) — drain the transcript backlog,
Crewplane
Run reviewable, resumable coding-agent workflows across Claude Code, Codex, Gemini, GitHub Copilot CLI, or any
Related Agents
Hatch3r Handoff Loader
Session-start agent that surfaces active handoff documents from .hatch3r/handoffs/active/. Use at the beginnin
Workflow Knowledge Orchestrator
DM — Coordinate profiles, select workflows, decompose work, distribute context, track state, consolidate verif
Dual Reviewer
Second-phase Codex code-review loop with Claude adjudication, after pr-reviewer in the branch review pass or m