handoff
GitHub将当前对话压缩为交接文档,保存至系统临时目录以便其他Agent接手。包含建议技能列表,引用而非重复已有工件,脱敏敏感信息,并根据用户参数调整重点。
Trigger Scenarios
Install
npx skills add mattpocock/skills --skill handoff -g -y
SKILL.md
Frontmatter
{
"name": "handoff",
"description": "Compact the current conversation into a handoff document for another agent to pick up.",
"argument-hint": "What will the next session be used for?",
"disable-model-invocation": true
}
Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS - not the current workspace.
Include a "suggested skills" section in the document, naming which skills the next agent should call the Skill tool for.
Do not duplicate content already captured in other artifacts (specs, 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.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
Version History
-
068b6e0
Current 2026-08-16 06:52
标准化跨技能调用方式,明确要求显式调用 Skill tool 而非使用斜杠命令语法,以提高模型触发准确率。
- ed37663 2026-07-24 15:58


