Skip to content
FunCoding

claude-handoff

把当前对话交接给一个全新的 background agent,让它立即接手工作。

Star
6,262
License
MIT
Last commit
Nov 30, 2026

skills/in-progress/claude-handoff/SKILL.md

View on GitHub

为当前对话写一份 handoff summary,让一个全新的 agent 可以继续工作。把它保存到用户操作系统的临时目录,然后启动一个以它作为 prompt 的 background agent:claude --bg --name "<descriptive name>" -- "$(cat <summary file>)"。传入文件可以避免 shell 执行 summary 中的反引号或展开其中的 $。它会在当前工作目录中启动并立即返回;用户用 claude agents 管理它。

始终带上 -n/--name 并给出描述性名称(例如 --name "Fix login bug");它设置显示名称,会出现在 job list、session picker 和 terminal title 中。

在 summary 中包含一个 "suggested skills" section,写明下一个 agent 应调用 Skill 工具并指定哪些 skills。

不要重复其它 artifacts(PRDs、plans、ADRs、issues、commits、diffs)中已经记录的内容,改为用 path 或 URL 引用它们。

删去任何敏感信息,例如 API keys、passwords 或个人身份信息:这份 summary 会成为 agent 的 prompt。

如果用户传入了 arguments,把它们当作对下一个 session 重点的描述,并据此调整 summary。

Similar Skills

perfect-docs

MAmattpocock/skills337k4,978 new stars in the last 7 days

Featured

domain-modeling

Write a glossary, record ADRs, and clarify vague terms.

MAmattpocock/skills337k4,978 new stars in the last 7 days

writing-beats

MAmattpocock/skills337k4,978 new stars in the last 7 days

writing-shape

MAmattpocock/skills337k4,978 new stars in the last 7 days

writing-fragments

MAmattpocock/skills337k4,978 new stars in the last 7 days

writing-plans

OBobra/superpowers331k4,772 new stars in the last 7 days