handoff

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Chat history does not follow across tools. Reconstruct from files.
Codex invokes this skill as
$handoff
. Claude Code, Cursor, and Antigravity invoke it as
/handoff
.
聊天历史不会跨工具保留。请根据文件重建上下文。
Codex 通过
$handoff
调用此 skill。Claude Code、Cursor 和 Antigravity 通过
/handoff
调用。

Sources

信息来源

Read these before you ask the user anything:
  • git status
  • git diff
  • git log -5
  • AGENTS.md
  • .agents/handoff.md
    if it exists
If git is unavailable, say so and use the files that exist.
在询问用户任何问题之前,请先读取以下内容:
  • git status
  • git diff
  • git log -5
  • AGENTS.md
  • .agents/handoff.md
    (如果存在)
如果 git 不可用,请明确说明,并使用现有文件。

Leaving

离开

The user is switching away, or a usage limit is about to expire.
  1. Create
    .agents/
    if needed.
  2. Write
    .agents/handoff.md
    with branch, what is in progress, what is done, what is blocked, and the next command.
  3. Tell the user to commit before they switch. Do not commit unless they ask.
Do not put secrets, tokens, or credentials in the file.
markdown
undefined
用户即将切换工具,或使用额度即将耗尽。
  1. 根据需要创建
    .agents/
    。
  2. 编写
    .agents/handoff.md
    ,包含当前分支、正在进行的工作、已完成的工作、阻塞项和下一条命令。
  3. 提醒用户在切换前提交更改。除非用户提出要求,否则不要自行提交。
不要在文件中放入 secrets、tokens 或 credentials。
markdown
undefined

Handoff

交接

  • Branch:
  • In progress:
  • Done:
  • Blocked:
  • Next command:
undefined
  • 分支:
  • 正在进行:
  • 已完成:
  • 阻塞项:
  • 下一条命令:
undefined

Arriving

接手

A new agent is picking up in-progress work.
Read the sources above. State the current position from those files. Do not ask the user to recap what they already say.
新 Agent 正在接手进行中的工作。
读取上述信息来源。根据这些文件说明当前进度。不要要求用户重复说明文件中已经记录的内容。