| name | handover |
| description | End-of-session menu — wrap up this Claude session. Logging, YAML handovers, spawning new instances, clipboard. Triggers on "handover", "end session", "wrap up", "hand off", "session transfer". |
Handover Menu
Single entry point for all end-of-session workflows.
When to use
- User says "handover", "hand off", "wrap up", "end session", "session transfer", "pass the baton"
- Context getting long, switching task/repo
Procedure
1. Present menu
Display exactly:
How do you want to wrap up?
1. Full handover + new session — investigate repo, write YAML HANDOVER.md, spawn new Claude
2. Quick handover + new session — minimal YAML HANDOVER.md, spawn new Claude
3. Log + full handover + new session — archive to Agent-Logs, then full handover + spawn
4. Write handover only — create YAML HANDOVER.md, stay in this session
5. Log only — record to Agent-Logs, no handover, no spawn
6. Log + spawn (no handover) — archive log, spawn fresh Claude with no context
7. Clipboard handover — short YAML summary in chat + copied to clipboard, no files, no spawn
2. Wait for choice
Accept 1-7 or keyword ("quick", "log only", "full", "clipboard").
3. Execute
Choice 1: Full handover + new session
Run /session-transfer:handover:
- handover-writer subagent creates YAML
HANDOVER.md
- Verify exists
konsole --workdir "$(git rev-parse --show-toplevel)" -e claude "/session-transfer:start-from-handover" &
- Report
Choice 2: Quick handover + new session
Run /session-transfer:quick-handover:
- Capture git state
- Write minimal YAML HANDOVER.md
- Commit and push
konsole --workdir "$(git rev-parse --show-toplevel)" -e claude "/session-transfer:start-from-handover" &
- Report
Choice 3: Log + full handover + new session
Run /session-transfer:log-and-handover:
- Write JSON log to Agent-Logs (check memory for path, fall back
~/repos/github/my-repos/Agent-Logs/)
- Commit, push, run
python3 scripts/ingest.py if exists
- handover-writer subagent creates YAML
HANDOVER.md
- Spawn + report
Choice 4: Write handover only
Run /session-transfer:write-handover:
- handover-writer subagent creates YAML
HANDOVER.md
- Confirm — do NOT spawn
- Remind: can run
/session-transfer:start-from-handover later
Choice 5: Log only
- Find Agent-Logs path (memory
reference_agent_logs.md, fall back ~/repos/github/my-repos/Agent-Logs/)
- If missing, suggest
/session-transfer:setup-agent-logs. Stop.
- Write JSON log:
- Folder:
DDMMYY/, File: HHMMSS_model-name.json
- Schema:
{"created":"ISO8601","model":"ID","agent_type":"Claude Code session","working_directory":"/path","repository":"name","branch":"name","last_commit":"hash msg","blocked":false,"user_input_needed":false,"debugging_required":false,"pending_tasks":0,"goal":"summary"
Choice 6: Log + spawn (no handover)
- Write log (same as Choice 5)
konsole --workdir "$(git rev-parse --show-toplevel)" -e claude &
- Report: "Logged + spawned. No handover — fresh session."
Choice 7: Clipboard handover
Run /session-transfer:clipboard-handover:
- Gather git state
- Compose short YAML summary from conversation + git state
- Display in chat as code block
- Copy via
wl-copy (fall back xclip)
- Confirm: "Copied to clipboard."
- No files, no spawn
Notes
/handover quick or /handover 2 skips menu, goes direct
- Individual commands still work as shortcuts
- Missing Agent-Logs: suggest
/session-transfer:setup-agent-logs, don't fail silently