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
- Update the CLI with npm install -g @openai/codex@latest and check codex --version shows 0.164.0 or newer.
- Set up the model, reasoning and prompt you want, then press Ctrl+X then P (or type /presets) and save it to a slot.
- 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
- Codex Cloud can now drive a browser and desktop, so it tests the app it builds · Dec 1
- Copilot team customizations are GA, so stop setting up the same plugins one by one · Nov 23
- VS Code 1.146 deprecates the Local harness, so migrate your Copilot sessions before February · Nov 23
- GPT-Live-1.1 is in the API, and idle voice sessions now cost $0.02 a minute · Nov 21