Codex CLI 0.164.0 Presets and Credential Masking
OpenAI shipped Codex CLI 0.164.0 on 23 October 2026: ten numbered /presets slots for reusable prompts and slash commands, inline arguments for /model and /permissions, credential masking across remote Bash commands and Zsh snapshot sessions in logs, transcripts and approval prompts, plus the Amazon Bedrock setup wizard now on by default
Tool Interface
Interactive tool will be available soon
Features
- ✓ Ten numbered /presets slots store reusable prompts and slash commands, reachable from a keyboard menu
- ✓ Inline /model and /permissions arguments switch model, reasoning effort, speed and permission profiles directly
- ✓ Credentials in remote Bash commands and Zsh snapshot sessions are masked in logs, transcripts and approval prompts
- ✓ Enterprise MCP connections authenticate via Codex account grants or dedicated sign-in, including OAuth clients that need secrets
- ✓ Compatible terminals get inline image previews, and the Amazon Bedrock setup wizard is enabled by default
How to Use
- Upgrade to 0.164.0 from the official release notes (GitHub tag rust-v0.164.0)
- Use /presets to store your common prompts or slash commands in the numbered slots
- Pass inline arguments to /model and /permissions to switch model, reasoning effort and permission profiles
- Check a remote session and confirm credentials are masked in approval prompts and logs
FAQ
What is the most practical addition in 0.164.0?
The ten numbered /presets slots. Store the prompts and slash commands you retype constantly and pull them back with the keyboard menu instead of scrolling history.
Where does credential masking apply?
Per the release notes it covers supported remote Bash commands and Zsh snapshot sessions, including credentials from custom providers, and it spans logs, transcripts and approval prompts.
Is upgrading worth it?
The same release fixes session recovery after compaction, repeated --config overrides and Windows proxy authentication over Negotiate/NTLM. If you live in remote sessions behind a proxy, upgrade.
Does the Bedrock wizard being on by default force me to use Bedrock?
No. When AWS credentials are detected, the API key entry is grouped with the other AWS sign-in methods so setup happens in one pass. Nothing forces you onto Bedrock.
Does it cost anything?
The CLI itself ships from the open-source openai/codex repository at no charge. What you pay for is the underlying model usage, billed through your plan or API account.