# Bypass Permissions Mode

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

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** bypassPermissions, --dangerously-skip-permissions, YOLO mode

## Think of it like

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

## 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

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.

## Example code

```bash
claude -p "<prompt>" --dangerously-skip-permissions
```

Run with no prompts, inside a container only.

## Why it matters

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

## Common mistake

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

## Three principles

- **No prompts.** No checks.
- **Containers only.** Nothing to lose.
- **Can be blocked.** In managed settings.

## Related terms

- [Permission Mode](https://learn.benibix.com/term/ai/permission-mode)
- [Agent Sandbox](https://learn.benibix.com/term/ai/agent-sandbox)
- [Auto Mode](https://learn.benibix.com/term/ai/auto-mode)

## Told apart from

- [Auto Mode vs Bypass Permissions](https://learn.benibix.com/compare/auto-mode-vs-bypass-permissions-mode): People often think auto mode skips the checks, like bypass mode. Both stop the prompts, but only one keeps a guard. In auto mode, a second model checks each action and blocks the risky ones. In bypass mode, nothing checks most actions at all. Auto mode is meant for daily work. Bypass mode is only for a container you can throw away.
- [Don't Ask Mode vs Bypass Permissions Mode](https://learn.benibix.com/compare/dont-ask-mode-vs-bypass-permissions-mode): People think Don't Ask mode means Claude stops asking and does everything. It is the opposite. Don't Ask mode refuses any tool your allow rules have not already approved, so nothing new can run. Bypass mode is the one that lets almost everything run without a question. Only deny rules still hold there.

## Taught in

- [Claude Code Permission Modes](https://learn.benibix.com/learn/ai-claude-code/claude-code-permission-modes): Claude Code, 5/16

![The six permission modes on a line from asking about everything to asking about nothing.](https://learn.benibix.com/diagrams/cc-permission-mode.svg)

---

Source: https://learn.benibix.com/term/ai/bypass-permissions-mode
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
