#Codex CLI
9 articles
-
Codex CLI v0.164 adds /presets and inline /permissions arguments for permission profiles
v0.164.0 stores reusable prompts in ten /presets slots and lets /permissions pick a permission profile as an argument. Plus credential masking and hardened sandbox checks.
-
Codex CLI v0.163 turns Daybreak back on by default and makes /config searchable
v0.163.0 enables Daybreak by default for eligible accounts, adds search across /config, lets you steer a response mid-turn, and checks proxy permission before a DNS lookup.
-
Codex config.toml: set the model, model_reasoning_effort (low to ultra) and per-task profiles
Change model and reasoning effort in ~/.codex/config.toml (model_reasoning_effort = "high"), switch per-task profiles with --profile, and see which layer wins when settings overlap
-
Set up Codex CLI and write an AGENTS.md that Codex actually reads
Install Codex CLI, sign in with a ChatGPT account or an API key, run a first task, and write an AGENTS.md — where it goes, the discovery order, the 32 KiB limit, and a template.
-
Codex CLI v0.161 and v0.162 changes, and GPT-6.1 Sol becoming the default model
In v0.161.0 the default model becomes GPT-6.1 Sol and Daybreak needs an explicit cli_daybreak opt-in. Plus v0.162.0's managed worktree tools and the sandbox fixes.
-
Codex CLI v0.160 and how to configure automatic review (Guardian)
The four new features in Codex CLI v0.160.0, and how the opt-in Guardian review is configured through auto_review.policy and the managed guardian_policy_config.
-
Codex CLI v0.158: MCP OAuth client secrets and approval for elevated commands
What changed in Codex CLI v0.158.0: MCP servers that need pre-registered OAuth client secrets, terminal approval on by default for elevated commands, and the sandbox fixes.
-
Codex approval_policy vs sandbox_mode: which pairs are safe (on-request + workspace-write, never + read-only)
What approval_policy and sandbox_mode each control in Codex CLI, what --full-auto really sets, and which combination to pin in config.toml for research, daily work and CI.
-
Add an MCP server to Codex CLI: the [mcp_servers] block in config.toml
Connecting MCP servers to Codex CLI: the [mcp_servers.<name>] block in config.toml, passing tokens through environment variables, and debugging a server that will not connect.