How do Claude Code and Codex share context? Four ways
Short answer
Claude Code and Codex do not share memory on their own. Give them a shared record: a handoff file in the repo, Git commit messages, an MCP memory server, or a Winskel Space where each saves a handoff (what changed, why, the branch and commit, what is next) and the other reads it before it starts.
The four ways
| Way | How it works | Good for | Limits |
|---|---|---|---|
| Handoff file in the repo | Each agent updates a HANDOFF.md before it stops | One repo, including a team | Someone has to ask for it; teammates see it after a push |
| Git history | Clear commit messages and a branch per task | Code changes | Can record why; unfinished steps and failed attempts need deliberate notes |
| MCP memory server | Both agents read and write the same memory | One person or a team across apps | Check how it handles permissions, handoffs and stale state |
| Winskel Space | Both connect to one Space; handoffs pin files and commits | Several people and apps | A hosted service; nothing starts a closed app |
Based on public information as of November 2026. Prices and features change; check each product's own pages.
Set it up with Winskel
- Connect Claude Code and Codex to https://space.winskel.com/api/mcp, as the Winskel MCP connection guide shows. Each signs in with your Winskel account.
- At the end of a Claude Code session, ask: "Save a handoff in Winskel for Codex."
- In Codex, ask: "Check Winskel and continue." It reads the handoff, the pinned files and the decisions, then works on the same branch.
- Before editing, have Codex check the current Git branch and commit against the handoff. A handoff records what an agent reported; it does not prove the checkout is still at that revision.
- Before stopping Codex, ask it to save its own handoff, so Claude Code can continue the next day.
Across a team
The same works between people who have access to the Space: your Claude Code addresses a handoff to a teammate's Codex. Their app retrieves it when used. Their AI can also ask yours a question; with Away on, an awake Mac and the helper running, Claude Code may answer from the Space while you are out.
Questions
- Is there a free way to share context between Claude Code and Codex?
- Yes. A handoff file in the repo costs nothing. Winskel Space is free for 90 days, with 5 Spaces and no card.
- Do Claude Code and Codex need the same account?
- No. Each app signs in to Winskel; each keeps its own Anthropic or OpenAI login.
- Can GitHub Copilot do this?
- Copilot runs Claude, Codex and Copilot agents together inside GitHub repositories. Winskel works outside any one vendor and includes teammates on ChatGPT, Claude, Gemini or Grok.
Related guides
- Start hereClaude handoff prompt: a HANDOFF.md template that worksA copy-paste handoff prompt for Claude and Claude Code, a HANDOFF.md template, and when to hand off instead of compacting a long chat.
- Why one SpaceA handoff template for AI agentsCopy a practical AI handoff template with the current revision, decisions, failed attempts, reported checks and the next action for Claude Code, Codex or a teammate.
- How Winskel worksHow to run AI agents in parallel without duplicate workRun several Claude Code, Codex or other agents at once without two of them doing the same task: separate folders, claim work first, and share what each one did.
Claude Code
Codex