Claude Auto Handoff — Development skill for Claude Code
Claude Code mod: hand a long session off to a fresh one with a structured brief, instead of auto-compacting.
How to install Claude Auto Handoff
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open alexknowshtml/claude-auto-handoff and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Auto Handoff does
Claude Code mod: hand a long session off to a fresh one with a structured brief, instead of auto-compacting.
Alternatives in Development
- Create Handoff — You are tasked with writing a handoff document to hand off your work to another agent in a new session 10k ★
- Harness Remote — Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI 356 ★
- Mem Save — Save a curated session-level summary to history 186 ★
README
claude-auto-handoff
A Claude Code mod that hands a long session off to a fresh one before the context fills up. It replaces auto-compact.
At the threshold, Haiku writes a structured handoff brief to disk. Then the mod runs `/clear` and seeds the new session with one line that points at the brief. The fresh session reads the brief and keeps working.

A live run on Haiku with the threshold at 80k. The mod refuses a read at the threshold, writes the brief, clears, and the fresh session is back at work about 7 seconds later at 31k. ([video](docs/demo.mp4))
Why not auto-compact?
Auto-compact summarizes in place, and you can't control what it keeps. A handoff brief has a fixed structure that you can edit. It covers work in progress, decisions, assumptions to verify, dead ends, your last request and whether it was answered, and the next step. The files, commits and issues sections come from the transcript in code, so they don't depend on the model's memory.
What happens
- Threshold. The mod checks the context size after each turn and before each model request, including tool output that hasn't been measured yet. Once it's past the threshold, the mod refuses new tool calls, so one burst of reads can't overflow the window. Unmeasured tool output is an estimate that can run high, so the real size sometimes comes in under the threshold. A refused call still ends in a handoff, at the next request or the end of the turn.
- Brief. Haiku writes the brief from the transcript. If Haiku fails, a facts-only brief stands in. Briefs go to
~/.claude/state/auto-handoff/.md. - Clear and seed. The mod runs
/clearand sends the fresh session one line: read the brief and follow its Instructions section. In the transcript, that line's brief path and viewer URL are d
Related Skills
Ctx Handoff Mod
Claude Code mod: auto handoff to a fresh conversation when context hits a threshold, keeps the prompt cache wa
Context Health Bar
A Chrome extension that visualizes Claude context health as a compact orb and helps you hand off long chats to
Fleet Handoff
/fleet-handoff — hand off across a context boundary, then auto-clear + resume
Baton Pass
Pass the baton before your context runs out: a Stop-hook + skill that hands a long agent session off to a fres
Work Release
Coordinate a release session — confirm scope, brief and run the required agents, verify against acceptance cri
Wipe
Generate handoff, clear context, and auto-continue in fresh session
Related Agents
Hydra Task Steward
Create, checkpoint, hand off, or complete a Hydra task record. Use when work needs persisted state, a handoff,
Miner
Parses structured data at volume — JSONL transcripts, logs, ledgers, CSV, counters — and returns the extracted
Page Writer Sonnet
Writes a long file from a short brief — the board, a chewed plan page, a status document, an explainer, a draf