handoff
将当前对话压缩为交接文档(handoff document / session handoff brief),供下一个 agent 接续工作。手动调用 /handoff。
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install claude-code-settings-handoffManual setup by platform
Claude Code
~/.claude/skills/claude-code-settings-handoff/SKILL.md
Instructions
撰写一份交接文档,总结当前对话内容,使全新的 agent 能够无缝继续工作。
输出位置
保存到 $TMPDIR/handoff-YYYY-MM-DD-HHMM.md(用实际时间戳替换)。生成后告知用户完整路径。
文档结构
按以下结构组织交接文档:
- 背景与目标 — 一句话概述当前任务
- 已完成工作 — 带路径/URL 引用
- 当前状态 — 进展到哪一步、卡在哪里
- 待办事项 — 下一个 agent 需要做什么
- 推荐技能 — 建议调用的 skill 列表
- 关键上下文 — 环境、分支、配置等必要信息
规则
- 不要重复已存在于其他产物(规格文档、计划、ADR、issue、commit、diff)中的内容,改为通过路径或 URL 引用。
- 脱敏处理:删除 API key、密码、个人身份信息等敏感内容。
- 如果用户传入了参数,将其视为下一次会话的重点方向,据此调整文档内容。
- 如果当前对话极短(少于 3 轮实质交流),直接告知用户无需生成交接文档,除非用户坚持。
Security
Reviews (0)
Related skills
Browse all →More from claude-code-settings
View source →More Build skills
Browse category →Frequently asked questions about handoff
What does the handoff skill do?
将当前对话压缩为交接文档(handoff document / session handoff brief),供下一个 agent 接续工作。手动调用 /handoff。 It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the handoff skill?
Run `npx @skills-hub-ai/cli install claude-code-settings-handoff` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claude-code-settings-handoff/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does handoff work with?
handoff runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the handoff skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use handoff after installing it?
In Claude Code, type `/claude-code-settings-handoff` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the handoff skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.