Codex CLI Adds /presets: Ten Reusable Prompt and Command Slots

CodexView original changelog

Codex CLI 0.164.0 added /presets, ten numbered slots that store reusable prompts and slash commands. A keyboard menu gives quick access to them, so developers no longer retype the instructions they use most. The same release added inline arguments for /model and /permissions, plus image previews in the fullscreen transcript on supported terminals.

Key Takeaways

  • Ten numbered preset slots let Codex CLI users save prompts and slash commands for instant reuse.
  • A keyboard menu provides quick access, which cuts the retyping of common instructions.
  • Presets hold slash commands as well as prompts, so they can shortcut multi-step command habits.
  • New inline arguments for /model and /permissions set model, reasoning effort, speed and permission profile in one line.
  • Image previews now render in the fullscreen transcript on Kitty- and Sixel-capable terminals.
  • The release also includes compaction and session-resume fixes that make long sessions more reliable.

Reusable prompts without retyping

Codex CLI 0.164.0, the stable release published on October 23, 2026, introduced /presets. It gives developers ten numbered slots for storing prompts and slash commands they run often, with a keyboard menu for quick access from the terminal.

Why it matters

Developers who work in Codex CLI all day tend to repeat the same instructions: a review checklist, a refactoring brief, a test-writing request. Presets turn those repeated inputs into one-step actions. Because slots can hold slash commands as well as prompts, a preset can also trigger a command that would otherwise take several keystrokes. The release notes do not describe how slots are edited or persisted, so those details should be checked in the CLI itself.

Other changes in 0.164.0

Inline arguments for /model and /permissions now let developers set the model, reasoning effort, speed and permission profile directly in a single command. In the fullscreen transcript, viewed and generated images now preview inline on terminals that support the Kitty or Sixel graphics protocols. The Amazon Bedrock setup wizard is now on by default, and API key entry appears next to the AWS sign-in methods when credentials are detected.

Fixes

  • Failed compaction no longer leaves partial summaries in history.
  • Resuming a session now restores saved thread settings instead of global defaults.
  • -c/--config overrides are preserved across subcommand levels.
  • Queued prompts wait for pending permission selections.