Tooluck logoTooluck
SKILL.md

claude-handoff

Agent skill fromvinvcn/mattpocock-skills-zh-CN

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

How to install claude-handoff

install claude-handoff
# install the mattpocock-skills-zh-CN pack with the skills CLI
npx skills add vinvcn/mattpocock-skills-zh-CN

# or add only this skill to Claude Code: copy the folder

skills/in-progress/claude-handoff/

# into

~/.claude/skills/claude-handoff/ (all projects)

.claude/skills/claude-handoff/ (one project)

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

MITFull file
1为当前对话写一份 handoff summary,让一个全新的 agent 可以继续工作。把它保存到用户操作系统的临时目录,然后启动一个以它作为 prompt 的 background agent:`claude --bg --name "<descriptive name>" -- "$(cat <summary file>)"`。传入文件可以避免 shell 执行 summary 中的反引号或展开其中的 `$`。它会在当前工作目录中启动并立即返回;用户用 `claude agents` 管理它。
2
3始终带上 `-n`/`--name` 并给出描述性名称(例如 `--name "Fix login bug"`);它设置显示名称,会出现在 job list、session picker 和 terminal title 中。
4
5在 summary 中包含一个 "suggested skills" section,写明下一个 agent 应调用 Skill 工具并指定哪些 skills。
6
7不要重复其它 artifacts(PRDs、plans、ADRs、issues、commits、diffs)中已经记录的内容,改为用 path 或 URL 引用它们。
8
9删去任何敏感信息,例如 API keys、passwords 或个人身份信息:这份 summary 会成为 agent 的 prompt。
10
11如果用户传入了 arguments,把它们当作对下一个 session 重点的描述,并据此调整 summary。

Excerpt shown under the repository's MIT license.

More skills in mattpocock-skills-zh-CN

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates