Handoff
将当前对话压缩为交接文档(handoff document / session handoff brief),供下一个 agent 接续工作。手动调用 /handoff。From its SKILL.md
npx -y skills add feiskyer/claude-code-settings --skill handoffAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.4 KB, 385 tokens by cl100k_base, as published. Nobody here has run it
撰写一份交接文档,总结当前对话内容,使全新的 agent 能够无缝继续工作。
输出位置
保存到 $TMPDIR/handoff-YYYY-MM-DD-HHMM.md(用实际时间戳替换)。生成后告知用户完整路径。
文档结构
按以下结构组织交接文档:
- 背景与目标 — 一句话概述当前任务
- 已完成工作 — 带路径/URL 引用
- 当前状态 — 进展到哪一步、卡在哪里
- 待办事项 — 下一个 agent 需要做什么
- 推荐技能 — 建议调用的 skill 列表
- 关键上下文 — 环境、分支、配置等必要信息
规则
- 不要重复已存在于其他产物(规格文档、计划、ADR、issue、commit、diff)中的内容,改为通过路径或 URL 引用。
- 脱敏处理:删除 API key、密码、个人身份信息等敏感内容。
- 如果用户传入了参数,将其视为下一次会话的重点方向,据此调整文档内容。
- 如果当前对话极短(少于 3 轮实质交流),直接告知用户无需生成交接文档,除非用户坚持。
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 2 of the 12 instructions most agent orchestration skills give in 385 tokens
Counted across 848 of the 1,300 authors here whose files we hold, read 2026-09-06
- Dispatch one agent per independent problem domainin 56 of 848, across 42 files
- Run full test suite after integrationin 55 of 848, across 42 files
- Verify fixes do not conflictin 40 of 848, across 32 files
- Review each summary when agents returnin 40 of 848, across 31 files
- Write a handoff document summarising the current conversationhere, and in 30 of 848, across 25 files
- Reference existing artifacts by path or URLhere, and in 26 of 848, across 24 files
- Give each agent a specific scopein 19 of 848, across 10 files
- Give each agent a clear goalin 19 of 848, across 10 files
- Include a suggested skills section in the documentin 18 of 848, across 16 files
- Tailor the doc to the user argumentsin 18 of 848, across 15 files
- Issue all subagent dispatches in the same responsein 17 of 848, across 11 files
- Use git worktrees for isolationin 17 of 848, across 8 files
Said here and by no other author read
- Organize document by required structure
- Sanitize sensitive content
- Inform user of complete path after generation
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.