Skip to content
BENIBIX Learn

Bypass Permissions Mode

AI⌨️ Claude CodeClaude Code Concepts

Also known as bypassPermissions, --dangerously-skip-permissions, YOLO mode

Skips almost all checks. Use it in a throwaway box only.

Think of it like

It is like taking the brakes off a bike. Only safe on a closed track.

Example

Lucy runs a test agent in a fresh container that is wiped after each run. There she uses this mode, since nothing in the box matters.

Why it matters

Jobs can run with no one watching, as long as the place they run in can be thrown away.

Definition

Bypass permissions mode turns off permission prompts and safety checks. Tool calls run at once. You start it with the --dangerously-skip-permissions flag. Deny rules still block tools, and a few acts still stop, such as deleting key system folders. It is only meant for a container or virtual machine that holds nothing you could lose. Companies can turn it off for all their people.

Example code

bash
claude -p "<prompt>" --dangerously-skip-permissions
Run with no prompts, inside a container only.
Bypass mode sits at the far end, with almost no checks.

Common mistake

Using it on your own laptop. One wrong command can delete files or leak keys, and nothing will stop it.

Key takeaways

  1. 1
    No prompts. No checks.
  2. 2
    Containers only. Nothing to lose.
  3. 3
    Can be blocked. In managed settings.

Compare

Learn it properly