Software DevelopmentOfficial · openai

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:

  1. Start by using Codex's built-in TODO/task list tool. Do not create MIGRATION_TODOS.md or any TODO file unless the user explicitly asks. The TODO list input has a plan array whose items each have step and status; use statuses pending, in_progress, and completed. Make the TODOs specific to the selected artifacts. Before finishing, update the TODO list so every finished step is marked completed and no step remains in_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.toml MCP servers
    • Inspect .claude/settings.json hooks → .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
  2. Read references/differences.md (and refresh Codex docs if its Docs last checked date is old).

  3. Scan and inspect before writing:

    • --scan-only lists active and inactive source surfaces.
    • --plan prints staged Codex artifact paths and report rows.

Read the full SKILL.md on GitHub →

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-codex

Codex

npx degit openai/skills/skills/.curated/migrate-to-codex#main ~/.codex/skills/migrate-to-codex

Claude.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.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Plugin Creator

    Official

    Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, and baseline…

    openai/skills★ 29k
  5. Skill Creator

    Official

    Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that…

    openai/skills★ 29k
  6. Speech

    Official

    Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the…

    openai/skills★ 29k
  7. Yeet

    Official

    Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).

    openai/skills★ 29k
  8. Gemini Agents Api

    Official

    Manages custom Agent resources on Gemini Enterprise Agent Platform.

    google/skills★ 24k
  9. Gemini Live Api

    Official

    Builds, integrates, and troubleshoots Gemini Enterprise Agent Platform Live API (BidiGenerateContent) WebSocket clients and sessions.

    google/skills★ 24k

See all software development skills →

More skills from openai

  1. Netlify Deploy

    Official

    Deploy web projects to Netlify using the Netlify CLI (`npx netlify`).

    openai/skills★ 29k
  2. Notion Knowledge Capture

    Official

    Capture conversations and decisions into structured Notion pages;

    openai/skills★ 29k
  3. Notion Meeting Intelligence

    Official

    Prepare meeting materials with Notion context and Codex research;

    openai/skills★ 29k

All skills by openai →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.