Codex 0.164.0 adds /presets, inline /model and MCP sign-in
Codex CLI 0.164.0 lets you save reusable prompts and slash commands in ten numbered /presets slots. The /model and /permissions commands now accept inline arguments to set the model, reasoning effort, speed or permission profile in one go. Enterprise MCP connections gained new sign-in options, including OAuth clients that need secrets.
Key points
- Ten numbered /presets slots store reusable prompts and slash commands, recalled from a keyboard menu.
- /model accepts inline model, reasoning effort and speed arguments.
- /permissions accepts an inline permission profile selection.
- Enterprise MCP connections can authenticate with eligible Codex account grants or dedicated sign-in, including OAuth clients that need secrets.
- Credentials are masked during remote Bash and Zsh snapshot sessions.
- Failed compaction no longer leaves partial summaries, and resumed sessions keep their saved thread settings.
Codex CLI 0.164.0 introduces /presets, which lets you keep frequently used prompts and slash commands in ten numbered slots and recall them from a keyboard menu. The /model and /permissions commands also accept inline arguments, so you can set the model, reasoning effort, speed or permission profile in a single line.
The release also adds image previews in the fullscreen transcript for Kitty- or Sixel-capable terminals, and lets enterprise MCP connections authenticate with eligible Codex account grants or a dedicated sign-in, including OAuth clients that require a secret. Credentials are now masked during remote Bash and Zsh snapshot sessions. The Amazon Bedrock setup wizard is enabled by default. Fixes cover compaction failures that left partial summaries, and resumed sessions that now keep their saved settings instead of global defaults.
Real-world use
- A developer who runs the same code review or test prompt daily saves it to a /presets slot and recalls it from the menu.
- Switching model or permission profile mid-session with a single inline /model or /permissions command.
- An enterprise team connecting MCP servers with its own sign-in, including OAuth clients that require a secret.
Why it matters
Routine model, permission and prompt switches in Codex CLI now take a single command, and teams using enterprise MCP servers get more flexible authentication options.