Start with native import for supported setup, projects, and recent chats. Review the result before relying on it; a working import may be all you need.
The separate official migrate-to-codex skill offers source scanning, plans, dry-runs, and static target checks. Its normal migration command writes files. Its merge mode can replace same-named generated artifacts; review the plan and keep a recovery copy.
Use this path only if you choose Bring Your AI to migrate your setup. Free preview checks default-directory presence and migration direction. Planning and migration require an activated license. These commands use the default Claude Code and Codex directories; select the correct source and target for your setup.
curl -fsSL https://bringyour.ai/install.sh | sh bringyour preview --from claude-code --to codex bringyour migrate --from claude-code --to codex \ --src "$HOME/.claude" --dst "$HOME/.codex" \ --policy merge --dry-run
Review the write/skip plan. If you choose to proceed, the next command writes the target and snapshots an existing nonempty target first. An empty target has no prior snapshot.
bringyour migrate --from claude-code --to codex \ --src "$HOME/.claude" --dst "$HOME/.codex" \ --policy merge
After a Bring Your AI migration, check its generated manifest:
bringyour verify --root "$HOME/.codex"
This checks Bring Your AI's own portable-manifest.json and expected files. It does not audit an arbitrary native import or prove runtime behavior. Review deferred checks, then test the required instructions, tools, and restrictions in Codex before relying on the setup.
The agent-readable version of this comparison is available at /claude-code-to-codex-tools.json.
back to bringyour.ai