handoff
Compact the current conversation into a handoff document for another agent to pick up.
1How It Works & Mechanism
Pure prompt orchestration, zero code: Functionality is executed entirely by the host model—reading the current conversation, summarizing it, and writing the document to the OS temporary directory as instructed. Other than the main instructions in SKILL.md and metadata in agents/openai.yaml, there are no scripts, templates, or referenced files in the directory.
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.
Output location discipline: Deliberately writes to the OS temporary directory rather than the current workspace to avoid mixing the handoff document into the user's repository or project directory.
Save to the temporary directory of the user's OS - not the current workspace.
Anti-duplication design: Only references paths/URLs for existing artifacts (specs/plans/ADRs/issues/commits/diffs) without copying content, keeping the handoff compact and preventing drift from the source artifacts.
Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
Parameterized customization: The user-provided argument (prompted by argument-hint: 'What will the next session be used for?') is treated as the purpose description for the next session, tailoring the focus of the document accordingly.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
Dual-ecosystem explicit invocation: Both Claude's disable-model-invocation: true and OpenAI's allow_implicit_invocation: false prohibit automatic invocation by the model, running only when explicitly initiated by the user.
policy: allow_implicit_invocation: false
2Core Capabilities
4Recommended Governance & Evidence
- 本地工作目录: File read/write and artifact output: A handoff document is written to the user's OS temporary directory (instruction explicitly states: 'Save to the temporary directory of the use
5Second-Pass Verification
- [ok] 外部依赖:无(external_deps 为空) — 第二遍逐词重扫两文件正文:无任何 CLI/API/网络端点/第三方包引用;唯一提及的 'Skill tool' 是宿主自身工具而非外部依赖
- [ok] 无脚本/无可执行代码 — find productivity/handoff -type f 仅返回 SKILL.md 与 agents/openai.yaml;cat -A 显示正文为 5 段纯文本,无代码围栏
- [ok] 文件写入:仅 OS 临时目录 — quote 'Save to the temporary directory of the user's OS - not the current workspace.' 逐字节核实;无其他写路径指令
- [ok] 无网络调用/凭证读取 — 正文无 curl/gh/API 字样;未引用任何 env/keychain/配置文件
- [ok] 触发方式:仅显式 — SKILL.md frontmatter 'disable-model-invocation: true' 与 openai.yaml 'allow_implicit_invocation: false' 两处独立证据一致
- [ok] 功能声明 vs 实际能力相符性 — description 'Compact the current conversation into a handoff document' 与正文指令一致;无夸大——能力边界即宿主模型的总结+写文件
- [ok] 元数据:license/stars/last_push — GitHub API:MIT、stargazers_count 253948、pushed_at 2026-09-04(与 pin commit 日期吻合)
6Verdict & Scenarios
fa26a009eb0d810a…