Claude Code and Codex together on one team: standardize the files, not the tool

Can a team use Claude Code and Codex together? Yes. We tested what carries over between them: chats and memory don't, repo files do. Five practices for a mixed team.

By Scott Strang

Last updated

The short answer. Yes, a team can use Claude Code and Codex together, and each person can keep the agent they like. What breaks is anything kept inside one tool. In a test we ran at SageOx (Claude Code 2.1.283, Codex 0.146.0), a decision said in either tool's chat reached neither tool's next session, one saved to Claude Code's memory never reached Codex, and each tool loaded skills only from its own folder. So standardize the files both tools read: one AGENTS.md for rules, one skills folder, and decisions written into the repo, each with a named owner.

This page is for the team that already has both tools, not a verdict on which is better. Setting up both for yourself? Start with How to share context between Claude Code and Codex.

The usual fixes trade one problem for another

The usual fixWhat it costsHow it fails

The tools change every month, and so do people's favorites, so a setup that depends on everyone using the same one is hard to keep.

Choose the shared files, not the shared tool

Why it works. Claude Code and Codex both read the repo, and they share almost nothing else: not chats, not memory, not skills folders, not settings. If the team agrees which files carry what, the choice of agent stops mattering to anyone but the person using it.

Try this week. Draft a four-row table: rules, skills, decisions, tool settings. For each, write the one place it lives and the one person who owns it. Put it at the top of AGENTS.md in a pull request and let the team comment there.

Watch for. "It works for me" setups: a teammate's rule that lives in their CLAUDE.local.md, a skill only in ~/.codex, an MCP server only in their own config. If it helps the team, it belongs in a shared file.

Keep one rules file that both agents read

Why it works. Codex reads AGENTS.md and never CLAUDE.md by default. Claude Code reads AGENTS.md on its own since version 2.1.277, as long as no CLAUDE.md, CLAUDE.local.md or .claude/CLAUDE.md sits in that folder or above. One file means one place to change a rule.

Try this week. Fold any separate CLAUDE.md into AGENTS.md, and keep a CLAUDE.md only as a symlink to it. Our CLAUDE.md and AGENTS.md guide has the commands, the three ways rules silently drop, and a canary test that proves what each tool loaded.

Watch for. A root AGENTS.md over 32 KiB: Codex stops reading there by default, and Claude Code doesn't. The Codex half of the team quietly follows fewer rules.

Keep team skills in one folder both tools load

Why it works. Claude Code loads skills from .claude/skills/; Codex loads them from .agents/skills/. In our test each tool saw only its own folder. With the skills in .agents/skills/ and .claude/skills as a symlink to it, both tools loaded the same skill.

Try this week. Move the team's skills to .agents/skills/ and link Claude Code's folder to it, from the repo root:

mkdir -p .agents/skills && git mv .claude/skills/* .agents/skills/ && rmdir .claude/skills
ln -s ../.agents/skills .claude/skills
git add .agents/skills .claude/skills && git commit -m "One skills folder for Claude Code and Codex"

If it doesn't work: on Windows, Git checks a committed symlink out as a plain file unless core.symlinks is on (creating one also needs Administrator rights or Developer Mode), so turn it on or keep a second copy in sync with a CI check. And in our run, Codex's workspace-write sandbox wouldn't let it create .agents/ or commit in the repo it was started in, so run these commands yourself or from Claude Code.

Watch for. A second copy kept by hand: it drifts (see "How we do it"). Also watch for skills that call one tool's own commands: a shared skill should work in both tools or say in its description that it doesn't. Put what a skill is for in the first words of its description: with many personal skills installed, Codex shortens descriptions to fit its budget (it warned us, and one lost its last words in our test).

Write decisions into the repo the day they're made

Why it works. A decision said in a chat lives in that one session. In our test, a decision told to Claude Code was known when we continued the same thread, and in no new session of either tool. A decision Claude Code saved to its auto memory, on that person's machine under ~/.claude/projects/, never reached Codex. The decision we wrote to docs/decisions/, with one line in AGENTS.md pointing there, was found by both tools when they needed it.

Try this week. Create docs/decisions/, add one line to AGENTS.md ("Decisions live in docs/decisions/. Read the relevant one before changing a dependency, an API or the build"), and write the last decision your team made as the first file. Short is fine: what was decided, why, the date, who owns it. Our decision log template is one both people and agents use.

Watch for. "I told Claude" or "Codex knows". If a teammate's agent would need it tomorrow, it isn't decided until it's in the repo.

Hand work over in writing, not in a session

Why it works. Each tool keeps its session history in its own format on the machine that ran it: Claude Code under ~/.claude/, Codex under ~/.codex/. A teammate picking up the work, in either tool, can't open yours. A plan file, a PR description or a short handoff note in the repo is the one thing both they and their agent can read. It's also how people who plan in one tool and build in the other pass the plan across.

Try this week. When you stop mid-task, ask your agent to write a handoff note (what's done, what's next, what it learned, what not to touch) into the PR description or a file in the branch, and commit it. When you start an agent on something big, post one line where the team already talks: the area and the files. Anyone who prompts an agent does the same, engineer or not.

Watch for. Two agents on the same files. The tools don't know about each other's sessions, so nothing warns you until the merge conflict. Give each agent its own branch or git worktree.

One week

MonTueWedThuNext Mon

Stop / start

StopStart insteadWhy

Signs it's working

  • A new rule or skill takes one edit, and both halves of the team have it the same day.
  • Someone switches from Claude Code to Codex, or back, and nothing in the repo has to change.
  • When someone asks "what did we decide about X?", the answer is a file path.
  • Picking up a teammate's branch starts with reading their note, not messaging them.

What carries over between Claude Code and Codex, and what doesn't

Everything above assumes people read what's shared. Agents read only what reaches their session. We tested what reaches it: a unique canary word in each place, then a fresh session in each tool asked to list what it could see.

Where it was putYour next Claude Code sessionA teammate's next Codex session

Claude Code 2.1.283 and Codex CLI 0.146.0, Nov 20, 2026. Each setup ran once, headless; the agent reported what it saw, which is a model's answer, not a dump of its prompt. The skills and MCP rows match each vendor's docs, read the same day. For the .mcp.json row, we ran claude mcp list and codex mcp list in the repo; we did not approve the server, so what happens after approval comes from Claude Code's docs, not our run. Anything kept inside one tool stays there. Only the repo reaches both.

Everything above works without SageOx: put each shared thing in a file both tools read, and give it an owner. What stays manual is keeping those files current and knowing what a teammate's agent is doing right now.

How we do it

SageOx's own team runs Claude Code and Codex in the same repos, and our skills drifted. In our main monorepo, the Codex copies of our skills were kept by hand, and by August 2026 Codex sessions were missing 30 of the 69 skills Claude Code had. Since Aug 19, 2026, .claude/ is the one source: a script turns .agents/skills into symlinks to it (110 of the 111 entries today), generates the Codex versions of our subagents, and a make check-agent-parity gate fails any change that lets the two drift. CLAUDE.md there is a symlink to AGENTS.md. Checked Nov 20, 2026.

We link in the other direction from the steps above, one link per skill instead of one for the folder. Both work, because Codex follows symlinked skill folders. What matters is one real copy and a check.

Handoffs cross the same way. In the repo where we wrote this guide, a Codex session that had been building our GTM dashboard wrote a handoff note into the repo on Nov 5, 2026, so the Claude Code session taking over the work could start from it: twelve open PRs, what was parked, what was left.

That repo hasn't caught up on skills. It has 14 committed Claude Code skills; only 5 are also in .agents/skills, as copies, with no check. So a Codex session here doesn't get 9 of them, including the skill that runs this guide pipeline. Checked Nov 20, 2026.

Where SageOx helps

SageOx is not an agent. It's a tool-agnostic context layer that keeps teams of humans and agents coordinated, so every person and every agent knows what the team knows. It sits beside Claude Code and Codex, not instead of either.

  • Team rules written once reach every teammate's agent in every connected repo. Claude Code gets them in its own rules folder; Codex gets them when the session starts.
  • Agent priming starts each Claude Code or Codex session with the team's recent decisions and conventions, not just its rules.
  • Coding session recording saves each Claude Code and Codex session to the repo's Ledger, its shared record of coding sessions, so a teammate's work is searchable by the team with ox query. Past sessions from both can be imported.
  • Murmurs are short "working on X, in these files" notes that reach teammates' running Claude Code sessions, so you hear before the merge conflict, and ox glance flags when two people are in the same files.

All four are live for everyone. Codex connects through a bundled adapter; capture works today: in the repo where we wrote this guide, the Ledger recorded 247 Claude Code sessions and 35 Codex sessions in the 30 days to Nov 20, 2026.

Draft your team's table with an agent

Paste this into Claude Code or Codex at the root of a repo. It drafts the team's "where things live" table and changes nothing until you approve.

Our team uses both Claude Code and Codex in this repo. Audit where our shared agent context lives.
1. List every instruction file (AGENTS.md, CLAUDE.md, CLAUDE.local.md, .claude/rules/), every
   skill (.claude/skills/, .agents/skills/), every agent settings file (.claude/settings.json,
   .mcp.json, .codex/config.toml) and any decisions folder, at any depth (skip node_modules).
2. For each, say which tool reads it: Claude Code, Codex or both. Claude Code reads .claude/skills,
   Codex reads .agents/skills; Codex never reads CLAUDE.md by default.
3. Flag anything only one tool can see that the whole team needs.
4. Draft a short "Where things live" section for the top of AGENTS.md: rules, skills, decisions,
   tool settings. One place each, and an "Owner:" line I fill in.
5. Propose the moves: skills into .agents/skills with .claude/skills as a symlink to it, CLAUDE.md
   folded into AGENTS.md (or a symlink), and a docs/decisions/ folder with one line in AGENTS.md
   pointing to it.
Don't delete anyone's personal files. Show me the diff before committing anything.

See how your team stays in the loop →

Questions

Can Claude Code and Codex be used together? Yes. They run side by side in the same repo; what they don't share is anything kept inside one tool, so put rules, skills and decisions in repo files both read.

Which is better, Claude Code or Codex? This page doesn't rank them. It changes with every release, and on a team it matters less than the shared files do: let each person pick, and keep the repo the same.

Do Claude Code and Codex share memory or session history? No. Each keeps its sessions and memory on the machine that ran it, in its own format. In our test, neither tool's next session knew a decision made in the other's chat.

Can one tool review the other's work? Yes, and many people who run both do exactly this. OpenAI publishes a Codex plugin for Claude Code (March 2026) that asks Codex to review code or take a task from inside Claude Code. On a team, put the review in the pull request so everyone, and every agent, can read it.

Does a Claude Code Team plan cover Codex users? No. A Team plan is Anthropic's billing and admin for Claude; it doesn't reach a teammate who runs Codex. The shared files do.

Sources

This is practice from people who live it, not a study. Tested: Claude Code 2.1.283 and Codex CLI 0.146.0, Nov 20, 2026. Read Nov 20, 2026: Claude Code skills · Claude Code settings · Codex skills · Codex config · Codex MCP · Claude Code memory · Claude Code MCP · Introducing Codex Plugin for Claude Code (OpenAI community, Mar 30, 2026). Instruction-file results: our CLAUDE.md and AGENTS.md guide (tested Nov 19, 2026).

More on working together without colliding