/handoff:handoff what the next session is for; say 'new worktree' for a separate taskfrom handoff
Hand the work to a fresh agent: summarise this session into a file and start a new agent with it.
Ships in handoff. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The point is a fresh context that loses nothing that matters: the next agent starts with none of this conversation, so the summary is everything it knows.
Save it outside the repository, as $TMPDIR/handoff-<slug>-<timestamp>.md (/tmp when $TMPDIR is
unset). It carries:
Point at artifacts that already exist (plans, design folders, specs, PRs, issues, commits) by path or URL instead of copying them; a copy goes stale and crowds the prompt. Leave out secrets and personal data: the summary becomes another agent's prompt and lands in its transcript.
When the user passed an argument, it says what the next session is for. Tailor the summary to that and drop what it will not need.
With Paseo (mcp__paseo__* tools):
create_agent in this workspace.create_workspace with isolation: "worktree", branched off the right base, then
create_agent with its workspaceId.Run list_providers first and use the provider and model this session runs on unless the user
named another. Give it a short imperative title, the summary as initialPrompt (ending with the
summary file's path), and notifyOnFinish: false: the new agent reports to the user, not to this
session.
Without Paseo, start a background Claude Code session; passing the file keeps the shell from
expanding $ or backticks in the summary:
claude --bg --name "<short title>" -- "$(cat "$TMPDIR/handoff-<slug>-<timestamp>.md")"
If neither is available, give the user the file path to paste into a new session.
Finish by telling the user where the new agent runs and where the summary is; this session can be closed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kedrzu/skills --plugin handoff