/hooks
Codex CLI
Manage hooks
View configured lifecycle hooks, trust changes, or disable non-managed hooks.
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.