Slash commands let you control Codex without leaving the composer. Use them to check status, switch between local and cloud mode, or send feedback.
Use a slash command
- In the Codex composer, type
/. - Select a command from the list, or keep typing to filter (for example,
/status). - Press Enter.
Available slash commands
| Slash command | Description |
|---|---|
/approve | Approve one retry of a recent automatic-review denial, when automatic review is active. |
/cloud | Run the chat in the cloud, when cloud execution is available. |
/cloud-environment | Choose the cloud environment for the chat. |
/compact | Compact the current chat’s context. |
/fast | Turn a catalog-provided Fast service tier on or off, when available. |
/feedback | Open the feedback dialog to submit feedback and optionally include logs. |
/fork | Copy a local chat into a new local chat. |
/goal | Set a persistent goal for Codex to work toward. |
/ide-context | Turn automatic IDE context on or off. |
/init | Generate an AGENTS.md scaffold for the current project. |
/local | Run the chat in your local workspace. |
/mcp | Open MCP status to view connected servers. |
/memories | Configure whether the chat can use or generate memories, when Memories is available. |
/model | Choose the model for the current chat. |
/personality | Choose how Codex responds, when the current model supports personalities. |
/plan | Toggle plan mode for multi-step planning. |
/project | Choose a project for new chats. |
/reasoning | Choose the reasoning effort for the current chat. |
/review | Start code review mode to review uncommitted changes or compare against a base branch. |
/side | Start a temporary side chat without interrupting the main chat. |
/status | Show the chat ID, context usage, and rate limits. |
/worktree | Run the chat in a new Git worktree. |