Codex CLI commands
Handy Codex CLI commands, kept current by the community. Add one you rely on.
/fork
Fork conversation
Branch the current conversation into a new thread without losing the original transcript.
/skills
Skills browser
Browse available local skills and inject one into the current task.
/agent
Switch agent thread
Inspect or continue work in a spawned subagent thread.
/stop
Stop background work
Stop all background terminals started by the current session.
/memories
Memory settings
Configure whether Codex uses or generates memories for future sessions.
/sandbox-add-read-dir
Grant sandbox read directory
Grant the Windows sandbox read access to an additional absolute directory path.
List background terminals and show recent output lines for each.
/approve
Approve denied action
Retry one recent action that Codex's automatic reviewer denied.
/title
Terminal title
Configure which fields appear in the terminal window or tab title.
/personality
Communication style
Switch Codex's communication style, such as friendly, pragmatic, or none.
/experimental
Experimental features
Enable or disable experimental Codex features from the CLI.
/statusline
Status line
Configure which fields appear in the interactive footer and persist the layout.
/ide
Include IDE context
Pull open files, selections, and other editor context into the next prompt.
/debug-config
Debug config
Print config-layer diagnostics and active policy requirements.
/permissions
Permissions
Adjust what Codex can do without asking first, such as switching between Auto and Read Only approval modes.
Create a command
Please sign in to add a command.