Cmd. /import
Import supported Claude Code setup, project files, and recent chats into Codex.
Key takeaways
/importimports supported external-agent artifacts such as Claude Code setup, project files, and recent chats.- Run it from a local TUI session; it is unavailable during a running task, in remote sessions, and while connected to the local app-server daemon.
- Review the resulting diff before keeping imported
AGENTS.md, config, skills, plugin, or MCP changes. - Treat it as a migration aid, not as a policy or security approval.
Original Command Declaration
/importOfficial Summary
/import is an official slash command for importing supported Claude Code configuration, project
files, and recent chats into Codex configuration and local files.
Usage
/importGood Examples
- Inspect Claude Code project instructions before moving them into Codex
AGENTS.mdand config. - Select recent Claude Code chats that should continue in Codex.
- After import, run
/diff,/status, and/debug-configbefore committing any changed files.
Similar Commands
| Command | Difference | Choose It When |
|---|---|---|
/import | Migrates supported external-agent artifacts | You are moving Claude Code workflow into Codex |
/init | Creates a new AGENTS.md scaffold | You are starting Codex instructions from scratch |
/debug-config | Explains active config layers | You need to inspect imported settings |
Use Cases
- Migrating repo instructions from Claude Code to Codex.
- Continuing selected recent external-agent chats in a Codex workflow.
- Comparing imported settings with team-standard Codex policy before rollout.
v0.140.0 Changes
/importwas added to the official slash command table.- The import picker can bring supported Claude Code setup, project files, and recent chats into Codex.
- The command is limited to local TUI sessions and is unavailable during running tasks, remote sessions, or local app-server daemon connections.
Cautions
- Always inspect
/diffand/debug-configafter import. - Imported instructions, hooks, MCP servers, plugins, or skills may conflict with team policy.
- For remote or app-server work, import locally first and review the resulting diff.
Release Basis
- Judgment: confirmed addition
- First evidence version:
Codex CLI 0.140.0 - Date (UTC): 2026-06-16
- Release link: https://developers.openai.com/codex/changelog
Sources
- Codex slash commands: https://developers.openai.com/codex/cli/slash-commands
- Codex changelog: https://developers.openai.com/codex/changelog