codex-claude-handoff

codex-claude-handoff is a skill for Claude Code, Codex from chentao326/vibe-code. It costs 125 tokens per session (1,032 once invoked), scanned A, original, MIT.

A file-based handoff process for sharing software work between Codex and Claude Code. It moves a project through specification, planning, building, review, polishing, and committing.

In plain words
What is it for?
Use it to coordinate the six phases of development, detect the current phase, and pass work between Codex and Claude Code.
Why use it?
It makes clear which tool should act next and records progress with signal files. This reduces confusion when two coding agents work on the same project.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/chentao326/vibe-code/codex-claude-handoff
Any agent
npx skills add chentao326/vibe-code --skill codex-claude-handoff
Clone the repo
git clone --depth 1 https://github.com/chentao326/vibe-code

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-claude-handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/chentao326/vibe-code/codex-claude-handoff.svg)](https://agentmods.dev/skills/chentao326/vibe-code/codex-claude-handoff)
Your own site
<a href="https://agentmods.dev/skills/chentao326/vibe-code/codex-claude-handoff"><img src="https://agentmods.dev/badge/skills/chentao326/vibe-code/codex-claude-handoff.svg" alt="Measured on agentmods" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,032 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00125 $0.01032
Opus 5 $0.00063 $0.00516
Sonnet 5 $0.00025 $0.00206
Haiku 4.5 $0.00013 $0.00103

Measured 5d ago against content hash f7cfe4f9644c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex-claude-handoff scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_phase.py, scripts/test_check_phase.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/codex-claude-handoff/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex + Claude Code Handoff

Overview

Enable Codex and Claude Code to collaborate on the same project through a 6-phase state machine. Signal files in handoff/ dictate which tool acts next. Codex handles Build and Polish phases; Claude Code handles Spec, Plan, and Review phases.

Workflow

Spec ──→ Plan ──→ Build ──→ Review ──→ Polish ──→ Commit
Claude    Claude    Codex     Claude      Codex      任一

Phase Detection

Always detect the current phase before acting. Run the detection script:

python3 <skill_dir>/scripts/check_phase.py

Or use --plain for phase name only. The script examines handoff/ signal files in order.

Signal File Phase Actor
(none) Init Claude Code writes spec
plan-ready.json Plan Ready Codex builds
build-done.json Build Done Claude Code reviews
review-fixes.json Fixes Needed Codex fixes
polish-done.json Polish Done Claude Code re-reviews
review-passed.json Ready Either tool commits
committed.json Done Announce completion

Full signal file schemas: references/protocol.md.

Role Rules

  • You are Codex: Execute coding tasks, fix bugs, write tests. Do NOT design architecture or write specs.
  • Claude Code: Design, plan, review. Do NOT write implementation code.
  • If the current phase belongs to the other tool, stop and tell the user to switch.

Phase Instructions

Phase 1: Plan Ready (Codex acts)

  1. Read the spec from specs/ and task list from handoff/plan-ready.json
  2. Execute tasks in dependency order
  3. After EACH task, update plan-ready.json: set that task's status to "completed"
  4. After ALL tasks, write handoff/build-done.json:
{
  "stage": "build-done",
  "timestamp": "<ISO 8601>",
  "completed_tasks": [1, 2, ...],
  "files_changed": ["file1.ts", "file2.ts"]
}

Phase 3: Fixes Needed (Codex acts)

  1. Read handoff/review-notes.md
  2. Fix all P0 issues first, then P1, optionally P2
  3. After each fix, append a ### Fix Applied section to review-notes.md
  4. Write handoff/polish-done.json:
{
  "stage": "polish-done",
  "timestamp": "<ISO 8601>",
  "fixes_applied": ["P0-xxx", "P1-xxx"]
}

Read the full file on GitHub · 103 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 103 lines · 125 tokens per session scan A f7cfe4f9644c

Subscribe to this mod's changes

codex-claude-handoff is a skill published in the GitHub repository chentao326/vibe-code (2 stars, last pushed 3mo ago), licensed MIT. It adds 125 tokens to every session and 1,032 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.