/goal
Codex CLI
Task goal
Set, view, pause, resume, or clear a persistent task goal for the active thread.
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.