Claude Code Vs Codex

Claude Code is Anthropic's coding agent. Codex is OpenAI's coding agent. Both read SKILL.md skills, so one skill can work in both.

Side By Side

Claude CodeCodex
Made byAnthropicOpenAI
ModelsClaude modelsOpenAI models
Skills folder~/.claude/skills/ or .claude/skills/.agents/skills/
Project guidanceCLAUDE.mdAGENTS.md

Which One To Choose

Try both on a real task from your own codebase. Results depend on the task and the model. Pick the one that fits how you work.

Skills Work In Both

Keep one skill folder and copy it into each tool. Google says Gemini lets you upload a skill made on another platform, as our guide on Gems explains. Browse Claude Code skills and Codex skills.

Can Claude Code Read AGENTS.md?

Yes, when the repo has no CLAUDE.md file. That means one file can guide both Claude Code and Codex.

How Much Do Claude Code And Codex Cost?

Claude Code comes with every paid Claude plan. Pro costs $20 a month, or $17 a month on the annual plan, and Max starts at $100 a month. On the OpenAI side, ChatGPT Free includes limited Codex access. Plus expands it and adds Codex on the web, in the CLI, in the IDE extension and on iOS. You can also run Codex with an API key.

Where Does Codex Run?

Codex runs in the CLI, on the web and in its IDE extension, which works in VS Code, Cursor and Windsurf.

How Do I Add An MCP Server To Each One?

Both tools use the same pattern, so you run claude mcp add in Claude Code and codex mcp add in Codex. Our guide to how a server works shows the Claude Code steps.

If you want a third option, we also compare Claude Code and OpenCode.

Questions

Do Claude Code skills work in Codex?

Most do. Both use SKILL.md. Some skills mention tool-specific commands, so read them first.

What is AGENTS.md?

A project file with guidance for coding agents. Codex reads it. It plays a role like CLAUDE.md in Claude Code.

Ad Sponsor this spot. Reach developers who pick skills