/handoff
仅当用户显式调用 `$handoff`,或明确要求生成会话交接文档时使用。将当前对话压缩为脱敏、可执行的交接文档,供下一个 agent 接续工作;不要自动触发。
Claude Code
$ npx -y skills add feiskyer/codex-settings --skill handoff --agent claude-code
Codex
$ npx skills add feiskyer/codex-settings --skill handoff -a codex -y
Cursor
$ npx skills add feiskyer/codex-settings --skill handoff -a cursor -y
Gemini CLI
$ npx skills add feiskyer/codex-settings --skill handoff -a gemini-cli -y
GitHub Copilot
$ npx skills add feiskyer/codex-settings --skill handoff -a github-copilot -y
OpenCode
$ npx skills add feiskyer/codex-settings --skill handoff -a opencode -y
Windsurf
$ npx skills add feiskyer/codex-settings --skill handoff -a windsurf -y
SKILL.md
handoff.SKILL.mdname: handoff description: 仅当用户显式调用 `$handoff`,或明确要求生成会话交接文档时使用。将当前对话压缩为脱敏、可执行的交接文档,供下一个 agent 接续工作;不要自动触发。
撰写一份交接文档,总结当前对话内容,使全新的 agent 能够无缝继续工作。
输出位置
先解析当前平台的系统临时目录,再保存为 `handoff-YYYY-MM-DD-HHMM.md`(用实际时间戳替换)。优先使用平台 API,例如 Python 的 `tempfile.gettempdir()`;在 Unix 环境可使用 `$TMPDIR`,未设置时回退到 `/tmp`。生成后告知用户完整绝对路径。
文档结构
按以下结构组织交接文档:
1. **背景与目标** — 简述当前任务、授权范围、完成与停止条件;保留用户排除的工作及已撤销或否决的方案 2. **已完成工作** — 带路径/URL 引用 3. **当前状态** — 进展到哪一步、卡在哪里 4. **待办事项** — 仅列已授权但未完成的工作;额外建议如需保留,单独标明尚未授权,不转成待办 5. **推荐技能** — 建议调用的 skill 列表 6. **关键上下文** — 环境、分支、配置等必要信息
规则
- 不要重复已存在于其他产物(规格文档、计划、ADR、issue、commit、diff)中的内容,改为通过路径或 URL 引用。
- 脱敏处理:删除 API key、密码、个人身份信息等敏感内容。
- 如果用户传入了参数,将其视为下一次会话的重点方向,据此调整文档内容。
- 如果对话里没有值得交接的实质进展,如实说明并交出已有的少量内容,不要为了凑满结构而编造。
给 Codex CLI 加上深度调研、图片生成、浏览器调试等能力,配好多模型切换,开箱即用。 仓库采用面向个人开发效率的默认配置;你可以整套使用,也可以按需选取 Profiles 或 Skills。使用前请确认模型提供商、权限和外部依赖,并避免提交真实密钥。
Other skills on codex-settings.
claude-skill
Delegate a task to the Claude Code CLI, typically a headless `claude -p` run. Use when the user wants the work executed through…
code-simplifier
Simplify existing code for clarity and maintainability without changing behavior. Use when asked to clean up or simplify code,…
deep-research
仅在用户显式调用 `$deep-research` 时,用 Codex CLI 子任务完成多来源深度调研并综合成带出处的报告。不用于单次查证或已给定材料的总结。
github-fix-issue
Investigate or fix a GitHub issue by number or URL. Keep investigation-only requests read-only.
github-review-pr
Review a GitHub pull request by number or URL for evidence-backed defects. Not for reviewing local uncommitted changes.
More skills from other plugins.
agentmail
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
adr-create
Create a new Architecture Decision Record with sequential numbering and AgentDB registration
Questions about handoff.
- Which coding agents can use handoff?
- handoff installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

