A shared session-handoff MCP server that lets Claude Code, Codex, and any MCP agent resume each other's work. Continues where you left off.
Baton has well-structured tool definitions with clear naming (verb_noun pattern: baton_status, baton_pick_up, baton_pass, baton_log, baton_history, baton_init). Descriptions are present and contextual (avg ~120 chars), explaining WHEN to call each tool. Input schemas are properly typed with JSON Schema. However, parameter descriptions are sparse or missing entirely, most params lack guidance on format, constraints, or dependencies. Output schemas are not documented; responses are text-only without structured field definitions. Error handling is minimal, no recovery guidance or categorization. Security considerations around file I/O are not addressed. Composition is sound (each tool has one responsibility), but the lack of parameter documentation and output schema specification limits LLM reasoning quality.
Read the recent handoff/progress ledger for this project.
Set up Baton for a project: create .baton/ and bridge CLAUDE.md <-> AGENTS.md (symlink) so both Claude Code and Codex read the same instructions.
Drop a lightweight progress breadcrumb into the ledger without a full baton pass. Use for mid-task milestones.
PASS THE BATON. Record where you're stopping so the next agent/session continues seamlessly. Merges with existing state — pass only the fields you want to update. Rewrites HANDOFF.md.
PICK UP THE BATON. Returns the full current handoff state + recent history so you continue exactly where the previous agent (or session) stopped. Call this before doing any work if a baton might exist.
Check if a baton (handoff state) exists for this project and get a one-glance summary. Call this at session start.
Output schemas not documented. Tools return text responses without structured field definitions. LLMs cannot plan downstream calls or extract typed data reliably.
Parameter descriptions missing or minimal. 'project' param appears in all tools but lacks guidance on format (absolute vs relative path, default behavior). 'limit' in baton_history has no type or range constraint.
Error handling lacks recovery guidance. No error categorization (retryable vs fatal). Responses like 'No baton yet' do not guide the LLM on next steps or alternative tools.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 55 | 2026-07-28+ | v2 |
baton_pass accepts 'handoffNote' as required but other fields (task, goal, status) are optional. No guidance on which combinations are valid or what happens if required context is missing.
File I/O operations (read/write HANDOFF.md, .baton/) lack permission checks and path traversal validation. No audit logging of who modified state or when.