一键导入
handoff
Generate a repo-grounded Codex handoff brief. 先由 Claude 阅读代码并整理结构化实现说明,再交给 Codex。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a repo-grounded Codex handoff brief. 先由 Claude 阅读代码并整理结构化实现说明,再交给 Codex。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | handoff |
| description | Generate a repo-grounded Codex handoff brief. 先由 Claude 阅读代码并整理结构化实现说明,再交给 Codex。 |
| argument-hint | [--no-exec] [--background] [--model <model>] [--effort <level>] [task] |
| disable-model-invocation | true |
| allowed-tools | Agent Read Grep Glob Bash Skill |
Create a Codex-ready handoff for: $ARGUMENTS
$ARGUMENTS is empty, ask the user for the task before doing anything else.--no-exec, only generate the handoff and save it.
Do not invoke Codex or trigger a review. Strip --no-exec from the task text.--background, pass it through to /codex:rescue.
Strip it from the task text.--model <value>, pass it through to /codex:rescue.
Strip it from the task text.--effort <value>, pass it through to /codex:rescue.
Strip it from the task text.repo-analyst agent from this plugin. If that
agent is unavailable, use the built-in Explore agent.Use the analysis to write a handoff brief for Codex. Do not implement the change yourself. Do not modify the target repository's source code.
The brief must cover these information elements. Organize them however makes the task clearest — use headings, prose, or bullet lists as appropriate. Simple tasks may need only a few paragraphs; complex tasks may warrant more structure.
Required information:
Include when relevant:
The brief must end with a # CODEX_HANDOFF section. This is the only heading that
must appear exactly as written — it is the machine-readable boundary that downstream
tools use to extract the handoff payload.
Requirements for # CODEX_HANDOFF:
/codex:rescue.Additional rules:
<!-- codex-handoff | YYYY-MM-DD --> at the very top using today's date.Save the complete output to .codex-handoff/latest.md so the review skill can
reference it later. Also save a timestamped copy to
.codex-handoff/history/YYYY-MM-DD-HHMMSS-handoff.md. Create directories if needed.
--no-exec was specified, stop here.# CODEX_HANDOFF section content to Codex by invoking:
Skill("codex:rescue", args="<flags> <content of # CODEX_HANDOFF section>").
Prepend any captured flags (--background, --model <value>, --effort <value>)
before the handoff content. If no flags, pass content directly.
If codex:rescue is not available, tell the user to install the Codex plugin
(/plugin install codex@openai-codex) and skip.Skill("codex-handoff:review", args="review the implementation against the handoff criteria").
If the review skill is not available, skip.