跳到主要内容

Codex app commands

Reference for Codex app commands and keyboard shortcuts

Use these commands and keyboard shortcuts to navigate the Codex app.

Keyboard shortcuts

ActionmacOS shortcut
General
Command menuCmd + Shift + P or Cmd + K
SettingsCmd + ,
Open folderCmd + O
Navigate backCmd + [
Navigate forwardCmd + ]
Increase font sizeCmd + + or Cmd + =
Decrease font sizeCmd + - or Cmd + _
Toggle sidebarCmd + B
Toggle diff panelCmd + Option + B
Toggle terminalCmd + J
Clear the terminalCtrl + L
Thread
New threadCmd + N or Cmd + Shift + O
Find in threadCmd + F
Previous threadCmd + Shift + [
Next threadCmd + Shift + ]
DictationCtrl + 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

  1. In the thread composer, type /.
  2. 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 commandDescription
/feedbackOpen the feedback dialog to submit feedback and optionally include logs.
/mcpOpen MCP status to view connected servers.
/plan-modeToggle plan mode for multi-step planning.
/reviewStart code review mode to review uncommitted changes or compare against a base branch.
/statusShow the thread ID, context usage, and rate limits.

The Codex app registers the codex:// URL scheme so links can open specific parts of the app directly.

DeeplinkOpensSupported query parameters
codex://settingsSettings.None.
codex://skillsSkills.None.
codex://automationsInbox in automation create mode.None.
codex://threads/A local thread. `` must be a UUID.None.
codex://newA new thread.Optional: prompt, originUrl, path.

For new-thread deeplinks:

  • prompt sets the initial composer text.
  • path must be an absolute path to a local directory and, when valid, makes that directory the active workspace for the new thread.
  • originUrl tries to match one of your current workspace roots by Git remote URL. If both path and originUrl are present, Codex resolves path first.

See also