Built-ins + your own
Codex's slash commands cover the same ground as Claude Code's: /help, /permissions, /compact, /clear, /theme, /cost, /model. /init bootstraps an AGENTS.md from the project. Custom commands live in .codex/commands/<name>.md; the body becomes the prompt, $ARGUMENTS substitutes whatever you typed after.