mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
## Notes Skills are behind the experimental `skills` feature flag (disabled by default), but the skills guide didn't explain how to turn them on. - Add an explicit enable section to `docs/skills.md` (config + `--enable`) - Add the skills flag to `docs/config.md` and `docs/example-config.md` - Document the `/skills` slash command
2.0 KiB
2.0 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 |
/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 |