How to migrate from Codex to Cursor
aix is a CLI for defining, installing, and syncing AI editor configuration. If you are moving from Codex to Cursor, this guide shows what aix can carry over, what the destination editor calls each feature, and where the destination config lands.
When you are ready to run the move, aix sync codex --to cursor
copies the supported config from Codex into Cursor. Use the comparison
below first so you know which names, paths, and support differences to expect.
If you want the aix-side definitions first, review rules , prompts , mcp , skills , hooks .
Run this migration
-
Preview the user-scope migration before writing files:
aix sync codex --to cursor --dry-run -
Read the preview for skipped or converted features, then run:
aix sync codex --to cursor -
Open Cursor's generated files and compare them with the destination details below.
Use
--scope projectwhen the source config is project-scoped.
What needs attention
- Rules: Codex calls this "AGENTS.md", while Cursor calls it "Rules".
- Prompts: Cursor keeps prompts more directly than Codex.
- MCP: Codex and Cursor put mcp in different project or user targets.
- Skills: Codex and Cursor put skills in different project or user targets.
How to use this guide
- Read across a row to compare the source and destination terms, support, and targets.
- Each scope line shows both what the editor supports and what aix writes today.
- Open the destination editor page at the end if you need every path, note, and terminology detail.
The biggest changes are in rules, prompts, mcp.
How to read the statuses
Support key
Editor support
- Supported The editor exposes that feature at that scope.
- No support The editor does not expose that feature at that scope.
aix support
- Native aix writes the editor's own format.
- Adapter aix keeps the feature through an adapter or alternate representation.
- No support aix does not write that feature for the destination today.
Use the Project scope and User scope rows to see where config lands at each level.
Feature comparison
| Feature | Codex | Cursor |
|---|---|---|
| Rules | AGENTS.md
| Rules
|
| Prompts | Skills
| Commands
|
| MCP | MCP servers
| MCP servers
|
| Skills | Skills
| Skills
|
| Agents | Agents
| Agents
|
| Hooks | Hooks
| Hooks
|