Skip to content
Back to skills

Handoff

ASecurity

把当前会话压缩成交接文档,让全新会话或另一个 agent 无损接手。会话要结束但工作未完、要换会话/换 agent 继续、要给下一个 session 定向任务时使用。Triggers: handoff, 交接, 会话交接, 换会话, 移交.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 24, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 24, 2026

npx -y skills add YSAA1/harness-workflow --skill handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ysaa1-handoff-harness-workflow/badge)](https://www.skillsdirectory.com/skills/ysaa1-handoff-harness-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: handoff
description: "把当前会话压缩成交接文档,让全新会话或另一个 agent 无损接手。会话要结束但工作未完、要换会话/换 agent 继续、要给下一个 session 定向任务时使用。Triggers: handoff, 交接, 会话交接, 换会话, 移交."
disable-model-invocation: true
argument-hint: "下一个会话用来干什么?"
---

# Session Handoff

写一份交接物,让一个零上下文的新 agent 能接着干。交接是显式动作:用户没叫就不自作主张交接。

## 流程

1. 用户传了参数就按它定制(下一会话的重点);没传就按当前工作的自然续点写。
2. 落点分层:
   - 完整交接文档一律写到操作系统临时目录(如 /tmp;不进仓库或项目目录,避免制造孤儿文件),把路径明确告诉用户。
   - 项目有恢复面:续点优先写进本轨道 state 的 Next 行,关键状态与证据写 Evidence 行(持久、可恢复);完整交接文档仅在确需完整上下文时才生成。
   - 无恢复面:临时目录里的交接文档就是唯一交接物。
3. 内容纪律:
   - 含「建议技能」一节:下一个 agent 应调用哪些 skill,直呼其名。
   - 不复述已有产物(Spec/plan/ADR/issue/commit/diff)——引用路径即可。
   - 脱敏:密钥、口令、个人身份信息一律不写。
4. 交付:告诉用户交接物在哪、下一会话怎么用(有恢复面按会话入口读;无恢复面把文档喂给新会话开场)。

## Recommended next skill

- 新会话:有恢复面按 `AGENTS.md` 会话入口续作;无恢复面以交接文档开卷。
- 交接暴露出工作台缺口:`harness-builder`。

Files in this skill

  • SKILL.md1.7 KB
  • agents/openai.yaml166 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.