Slash commands
Commands Vendor docs
command
| name | type | required | meaning | concept | |
|---|---|---|---|---|---|
| /app | command |
Continue the current session in the ChatGPT desktop app.
|
docs ↗ | ||
| /approve | command |
Approve one retry of a recent auto review denial.
|
docs ↗ | ||
| /apps | command |
Browse apps (connectors) and insert them into your prompt.
|
docs ↗ | ||
| /archive | command |
Archive the current session and exit Codex.
|
docs ↗ | ||
| /clear | command |
Clear the terminal and start a fresh chat.
|
docs ↗ | ||
| /compact | command |
Summarize the visible chat to free tokens.
|
docs ↗ | ||
| /copy | command |
Copy the latest completed Codex output.
|
docs ↗ | ||
| /debug-config | command |
Print config layer and requirements diagnostics.
|
docs ↗ | ||
| /delete | command |
Permanently delete the current session and exit Codex.
|
docs ↗ | ||
| /diff | command |
Show the Git diff, including files Git isn't tracking yet.
|
docs ↗ | ||
| /exit | command |
Exit the CLI (same as `/quit`).
|
docs ↗ | ||
| /experimental | command |
Toggle experimental features.
|
docs ↗ | ||
| /fast | command |
Toggle a Fast service tier when the model catalog exposes one.
|
docs ↗ | ||
| /feedback | command |
Send logs to the Codex maintainers.
|
docs ↗ | ||
| /fork | command |
Fork the current chat into a new chat.
|
docs ↗ | ||
| /goal | command |
Set, edit, pause, resume, view, or clear a task goal.
|
docs ↗ | ||
| /hooks | command |
View and manage lifecycle hooks.
|
docs ↗ | ||
| /ide | command |
Include open files, current selection, and other IDE context.
|
docs ↗ | ||
| /import | command |
Import Claude Code setup, project files, and recent chats.
|
docs ↗ | ||
| /init | command |
Generate an `AGENTS.md` scaffold in the current directory.
|
docs ↗ | ||
| /keymap | command |
Remap TUI keyboard shortcuts.
|
docs ↗ | ||
| /logout | command |
Sign out of Codex.
|
docs ↗ | ||
| /mcp | command |
List configured Model Context Protocol (MCP) tools.
|
docs ↗ | ||
| /memories | command |
Configure memory use and generation.
|
docs ↗ | ||
| /mention | command |
Attach a file to the chat.
|
docs ↗ | ||
| /model | command |
Choose the active model (and reasoning effort, when available).
|
docs ↗ | ||
| /new | command |
Start a new chat inside the same CLI session.
|
docs ↗ | ||
| /permissions | command |
Set what Codex can do without asking first.
|
docs ↗ | ||
| /personality | command |
Choose a communication style for responses.
|
docs ↗ | ||
| /plan | command |
Switch to plan mode and optionally send a prompt.
|
docs ↗ | ||
| /plugins | command |
Browse installed and discoverable plugins.
|
docs ↗ | ||
| /ps | command |
Show background terminals and their recent output.
|
docs ↗ | ||
| /quit | command |
Exit the CLI.
|
docs ↗ | ||
| /raw | command |
Toggle raw scrollback mode.
|
docs ↗ | ||
| /rename | command |
Rename the current chat.
|
docs ↗ | ||
| /resume | command |
Resume a saved chat from your session list.
|
docs ↗ | ||
| /review | command |
Ask Codex to review your working tree.
|
docs ↗ | ||
| /sandbox-add-read-dir | command |
Grant sandbox read access to an extra directory (Windows only).
|
docs ↗ | ||
| /setup-default-sandbox | command |
Set up the elevated agent sandbox (Windows only).
|
docs ↗ | ||
| /skills | command |
Browse and use skills.
|
docs ↗ | ||
| /status | command |
Display session configuration and token usage.
|
docs ↗ | ||
| /statusline | command |
Configure TUI status-line fields interactively.
|
docs ↗ | ||
| /stop | command |
Stop all background terminals.
|
docs ↗ | ||
| /theme | command |
Choose a syntax-highlighting theme.
|
docs ↗ | ||
| /title | command |
Configure terminal window or tab title fields interactively.
|
docs ↗ | ||
| /usage | command |
View account token usage or use a rate-limit reset.
|
docs ↗ | ||
| /vim | command |
Toggle Vim mode for the composer.
|
docs ↗ |