Back to Articles
PREMIUM
Tutorials

Codex CLI: My Favorite 14 Tips and Tricks

October 10, 2026
6 min read

Codex CLI has plenty of useful features that are easy to miss. I've put together 14 practical tips and tricks to help you get more out of it.


1. Skip Permissions

In Claude Code, you can run claude --dangerously-skip-permissions, the same thing in Codex has two variants:

  1. codex --dangerously-bypass-approvals-and-sandbox
  2. codex --yolo

Recently, they launched a new mode of permissions called auto-review, which means that the command is checked by LLM itself (and yes, it uses a bit of tokens) to be safe or needs permission. In my experience, works pretty well. So, maybe we don't need this --yolo as much anymore.

Also, you can switch the permissions at any time of your session, using /permissions.


2. Run Terminal Commands from Codex

Similar to Claude Code CLI, in Codex you may run npm run build or any other Terminal commands, without leaving the agentic environment. Just type exclamation mark and type the command, so !npm run build and it will get executed.


3. Choose Effort, Not Only Model

If you type /model...

This is Premium Content

Subscribe to unlock this article and get access to all premium content.

Povilas Korop

Get Weekly AI Coding News

Sent every Wednesday. No spam, ever. Unsubscribe anytime.