claude-handoff
GitHub将当前对话交接给后台新 Agent。生成包含建议技能、敏感信息脱敏及外部资源引用的摘要,并通过 claude --bg 命令启动新会话,实现无缝工作延续。
Trigger Scenarios
Install
npx skills add Remocn/remocn --skill claude-handoff -g -y
SKILL.md
Frontmatter
{
"name": "claude-handoff",
"description": "Hand the current conversation off to a fresh background agent that picks up the work immediately."
}
Write a handoff summary of the current conversation so a fresh agent can continue the work. Instead of saving it, launch a background agent seeded with the summary as its prompt: claude --bg --name "<descriptive name>" "<handoff summary>". It starts in the current working directory and returns immediately; the user manages it with claude agents.
Always pass -n/--name with a descriptive name (e.g. --name "Fix login bug") — it sets the display name shown in the job list, session picker, and terminal title.
Include a "suggested skills" section in the summary, which suggests skills that the agent should invoke.
Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
Redact any sensitive information, such as API keys, passwords, or personally identifiable information — the summary becomes the agent's prompt.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the summary accordingly.
Version History
- f77e19e Current 2026-07-19 22:36


