name: handoff-new-session description: Use when ending a session and want to spawn a continuation session in agent-deck with inline context
Handoff to New Session
Spawn a continuation session in agent-deck with your current context inline.
When to Use
- End of work session when you want immediate continuation
- Handing off to a parallel agent
- Before context gets too full and you want a fresh session
Process
-
Gather context from the current conversation:
- What task are you working on?
- What's been completed?
- What are the next steps?
-
Call the MCP tool:
spawn_continuation_session({ task: "Brief description of current work" }) -
Report to user:
- Session name created
- How to attach:
agent-deckthen select session, or run in background
Output
Tell the user:
- The session name (e.g.,
auth-refactor-abc12) - The handoff ID for reference
- How to attach: launch
agent-deckTUI and select the session
Example
User: "I need to stop here, can you hand this off?"
You:
- Summarize current task from conversation
- Call
spawn_continuation_session({ task: "Implementing OAuth login flow" }) - Report: "Created session
oauth-login-xyz89. Runagent-deckand select it to continue."
Notes
- The new session gets inline context - it can start working immediately
- If claude-mem is running, uses its summary (already synthesized by Haiku)
- Falls back to rolling checkpoint data if claude-mem unavailable
- Handoff is persisted for 7 days in case you need to reference it