# Migrate to codex

> Migrate to codex is an agent skill. Migrate supported instruction files, skills, agents, and MCP config into Codex project and global files. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/openai/skills/tree/main/skills/.curated/migrate-to-codex
- **Repository:** https://github.com/openai/skills
- **GitHub stars:** 28,784
- **Skill name:** migrate-to-codex
- **Collection:** https://github.com/openai/skills
- **Listing updated:** 2026-11-17

## About

Migrate supported instruction files, skills, agents, and MCP config into Codex project and global files.

## When your agent uses it

> Migrate supported instruction files, skills, agents, and MCP config into Codex project and global files.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/openai/skills/tree/HEAD/skills/.curated/migrate-to-codex)
- [No network calls found in its scripts](https://github.com/openai/skills/tree/HEAD/skills/.curated/migrate-to-codex)
- [No license found](https://github.com/openai/skills/tree/HEAD/skills/.curated/migrate-to-codex)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/migrate-to-codex` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/migrate-to-codex &&
cp -R "$tmp/skills/.curated/migrate-to-codex" ~/.claude/skills/migrate-to-codex &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/migrate-to-codex` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/migrate-to-codex` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/migrate-to-codex &&
cp -R "$tmp/skills/.curated/migrate-to-codex" ~/.agents/skills/migrate-to-codex &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/migrate-to-codex` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/migrate-to-codex` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/migrate-to-codex &&
cp -R "$tmp/skills/.curated/migrate-to-codex" ~/.cursor/skills/migrate-to-codex &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/migrate-to-codex` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/openai/skills.git --path skills/.curated/migrate-to-codex
```

Or copy the folder to `~/.gemini/skills/migrate-to-codex` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/migrate-to-codex`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/migrate-to-codex &&
cp -R "$tmp/skills/.curated/migrate-to-codex" ~/.copilot/skills/migrate-to-codex &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/migrate-to-codex` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/openai/skills.git
```

Then copy `skills/skills/.curated/migrate-to-codex` into your agent's skills folder as `migrate-to-codex`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Migrate to codex in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/migrate-to-codex to use it in all your projects, or to .claude/skills/migrate-to-codex in one project.

### Does Migrate to codex run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Migrate to codex?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/migrate-to-codex
