Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
ChatGPT Coding By Carlos Mendoza

Codex CLI presets: save your favorite model and prompt, switch with Ctrl+X P

Codex CLI 0.164.0 adds presets: up to ten saved slots that each hold a prompt you repeat plus the model, reasoning level and other settings you keep switching between. Open them mid-task with Ctrl+X then P or the /presets command, then create, save, edit or delete a slot. The same release lets you pick a model or permission mode inline from /model and /permissions. A Codex engineer showed it running a review-then-fix loop by flipping between two presets.

Why it matters

Switching between a careful high-reasoning reviewer and a fast fixer used to mean retyping settings and prompts every time. Presets make that a two-key habit.

Who it's for

Developers who use Codex in the terminal and bounce between review, planning and quick-fix modes.

How to try it

  1. Update the CLI with npm install -g @openai/codex@latest and check codex --version shows 0.164.0 or newer.
  2. Set up the model, reasoning and prompt you want, then press Ctrl+X then P (or type /presets) and save it to a slot.
  3. Make a second slot for your other mode, like a fast fixer, and switch between them mid-task.

Plan & availability: In Codex CLI 0.164.0 and later. The CLI is free to install; usage comes from your ChatGPT plan or API key.

Source: @fcoury on X

Written by Carlos Mendoza from the original post. Checked Oct 25, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.

codexclipresets

More ChatGPT tricks

All ChatGPT tricks →