Permission mode
Also called Auto-approve · Bypass permissions · YOLO mode · Full-auto
The setting that decides which tool calls run automatically and which stop for a permission request.
Permission mode is the rule the harness applies to every tool call before running it: execute silently, or stop and raise a permission request. It ranges from cautious (ask about every edit and every command) through allowlists (routine commands run, unusual ones ask) to fully automatic (nothing asks). The model doesn't change; what changes is how much can happen between your glances at the screen.
The mode shapes the work more than people expect. In a strict mode the agent moves in short hops and you stay in the loop by default. In a permissive mode it can complete a whole feature while you get coffee, and it can also delete a directory, push to the wrong branch, or run a script that phones home. 'YOLO mode' is the community name for the fully automatic end for a reason. The danger isn't the mode itself, it is running it outside a sandbox on a machine that holds things you care about.
Match the mode to the blast radius. Interactive work on a real checkout: allowlist the safe commands and keep asking for the rest. Unattended or parallel runs: go permissive, but inside a container, a worktree or a cloud session with no production credentials, and end in a PR rather than a merge. And read the diff afterwards regardless; permissions gate actions, they don't check quality.
- Claude CodeShift+Tab cycles the interactive modes (default, accept edits, plan);
--dangerously-skip-permissionsis the fully automatic one. - CodexAn approval policy plus a sandbox level (read-only, workspace-write, full access) do the same job; the older suggest / auto-edit / full-auto names still circulate.
- AntigravityAutonomy and review policies set how much an agent can do before a human checks in.
“Can I just turn permissions off? The prompts are killing my flow.”
“In a sandboxed worktree, sure. On your main checkout with prod keys in .env, no. Allowlist the build and test commands instead.”
“Fair. Allowlist for the daily stuff, bypass only in the container.”
Course 01 puts every one of these terms to work: you install Claude Code, run the loop, and ship a real project — permission modes, compaction, hooks and all.
Start Course 01 →