Claude-skill-registry handoff-new-session
Use when ending a session and want to spawn a continuation session in agent-deck with inline context
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/handoff-new-session" ~/.claude/skills/majiayu000-claude-skill-registry-handoff-new-session && rm -rf "$T"
manifest:
skills/data/handoff-new-session/SKILL.mdsource content
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:
then select session, or run in backgroundagent-deck
Output
Tell the user:
- The session name (e.g.,
)auth-refactor-abc12 - The handoff ID for reference
- How to attach: launch
TUI and select the sessionagent-deck
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
. Runoauth-login-xyz89
and select it to continue."agent-deck
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