← Back to Your first coding agent
<aside> 🎯
Two coding agents, one way of working. How I run Claude Code and Codex over the same work: one instruction file, one set of skills, plain-Markdown handoffs, each checking the other, and one driving the other directly (each vendor's names are mapped on Claude and ChatGPT side by side).
</aside>
Last reviewed: 24 September 2026 · product details checked against vendor pages on that date
<aside> ⏱️
Estimated time: ~10 minutes to read. Prerequisite: Your first coding agent (Step 06) with both agents installed, and Give your agent standing instructions (Step 11), which has the rules for which file each agent loads.
</aside>
I use Codex and Claude Code about equally for coding and technical tasks; by September my instruction files, shared skills, and document workspaces treated the two as peers.
Two agents cost more attention than one, so the second has to earn its place. For me it does in two ways: each is better at some of my work than the other, and each makes a good critic of the other's.
The independent evidence on who is ahead at what is on How to choose a model.
The shared contract lives in AGENTS.md, because both agents read it. Give your agent standing instructions has the loading rules, including the one that catches people out: any CLAUDE.md in your working directory or above it stops Claude Code reading AGENTS.md on its own, even one that only mentions it in a sentence, so use the @AGENTS.md import. What stays vendor-specific is small:
AGENTS.md: everything true whichever agent is working: the project's purpose, commands, conventions, hard gates, and pointers to protocols.CLAUDE.md: the import line, then only what Claude alone needs, eg, when to use plan mode.config.toml: settings rather than prose. Take brevity: my Claude instructions carry a sentence asking for short answers; my Codex instructions carry none, because in my experience Codex reads tighter on the same work, and its lever is a documented setting rather than a sentence:model_verbosity = "low"