Hand off Claude Code / Claude.ai conversation context when you need to continue in a fresh session.
Long agent sessions end, get truncated, or need a clean restart — and rebuilding context by memory is wasteful. claude-handoff turns a Claude Code session, clipboard dump, or /export transcript into a compact HANDOFF.md plus a paste-ready resume prompt (copied to the clipboard on macOS).
Offline by default: no Claude API key required for local extraction. Optional OpenAI-compatible local LLM compression is available.
| Command | Use |
|---|---|
| list | Recent Claude Code sessions |
| make | Build handoff from a session (latest by default) |
| from-clip | Build from claude.ai clipboard text |
| from-file | Build from /export txt or JSONL |
| accounts … | Optional Claude Code profile helpers via CLAUDE_CONFIG_DIR |
Python 3 stdlib only. macOS uses pbcopy / pbpaste.
Follow Anthropic’s Terms of Service for your own account setup. This tool is for session continuity — not a bypass kit.
Related: All projects