Skip to content

Slash Commands

What are slash commands?

Slash commands are special commands you can type that start with /.


Built-in slash commands

Control Codex’s behavior during an interactive session with slash commands.

CommandPurpose
/modelchoose what model and reasoning effort to use
/approvalschoose what Codex can do without approval
/reviewreview my current changes and find issues
/newstart a new chat during a conversation
/resumeresume an old chat
/initcreate an AGENTS.md file with instructions for Codex
/compactsummarize conversation to prevent hitting the context limit
/diffshow git diff (including untracked files)
/mentionmention a file
/statusshow current session configuration and token usage
/mcplist configured MCP tools
/experimentalopen the experimental menu to enable features from our beta program
/skillsbrowse and insert skills (experimental; see docs/skills.md)
/logoutlog out of Codex
/quitexit Codex
/exitexit Codex
/feedbacksend logs to maintainers