How to migrate from Cursor to Codex
aix is a CLI for defining, installing, and syncing AI editor configuration. If you are moving from Cursor to Codex, 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 cursor --to codex
copies the supported config from Cursor into Codex. 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 cursor --to codex --dry-run -
Read the preview for skipped or converted features, then run:
aix sync cursor --to codex -
Open Codex's generated files and compare them with the destination details below.
Use
--scope projectwhen the source config is project-scoped.
What needs attention
- Rules: Cursor calls this "Rules", while Codex calls it "AGENTS.md".
- Prompts: Codex loses part of the prompts surface that Cursor has today.
- MCP: Cursor and Codex put mcp in different project or user targets.
- Skills: Cursor and Codex 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 | Cursor | Codex |
|---|---|---|
| Rules | Rules
| AGENTS.md
|
| Prompts | Commands
| Skills
|
| MCP | MCP servers
| MCP servers
|
| Skills | Skills
| Skills
|
| Agents | Agents
| Agents
|
| Hooks | Hooks
| Hooks
|