/fork
Codex CLI
Fork conversation
Branch the current conversation into a new thread without losing the original transcript.
More Codex CLI commands
/agent
Switch agent thread
Inspect or continue work in a spawned subagent thread.
/init
Initialize AGENTS.md
Generate an AGENTS.md scaffold in the current directory for persistent repo instructions.
/review
Review working tree
Ask Codex to review the current working tree, focusing on behavior changes and missing tests.
/experimental
Experimental features
Enable or disable experimental Codex features from the CLI.