Codex CLIconfigurationbuilt-in

/permissions

Set what Codex can do without asking first — switch between Auto, Read Only, or custom permission profiles mid-session.

When to use

  • Relaxing approval requirements for a trusted repo
  • Tightening permissions before working on sensitive files
  • Switching to Read Only to explore without risk of edits

More Codex CLI commands