NEWCloud agents are live.See how

Safety

YOLO mode

Also called Auto-accept, Bypass permissions

Running an agent with its approval prompts turned off, so it edits files and executes commands without asking. It is dramatically faster and occasionally catastrophic, which is why the usual advice is to pair it with a sandbox, a clean branch, or a machine you are willing to lose.

At a glance

Also called
Bypass permissions, auto-accept
Claude Code flag
--dangerously-skip-permissions
Turns off
Approval prompts before tool calls
Gain
Unattended, long-running work
Pair with
A container, VM, or sandbox

How it works

By default most coding agents pause before risky tool calls such as writing files, running shell commands, or fetching URLs. YOLO mode removes those pauses so every call runs immediately. In Claude Code it is the bypassPermissions mode, reachable with --dangerously-skip-permissions, and its own docs recommend it for isolated containers and VMs only. Explicit deny rules still apply in that mode, so you can keep a short list of actions that are always blocked.

Why it matters

An agent that stops every few seconds for a yes needs a human watching it. One that never stops can work through a long task while you do something else, which is why people reach for it. The failures are rare but expensive: deleting files outside the project, running a destructive migration against a real database, force-pushing over a shared branch. Prompt injection raises the stakes, since text in a fetched page or a dependency can steer an agent that no longer asks first.

The deeper issue is what is in reach. An agent running in your shell inherits your cloud keys, SSH agent, and logged-in CLIs, so one bad command can travel well beyond the repo.

YOLO mode vs. allowlists and sandboxes

An allowlist is the middle ground: pre-approve routine commands such as tests, linting, and git status, and keep prompts for everything else. A sandbox works on a different axis, limiting what any command can touch whether or not it was approved. YOLO mode is about who decides; a sandbox is about what is possible. The usual advice is to use both together.

Some tools now offer a third option between asking and not asking. Claude Code's auto mode, for example, has a second model review actions in place of you. That reduces interruptions while keeping a check on risky steps, but it is still a judgment call made by a model, so it complements isolation rather than replacing it.

Example

Skipping approvals inside a throwaway environment
# inside a container with no production credentials
git switch -c agent/refactor-auth
claude --dangerously-skip-permissions

Common mistakes

  1. Turning approvals off on your everyday machine, where the agent can reach every credential your shell can.
  2. Running it on a branch with uncommitted work, so there is no clean reset point when something goes wrong.
  3. Assuming a system prompt rule like "never delete files" will hold, when only permissions and isolation actually prevent it.

Frequently asked questions

Is YOLO mode safe?

Not on its own. It is reasonable inside a sandbox or disposable environment without production credentials, and risky on the machine you use every day.

How do I reduce approval prompts without full YOLO mode?

Pre-approve read-only and routine commands with your tool's permission rules, and keep prompts for writes outside the repo, network calls, and anything destructive.

Sources

Know the words. Run the work.