Migrate To Codex skill for Claude
Migrate supported instruction files, skills, agents, and MCP config into Codex project and global files.
Migrate To Codex SKILL.md
A preview of the skill file from openai/skills.
Migrate to Codex
Autonomy
Keep going until the selected migration is completely done: run the migrator, inspect the report, fix migrated Codex instructions/skills/agents/MCP config, and re-run checks without stopping to ask for confirmation of the next step. If the user has selected a target, do not ask before creating, editing, replacing, or deleting generated Codex artifacts in that target (AGENTS.md, .codex/, .agents/, or ~/.codex/). Preserve unrelated existing Codex config entries in .codex/config.toml or ~/.codex/config.toml, such as notify, projects, marketplaces, or unrelated MCP servers; do not ask about them unless they fail validation or directly conflict with the migration. Do not edit source Claude Code files (.claude/, ~/.claude/, .mcp.json, or .claude.json), unrelated project code, secrets, or another repository.
Migration Order
Run the migration in this order for each selected global or project source:
-
Start by using Codex's built-in TODO/task list tool. Do not create
MIGRATION_TODOS.mdor any TODO file unless the user explicitly asks. The TODO list input has aplanarray whose items each havestepandstatus; use statusespending,in_progress, andcompleted. Make the TODOs specific to the selected artifacts. Before finishing, update the TODO list so every finished step is markedcompletedand no step remainsin_progress. Use literal source → Codex target labels, for example:- Inspect
.claude/commands→ Codex skills/prompts - Inspect
.claude/agents→.codex/agents - Inspect
.mcp.json→.codex/config.tomlMCP servers - Inspect
.claude/settings.jsonhooks →.codex/hooks.json - Migrate safe selected artifacts → Codex files
- Validate generated
.codex/config.toml - Validate generated
.codex/agents - Report migrated artifacts and manual-review items
- Inspect
-
Read
references/differences.md(and refresh Codex docs if itsDocs last checkeddate is old). -
Scan and inspect before writing:
--scan-onlylists active and inactive source surfaces.--planprints staged Codex artifact paths and report rows.
How to install Migrate To Codex
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit openai/skills/skills/.curated/migrate-to-codex#main ~/.claude/skills/migrate-to-codexCodex
npx degit openai/skills/skills/.curated/migrate-to-codex#main ~/.codex/skills/migrate-to-codexClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Migrate To Codex skill do?
Migrate supported instruction files, skills, agents, and MCP config into Codex project and global files.
+How do I install Migrate To Codex in Claude Code?
Copy the skill folder into ~/.claude/skills/migrate-to-codex, for example with "npx degit openai/skills/skills/.curated/migrate-to-codex#main ~/.claude/skills/migrate-to-codex". Claude Code loads it automatically and uses it when a task matches.
+Does Migrate To Codex work with ChatGPT or Codex?
Yes. Migrate To Codex uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/migrate-to-codex. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Migrate To Codex free?
Migrate To Codex is published on GitHub by openai. The repository does not declare a license, so check with the author before reusing it.