Commands – Codex app
Use these commands and keyboard shortcuts to navigate the Codex app.
Keyboard shortcuts
| Action | macOS shortcut | |
|---|---|---|
| General | ||
| Command menu | Cmd + Shift + P or Cmd + K |
|
| Settings | Cmd + , |
|
| Open folder | Cmd + O |
|
| Navigate back | Cmd + [ |
|
| Navigate forward | Cmd + ] |
|
| Increase font size | Cmd + + or Cmd + = |
|
| Decrease font size | Cmd + - or Cmd + _ |
|
| Toggle sidebar | Cmd + B |
|
| Toggle diff panel | Cmd + Option + B |
|
| Toggle terminal | Cmd + J |
|
| Clear the terminal | Ctrl + L |
|
| Thread | ||
| New thread | Cmd + N or Cmd + Shift + O |
|
| Find in thread | Cmd + F |
|
| Previous thread | Cmd + Shift + [ |
|
| Next thread | Cmd + Shift + ] |
|
| Dictation | Ctrl + M |
Slash commands
Slash commands let you control Codex without leaving the thread composer. Available commands vary based on your environment and access.
Use a slash command
- In the thread composer, type
/. - Select a command from the list, or keep typing to filter (for example,
/status).
You can also explicitly invoke skills by typing $ in the thread composer. See Skills.
Enabled skills also appear in the slash command list.
Available slash commands
| Slash command | Description |
|---|---|
/feedback |
Open the feedback dialog to submit feedback and optionally include logs. |
/goal |
Set a persistent goal for Codex to work toward; use /plan first to shape it. |
/mcp |
Open MCP status to view connected servers. |
/plan |
Toggle plan mode for multi-step planning. |
/review |
Start code review mode to review uncommitted changes or compare against a base branch. |
/status |
Show the thread ID, context usage, and rate limits. |
Set or manage a goal with /goal
Use /goal in the app composer to start Goal mode. A goal is a persistent
objective that Codex works toward until it finishes the task, pauses, or needs
more input. To define the goal with Codex first, start with /plan, then set
the refined goal with /goal.

When a goal is active, the app shows its progress above the composer. Use the buttons in that progress row to pause or resume the goal, edit the goal text, or clear the goal instead of typing another slash command. You can keep steering Codex with follow-up messages while the goal runs.
For guidance on writing effective goals, see Goal mode.
Deeplinks
The Codex app registers the codex:// URL scheme so links can open specific parts of the app directly.
| Deeplink | Opens | Supported query parameters |
|---|---|---|
codex://settings |
Settings. | None. |
codex://skills |
Skills. | None. |
codex://automations |
Inbox in automation create mode. | None. |
codex://threads/<thread-id> |
A local thread. <thread-id> must be a UUID. |
None. |
codex://new |
A new thread. | Optional: prompt, originUrl, path. |
For new-thread deeplinks:
promptsets the initial composer text.pathmust be an absolute path to a local directory and, when valid, makes that directory the active workspace for the new thread.originUrltries to match one of your current workspace roots by Git remote URL. If bothpathandoriginUrlare present, Codex resolvespathfirst.