Cmd. /import
Import supported Claude Code setup, project files, and recent chats into Codex.
Key takeaways
- Import supported Claude Code setup, project files, and recent chats into Codex.
- Check the input surface and availability before using the examples below.
Purpose
Import supported Claude Code setup, project files, and recent chats into Codex.
/importAvailability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Conditional |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Codex CLI 0.155.1 |
Use in a local TUI session. Unavailable while a task is running, in a remote session, or when connected to a local app-server daemon.
Examples
/importWhen to use it
- 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.
Choosing related 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 |
Effects and persistence
Imports supported external configuration into Codex. Inspect the configuration before and after applying it.
/import is an official slash command for importing supported Cursor and Claude Code configuration,
MCP servers, plugins, sessions, commands, and project memories into Codex.
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
Before applying, check for conflicts with AGENTS.md, .codex/config.toml, and skill or plugin rules; inspect the resulting diff.
In 0.145.0 the picker expanded across Cursor and Claude Code artifacts. After import, inspect not only
the file diff but /plugins, /mcp, /skills, and thread history metadata.
- 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.
Official sources
Complete command list · Verification scope · History for this command