This generates a handoff document when you need to stop work and resume later with a fresh Claude session. It saves to your OS temp directory rather than cluttering your workspace, summarizes the current conversation state, and references existing artifacts like PRDs or diffs instead of duplicating them. The smart bit is that it includes a suggested skills section so the next agent knows what to invoke, and it redacts sensitive data automatically. If you pass an argument describing what the next session should focus on, it tailors the handoff accordingly. Useful for long projects where you're hitting context limits or switching between different phases of work.
$ npx -y skills add vinvcn/mattpocock-skills-zh-cn --skill handoff --agent claude-codeInstalls into .claude/skills of the current project.
编写一份 handoff document,总结当前对话,让 fresh agent 能继续工作。保存到用户操作系统的临时目录($TMPDIR,否则 /tmp;Windows 上是 %TEMP%),不要保存到当前 workspace。
在文档中包含 "suggested skills" section,写明下一个 agent 应调用 Skill 工具并指定哪些 skills。
不要重复已经被其他 artifacts 捕获的内容(specs、plans、ADRs、issues、commits、diffs)。改用 path 或 URL 引用它们。
删去任何敏感信息,例如 API keys、passwords 或 personally identifiable information。
如果用户传入了 arguments,把它们视为下一次 session 的关注点描述,并据此调整文档。
Sponsors