Claude Context Handoff — Development skill for Claude Code
Writes a handoff before Claude Code runs out of context, then gives you a resume prompt for a fresh session.
How to install Claude Context Handoff
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open seven7rees/claude-context-handoff and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Context Handoff does
Writes a handoff before Claude Code runs out of context, then gives you a resume prompt for a fresh session. Zero dependencies. Local only. MIT. Early release.
Alternatives in Development
- Sanitize — Detect and redact PII from text files — 15 categories (SSNs, credit cards, API keys, etc.), zero dependencies 3.1k ★
- Claw Code Agent — Claw Code No Rust No TypeScript Only Python 543 ★
- Release & Shipping Burn Patterns — Research Summary — Research completed: 2026-02-10 Sources: ~/.claude/CLAUDE.md (This Has Burned You Before table), SESSION_HANDOF 216 ★
README
Write the handoff before Claude Code runs out of context, not after.
Writes a structured handoff when your context window reaches a percentage you choose, so your next session can start from a handoff file and a ready resume prompt.
Zero dependencies. Local only. Works through Claude Code hooks.
**Early release.** The terminal flow was run live once in Claude Code on macOS, up to Claude printing the resume prompt ([record](docs/verification/terminal-macos.md)). The Claude desktop app flow is only partly verified ([record](docs/verification/desktop-app.md)). See [What is proven](#what-is-proven) and [Known limits](#known-limits) before you rely on it.
claude-context-handoff is an independent open source project. It is not affiliated with, endorsed by, or sponsored by Anthropic. Claude and Claude Code are trademarks of Anthropic, PBC.
What does it do?
- Reads your context usage from the Claude Code status line and saves it per session.
- At your threshold (default 85 percent), waits for the end of a turn, then asks Claude to write a handoff file.
- Asks Claude to check the file with
handoff verify, then gives you a one-line resume prompt for the next session. - Claude desktop app only, experimental: opens the next session in the right folder with the prompt ready. Renaming and pinning the new session is unverified.
How is this different from /compact?
`/compact` summarizes the conversation inside the same session. A handoff writes the working state
Related Skills
Claude Prompt Cache Control
Claude Code mod: prompt-cache meter with a Clear button that writes a handoff brief and starts a fresh convers
Resume Skills
Offline, local-only context migration skills across 9 coding-agent sources × 9 destination hosts (registry-der
Fleet Call
Plan a call run - dig every fact about a topic out of the project, then write the bilingual script a non-nativ
Clean End Of Session
Claude Code mod: winds agents down cleanly before your subscription credit runs out and writes a resume memo.
Ho
End-of-session handoff. Runs a pre-flight checklist, then writes a structured entry to the relevant SESSION_LO
Fleet Handoff
/fleet-handoff — hand off across a context boundary, then auto-clear + resume
Related Agents
Summarizer
Draft a session-handoff summary so a fresh agent can continue with zero conversation context. Locates the curr
Release Failure Analyzer
MUST BE USED when release.yml fails (Phase 3 of releasing-erfana skill, on non-zero gh run watch --exit-status
Frank Lloyd Aight
Frank Lloyd AIght, main-session architecture reviewer. Lays out the deployed, in-flight, and designed states o