mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
This will automatically render any `Stage::Beta` features. The change only gets applied to the *next session*. This started as a bug but actually this is a good thing to prevent out of distribution push <img width="986" height="288" alt="Screenshot 2025-12-15 at 15 38 35" src="https://github.com/user-attachments/assets/78b7a71d-0e43-4828-a118-91c5237909c7" /> <img width="509" height="109" alt="Screenshot 2025-12-15 at 17 35 44" src="https://github.com/user-attachments/assets/6933de52-9b66-4abf-b58b-a5f26d5747e2" />
2.1 KiB
2.1 KiB
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.
| Command | Purpose |
|---|---|
/model |
choose what model and reasoning effort to use |
/approvals |
choose what Codex can do without approval |
/review |
review my current changes and find issues |
/new |
start a new chat during a conversation |
/resume |
resume an old chat |
/init |
create an AGENTS.md file with instructions for Codex |
/compact |
summarize conversation to prevent hitting the context limit |
/undo |
ask Codex to undo a turn |
/diff |
show git diff (including untracked files) |
/mention |
mention a file |
/status |
show current session configuration and token usage |
/mcp |
list configured MCP tools |
/experimental |
open the experimental menu to enable features from our beta program |
/skills |
browse and insert skills (experimental; see docs/skills.md) |
/logout |
log out of Codex |
/quit |
exit Codex |
/exit |
exit Codex |
/feedback |
send logs to maintainers |