/agents:handoff [what the next session should focus on]from agents
Hands off the current conversation to a fresh background agent seeded with a summary, so you can step away and track progress independently. Useful for parallelizing or backgrounding well-scoped work.
Ships in agents. 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.
Hand the current work to a fresh background agent seeded with a summary of this conversation. The agent starts immediately in the current directory and returns control, so you can walk away and check on it later. Nothing is written to disk: the summary becomes the new agent's opening prompt. When the work is well-scoped and the user wants to step away or parallelize, offer the handoff.
Synthesize the conversation into a prompt that lets an agent with zero prior context resume without asking questions. Cover:
pull-request:create, code-review, a project skill). This is the biggest lever on whether the agent picks up your conventions.Keep it dense and specific. If the user passed an argument, treat it as the focus for the next session and shape the summary around it. With no argument, summarize the conversation as a whole.
The summary becomes the agent's prompt, so strip anything sensitive before launching: API keys, tokens, passwords, connection strings, PII. Reference where a secret lives (an env var, a secrets manager) rather than its value.
The agent runs unattended, so choose its horsepower and autonomy up front. Propose all three to the user with the launch command and your reasoning, and let them override.
Match --model and --effort to the task. A well-specified, mechanical task runs fine on --model sonnet at --effort medium. Reserve --model opus with --effort high (or xhigh/max) for open-ended, high-stakes, or reasoning-heavy work. --effort takes low, medium, high, xhigh, or max. --model takes an alias (opus, sonnet, haiku, fable) or a full model name.
The agent cannot answer permission prompts while the user is away, so pick a --permission-mode that lets it make progress at a risk the user accepts. Background sessions isolate in their own worktree, so the blast radius of a coding task is already contained. Weigh the choice against how reversible and contained the work is:
acceptEdits: auto-accept file edits while still gating riskier actions. A sane default for contained coding work.bypassPermissions: fully unattended, no gating. Use only when the work is contained and reversible and the user accepts it.plan: the agent plans and stops for approval before acting. Fits speculative or high-risk work the user wants to inspect first, at the cost of the agent pausing rather than finishing.auto, dontAsk, and manual are also available. manual is the standard interactive prompting.Confirm the summary and the sizing with the user unless they already told you to launch, then start the agent:
claude --bg --name "<descriptive name>" --model <model> --effort <level> --permission-mode <mode> "<summary>"
--name (-n). It sets the display name in the agent list, session picker, and terminal title, so a glance tells the user which job is which.worktree.bgIsolation), so uncommitted changes in the current tree may not carry over. Commit first, or anchor the summary to a pushed branch, PR, or commit rather than unsaved edits.--bg cannot be combined with -p.Tell the user how to follow and steer the agent they just launched:
claude agents opens the agent view. Arrow to a session, Space to peek at its output without leaving, Enter to attach and chat interactively, ← on an empty prompt to step back out.claude attach <session-id> jumps straight into a session. claude logs <session-id> prints recent output. claude stop <session-id> and claude rm <session-id> end and remove it.claude agents --json lists sessions programmatically./bg backgrounds work and /tasks shows running agents.The agent view marks each session: green ✓ completed, red ✗ failed, yellow ✻ needs input, dim ∙ idle. There is no push notification, so the user checks back through the agent view. Sessions idle out after about an hour unless pinned.
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub bendrucker/claude --plugin agentsOther plugins' skills for the same job