From codex-handoff
Generate a repo-grounded Codex handoff brief. 先由 Claude 阅读代码并整理结构化实现说明,再交给 Codex。
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex-handoff:handoffThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a Codex-ready handoff for: $ARGUMENTS
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.npx claudepluginhub eilen6316/claude-code-codex-handoff --plugin codex-handoffDelegates coding tasks (debug, implement, refactor) to OpenAI Codex CLI via codex exec, skipping the Node companion runtime for faster execution. Codex writes code; Claude verifies.
Maintains `.docs/handoff.md` as a session-continuity runbook capturing git state, working-tree changes, decisions, blockers, and a resume checklist. Use when ending, pausing, resuming, or transferring in-flight project work across agent sessions.
Use when the user asks to run Claude Code CLI (`claude`, `claude resume`) for review, analysis, implementation, refactoring, debugging, or follow-up specifically through Claude Code.