Home / Blog / How to use Codex /presets: save common prompts and switch model settings

How to use Codex /presets: save common prompts and switch model settings

Published on 2026-10-25 · Codex · CLI guide · Prompts · AI coding

Learn about Codex CLI 0.164.0's 10 preset slots, creation and invocation steps, model and permission commands, direct execution by number, model availability and usage limits.

What is Codex /presets

/presets is a preset for commonly used Codex CLI input: save recurring prompts or slash commands in 10 slots, numbered 0–9, then invoke it directly from the menu. For example, save code review requirements or a set of model, reasoning effort and speed settings.

OpenAI Codex CLI 0.164.0, released October 23, 2026 lists this feature and also adds /model and /permissions inline parameter support. Official version notes

This article checks operations against official release notes, merge notes and the version's source code; 0.164.0 was not upgraded and run locally. The following steps apply to Codex CLI in the terminal, and menus in the desktop app and IDE extension may differ.

Check the CLI version before starting

Check the current version in your system terminal:

codex --version

If your version is older than this article's 0.164.0, follow Official CLI installation and update guide update. Organization-managed installations should use approved versions and update methods.

Then enter the project directory and run codex. Once the session finishes starting, in Codex input field enter in /presets; do not execute it as a system Shell command.

Save a frequently used prompt

Using the official presets menu, create your first preset as follows:

  1. Input /presets Open the menu.
  2. by n Create a new one and enter text to reuse.
  3. After editing, press Enter and select a slot from 0–9 to save. When replacing existing content, check the displayed old and new text before confirming.
  4. Next time you open /presets, invoked with the corresponding number. You can also select an empty slot to create one.

For example, the following is an editable review prompt, not an officially recommended template:

检查当前未提交的改动。
优先找影响用户行为的缺陷。
说明触发条件、影响和文件位置。
暂不修改文件。
没有确认的问题时,
说明检查范围和未验证部分。

in the menu e For editing,d deletes presets; replacing and deleting existing presets requires confirmation. Presets are saved in the active user configuration tui.presets ; if saving fails, check the error message first. Exiting the editor alone does not mean it saved. Presets guide、New preset menu guide

Invoking a saved preset by number sends it to the normal execution queue. It does not just fill the input box for you to submit again. Your current draft text is preserved, but the preset has already been invoked. To change contents first, use Edit; do not run it and change it afterward.

Save current model settings as a preset

If you frequently switch model settings between tasks, start with /model Select an available model, reasoning effort and speed for the current account, then open /presets, according to s Create from current settings and select Current model, check the generated command, then save it to a slot.

The official 0.164.0 source converts these selections into a reusable /model command. Implementation in the corresponding version

You can also use inline parameters directly in the Codex input box. For example, if the current model supports high reasoning effort:

/model --reasoning=high

To also specify standard speed, append on the same line --speed=standard. Omitting the model name changes the current model. Parameters accept both --reasoning=high, also accepts --reasoning high; enter separately /model still opens the picker.

These inline settings apply to Current session; saved defaults remain unchanged. The CLI rejects the command if the model is unavailable, reasoning tier unsupported, parameters duplicated, or parameter values missing. First use /model Check your own available options. Do not copy model names or speed tiers from someone else's preset without checking. Inline model parameter guide

/permissions can also be saved, but permission confirmation still applies

0.164.0 supports using /permissions <profile-id> Choose a permission configuration; the official example is:

/permissions :read-only

These commands can also be saved as presets. First enter separately /permissions Check the options available in your current environment, then choose a configuration suited to the task.

Permission commands invoked through presets still follow configuration requirements, feature availability, and required confirmations; they do not bypass workspace restrictions. Official guidance also says queued input pauses while awaiting confirmation of a permission choice. Inline permission parameter details

Troubleshooting missing presets or nonworking shortcuts

SymptomWhat to check first
Not found /presetsWhether entered in the CLI, the current CLI version, and whether the session has finished starting
Shortcut does not responduse /presets Open the menu, then use /keymap View actual binding
Cannot replace or delete after savingCheck whether the error says the preset comes from a configuration layer other than user configuration; inspect its source as instructed
Model preset will not runWhether this account can still select that model, reasoning effort and speed tier
Drafts with images or linked mentions were not fully savedThis version does not copy images or linked mentions directly into text presets. Reorganize the input

The official implicit shortcut is leader p, but it avoids existing keybindings and explicit configuration. Therefore, follow /keymap displayed Open Presets prevails. Do not treat one key combination as a universal shortcut across all terminals. Shortcut guide

Is an extra plan needed? Does it use less quota?

The official release notes describe /presets Released as a CLI feature, with no separate subscription listed for presets. Codex itself is included across ChatGPT plans, including Free and Go, but models and usage vary by account and plan. Saving a command does not unlock models unavailable to your account or increase usage.

Presets mainly save repeated typing. Actual tasks still consume usage according to model, context, reasoning effort, speed and tools. '10 slots' does not mean 10 free tasks. Official Codex access and usage guide

If you use multiple clients, continue reading How login and usage relate across Codex App, CLI, and IDE; if unsure whether you are using subscription or API billing, see Codex credits vs API balance.

Information verification

Verified on: October 25, 2026. This article is based on the official 0.164.0 release notes and corresponding source code. It does not include hands-on interaction tests, speed tests, or cost estimates. For menus, configuration, and options in later versions, follow the current client and official documentation.

Continue reading

All articles ›

AICZ purchase and service announcement

Welcome to AICZ. Before ordering, check the product region, subscription period, account requirements and support scope. If payment or delivery looks wrong, contact support with your order number before buying again.

Claude purchase and support information
  • Account and subscription. One person, one account and one card. Accounts are delivered individually, with subscriptions paid using Philippine credit cards and traceable subscription and payment records.
  • Delivery and bulk orders. USDT and Alipay are supported. Accounts are manually delivered in batches within 1–2 days after payment. Bulk orders are supported; contact us first for more than 100 accounts or specific delivery requirements.
  • After-sales support. We cover first login and the purchased subscription. If an account used in compliance with Anthropic’s terms faces repeat verification or restrictions during the subscription period, contact us with your order number for help requesting an Anthropic refund. Once refunded, you may choose a free replacement account for the same plan or receive the subscription amount Anthropic actually refunded. Anthropic determines the refund outcome and amount.
  • Plan changes. Contact support before upgrading or changing your plan. Making the change yourself may trigger KYC again, in which case you will need to complete the verification yourself.
  • If you encounter a problem, contact your original support representative with the order number. You must personally complete any verification the platform requires of you; the platform determines the review outcome. Plans do not include proxy IPs or environment setup services.
Contact support and protect your order
  • Contact AICZ. Telegram support @drmrzhong · WeChat drmrzhong. Please include your order number, product name and a description of the issue.
  • Keep your lookup credentials. Use an email address where you can receive notifications and save your order number. For partner products, you set the query password at checkout. Different order lookup pages require different credentials.
  • Independent third-party service. AICZ is not affiliated with or officially partnered with Anthropic or OpenAI. Product names and trademarks belong to their respective owners.
View featured plans
  • ChatGPT membership. Go suits light use; Plus suits everyday writing, study and office work. Frequent users can choose Pro 100 / 200 / 500 according to usage.
  • Codex phone verification. One-time SMS-code receipt for phone verification only; no subscription or usage included.
  • US Apple ID. App Store only, in standard and Shadowrocket-purchased versions.
View updated payment guide
Telegram support ↗