Permissions & Sandbox in AI

From the OpenAI Codex cheat sheet · Models, Modes & Permissions · verified Jul 2026

Permissions & Sandbox

Adjust approvals and platform sandbox access.

text
/permissions
/approve
/experimental

# Windows-only commands
/setup-default-sandbox
/sandbox-add-read-dir C:\absolute\directory
🔐 /permissions changes what Codex can do without asking
⚠️ /approve retries only a recent automatic-review denial
🧪 /experimental features may require a restart
🪟 Sandbox setup and extra read directories are Windows-only
commandspermissionssandboxwindows

Continue with OpenAI Codex

Save the full cheat sheet or work through every related task.

More AI tasks

Back to the full OpenAI Codex cheat sheet