/multisession:continue-sprintfrom multisession
Refresh the context mid-sprint. Carry a long, multi-step piece of work into a fresh session without losing decisions: writes a sprint handover (what the user decided, in their words where it matters, plus state, plan and traps), then starts the new session and closes this one. Use on "continue sprint", "context refresh", "refresh the context and carry on", "we're running tight on context", "summarise where we are and continue in a new session", "great progress, let's move to the next part of the sprint", "next phase in a new session". For a finished task with an unrelated next one, use spawn-fresh.
Ships in multisession. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
spawn-fresh moves on to the next task. This skill keeps the same task going. What gets lost when a long sprint changes session is not the code, which is in git, but the conversation: what the user chose, what was tried and ruled out, and which approvals are still open. This skill writes those down.
This is a context-pruning operation. The aim is a new top-level Claude session, the orchestrator for this repo from here on, with a clean context. It is not a subagent: a subagent works under this session and reports back, so this thread's context stays and keeps growing. The new session replaces this one. It talks to the user directly and can run its own subagents.
The right moment is a natural break between parts of the sprint: one phase has landed, and the next is about to start ("great progress, let's move to the next part"). That is when the thread's history stops being useful, and when a handover can be comprehensive, because the phase is shipped and the state is settled. A handover cut mid-step passes on loose ends.
So work towards that point. If the user asks for this while work is in hand, or you see a break coming, finish the current part, ship it, write the full handover, and then go. You can decide that yourself, without asking at each step. If the user says to do it now, do it now, and if context is running out, don't wait for the break: the handover then says exactly where the step stands.
The handover is the only thing that crosses over, so it has to carry everything the next orchestrator needs.
As spawn-fresh (name, dir, layout, direction, close, default yes), and name defaults to
<repo>-sprint-<next step slug>.
Commit and push what should survive, in every repo the sprint touched. Wait for background agents and tasks to finish, or list them as running. Update the plan in the repo first, so the handover can point to it. Decisions that shape the design belong in the repo's design doc. The handover adds what does not belong there.
Same location and frontmatter as the handover skill (section 2), to_agent: <name>. Sections, in this
order, each as short as it can be:
| Section | Holds |
|---|---|
## Goal | The sprint's aim in two lines, and what done looks like |
## Read first | Absolute paths, in order: the plan, the design, repo instructions |
## Decisions | Dated, from the user. Include what they rejected and why. Quote them where the exact wording matters |
## Approvals | Standing: what the user has said yes to, and how far it reaches. Needs asking: what still needs a yes. A new session has no memory of a yes, and must not assume one beyond this list |
## State | What is deployed or running, and where. Commits per repo. Anything uncommitted. Anything left running on purpose |
## Next steps | Numbered, each small enough to check. The first is the next action |
## Evidence | Measured results that decisions rest on, or a pointer to where they are recorded, so nothing is re-run |
## Traps | Mistakes made and failures met in this sprint, and how to avoid them |
## Open questions | Waiting on the user, each answerable in a line |
## How the user works | Only what is specific to this sprint and not in CLAUDE.md |
## Done | Left for the receiver |
Point rather than copy: if the repo records it, give the path. Mark what is confirmed and what is assumed. Never include a secret value: name the variable or 1Password item.
Check it before sending: could a session with no memory of this conversation take the next step correctly, and without asking something the user has already answered? If not, add what is missing.
Follow spawn-session with name, dir, layout and direction, and this message:
Handover from <me>. You are continuing a sprint. Read <absolute path>/HANDOVER.md and take it from there. Treat ## Approvals as the limit of what is already agreed. Record what you did under ## Done in that file. Once you have read it, send me one line through SendMessage to confirm. I close my pane only after that.
Send it with notify_when_idle: true. Leave out the closing sentence if close: no.
If the launch or the send fails, stop here and keep this pane open, because nothing has taken the work over yet.
Tell the user what the new session is called, where the handover is, its first step, and anything still waiting on them. Do this before closing, as text alongside the final tool call: nothing can be said afterwards. If the receipt has not come, say that instead, and that the pane is staying open.
The self-destruct. close defaults to yes, so a normal run ends with this session gone. Pass
close: no, or stop here, if the user still wants this session.
Close only when all of these hold: the new session has sent its receipt (handover skill, section 3a),
and no background agent or task of yours is still running, other than the receipt timer. No receipt
means the pane stays open. Then, as your final tool call:
"${CLAUDE_PLUGIN_ROOT}/scripts/close-pane.sh" --delay 6
Finding the script, and its limits, are in the handover skill (section 4). It closes only this pane, and
refuses if it can't prove the pane is its own. A pane that was the tab's last one takes the tab with it.
The conversation stays on disk, so claude --resume can reopen it. Use --dry-run to check first.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
13 skills in this plugin
/breakoutOffload a side job into its own new GitHub repo and its own Claude session, then get back to the work in flight. Creates the repo (public by default, private if it will hold private material or if asked), writes the starting plan, opens a new Claude in a split or tab, and hands it over. Use on "create a new repo for this and hand it over", "side job", "offload this", "spin this off", "new public repo and start Claude on it", "wait, separate idea", "this is a different project", "that should be its own repo", "unrelated, but while I think of it", "new repo, I'll explain", "start a new repo and open Claude there", "create the repo and I'll brief it", or work whose deliverable would not live in this repo's tree. If it also needs a Hugging Face dataset, use breakout-model. Do NOT use for work that belongs in this repo; file that as a task. Do NOT use for carrying the current work into a clean session; that is spawn-fresh. Do NOT use to tell an existing repo's agent something; that is send. Also a model project: a repo plus a linked Hugging Face dataset ("new repo and a Hugging Face dataset for this", "bootstrap a model project")./composeRun any mix of session and desktop actions from one plain request - hand over, start one or more Claude sessions in a split, tab, new window or 2/4-pane grid, open a plain terminal, Dolphin, an editor or a URL, notify the user, keep or close this pane, or run a preset. Use when the user combines them, e.g. "hand over to a new window, open Dolphin and a terminal there, then self-destruct", "two new sessions side by side", "new session below and keep me open", "open this folder in Dolphin and Konsole", "new Claude here", "new Claude at <path>", "Claude grid", "Claude and a shell", "terminal here", "VS Code here", "my sprint layout", "save this as a preset".multisession@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin multisession