What the source did
- Created changes.log that both tools read first and update last.
- Kept Claude's rules in CLAUDE.md; Codex imported them into AGENTS.md.
- Ran a live round trip on a small calculator: Claude added a breakdown, Codex turned it into a chart and checked it in the browser, Claude then rebranded it.
“It gives the next agent something to judge.”— Wyndo and Dheeraj Sharma, Substack
Summary written by Agent Cookbook from the original post. See the original for the full context. How we source recipes
Our notes
- What it takes
- One low-risk project both tools can open in the same folder, and a changes.log each agent reads before starting and appends to after finishing. Claude Code's instructions live in CLAUDE.md, and Codex imported them into AGENTS.md. The hosts start with one small round trip and link their calculator demo and handoff file.
- Where it breaks
- Entries too thin for the next agent to judge. The source says each one needs what changed, why, which files matter, what's unfinished and what not to undo; without that, two agents create more confusion than one. Dheeraj mentions hooks as the stricter way to make sure the log gets updated, and warns against perfecting the handoff before you've seen whether it helps.
- Human checkpoint
- In the source, the check is the second agent inspecting the previous pass before it continues. It doesn't describe human approvals; in our version you read each new entry before the next hand-off, and neither agent merges or deploys.
- Tools involved
- Claude Code, Codex, git
✓ Verified Source link checked and still live. Notes by Thomas, editor. How we verify
Copy the prompt
Ours Our version, based on what Wyndo and Dheeraj Sharma described. Not their wording. Fill in the [BRACKETS].
Approval rule
Set it up
- Pick a low-risk repo both tools can open.
- Add changes.log and paste the block above into both CLAUDE.md and AGENTS.md (or import one from the other).
- Run one small round trip: agent A builds, agent B reviews and improves, agent A picks back up.
- Read each entry before approving the next run.
Common failures
- Both agents run at once and overwrite each other's entries. Hand off sequentially or use separate branches.
- Vague entries ('fixed stuff') give the next agent nothing to judge.
- Rules drift when CLAUDE.md and AGENTS.md diverge; keep one source and import it.
Variations
- Swap direction: Codex drafts, Claude Code wires it in.
- Add a 'reviewer findings' section to every entry.
Get the 10 best agent setups. Free.
Plus new recipes every week. One email, no spam.
Unsubscribe anytime. Privacy