frontmatter

Slash commands

Commands Vendor docs

command

name type required meaning concept
/agent command Switch the active agent thread. 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 conversation 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 conversation into a new thread. docs ↗
/goal command Set, 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 conversation. docs ↗
/model command Choose the active model (and reasoning effort, when available). docs ↗
/new command Start a new conversation 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 experimental background terminals and their recent output. docs ↗
/quit command Exit the CLI. docs ↗
/raw command Toggle raw scrollback mode. docs ↗
/resume command Resume a saved conversation 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 ↗
/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 ↗