mcpbeat Sign in

Handoff Skill for Claude

仅当用户显式调用 `$handoff`,或明确要求生成会话交接文档时使用。将当前对话压缩为脱敏、可执行的交接文档,供下一个 agent 接续工作;不要自动触发。

455 tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
230
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/feiskyer/claude-code-settings --skill handoff

The instruction itself

as written by the author

撰写一份交接文档,总结当前对话内容,使全新的 agent 能够无缝继续工作。

输出位置

先解析当前平台的系统临时目录,再保存为 handoff-YYYY-MM-DD-HHMM.md(用实际时间戳替换)。优先使用平台 API,例如 Python 的 tempfile.gettempdir();在 Unix 环境可使用 $TMPDIR,未设置时回退到 /tmp。生成后告知用户完整绝对路径。

文档结构

按以下结构组织交接文档:

  • 背景与目标 — 一句话概述当前任务
  • 已完成工作 — 带路径/URL 引用
  • 当前状态 — 进展到哪一步、卡在哪里
  • 待办事项 — 下一个 agent 需要做什么
  • 推荐技能 — 建议调用的 skill 列表
  • 关键上下文 — 环境、分支、配置等必要信息

规则

  • 不要重复已存在于其他产物(规格文档、计划、ADR、issue、commit、diff)中的内容,改为通过路径或 URL 引用。
  • 脱敏处理:删除 API key、密码、个人身份信息等敏感内容。
  • 如果用户传入了参数,将其视为下一次会话的重点方向,据此调整文档内容。
  • 如果当前对话极短(少于 3 轮实质交流),直接告知用户无需生成交接文档,除非用户坚持。

Other skills for the same job

different authors, same section of the catalogue
Skill Creator
by anthropics
vendor ×10

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

56k tokens scripts
Skill Creator
by vercel-labs
vendor ×10

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

12k tokens scripts
Skill Creator
by JayZeeDesign
×9

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

10k tokens scripts
Template Skill
by JayZeeDesign
×7

Replace with description of the skill and when Claude should use it.

35 tokens
Dispatching Parallel Agents
by ZhanlinCui
×5

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

2k tokens
Skill Development
by anthropics
vendor ×4

This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.

9k tokens
Find Skills
by sanity-io
vendor ×4

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

1k tokens
Writing Skills
by ZhanlinCui
×4

Use when creating new skills, editing existing skills, or verifying skills work before deployment

26k tokens scripts

How to use it

Copy the folder

Take feiskyer/handoff from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.