How configuration works
The plugin uses your local Codex CLI, which reads configuration from standard Codex config files. There are two levels:- User-level:
~/.codex/config.toml— applies to all repositories on this machine - Project-level:
.codex/config.tomlat the root of the directory you started Claude in — applies only to that project
Setting the default model
Set themodel key in your config file to control which model all plugin commands use by default:
/codex:review, /codex:adversarial-review, /codex:rescue) unless overridden per-command.
Setting reasoning effort
Setmodel_reasoning_effort to control how much reasoning the model applies:
none, minimal, low, medium, high, xhigh.
Example project-level config
Place this file at.codex/config.toml in the root of your project:
Config file locations
| Location | Scope |
|---|---|
~/.codex/config.toml | All repositories on this machine |
.codex/config.toml (project root) | The current project only (must be trusted) |
Per-command overrides
/codex:rescue supports --model and --effort flags to override config for a single run:
spark model alias maps to gpt-5.3-codex-spark:
Custom API base URL
If you need to point the OpenAI provider at a different endpoint, setopenai_base_url in your Codex config:
The full Codex configuration reference is available in the Codex docs.