1. Symvibe
  2. Guides
  3. Dangerously skip permissions

Dangerously skip permissions: Claude Code and 33 more CLIs

--dangerously-skip-permissions lets Claude Code act without asking. Below: what it turns off and what still stops it, the safer modes most people want instead, the Codex version, and the switch in each of the 34 agent CLIs in our catalog, all checked against the official docs and help screens on 28 October 2026.

The short answer

--dangerously-skip-permissions starts Claude Code in bypassPermissions mode: it edits files, runs shell commands and uses the network without asking you first. You give it when the session starts, and Anthropic recommends it only for containers or virtual machines without internet access.

claude --dangerously-skip-permissions
# the same mode, by name
claude --permission-mode bypassPermissions
# one task without prompts, then exit
claude -p "fix the failing tests" \
  --dangerously-skip-permissions

Most coding agents have a switch like it under another name: --yolo in Codex, --approval-mode yolo in Gemini CLI, --force in Cursor, --auto in OpenCode. The table below has the one for each of the 34 CLIs in our catalog.

What it turns off, and what still asks

In bypassPermissions mode tool calls run at once, without a prompt or a safety check. That includes writes to the places Claude Code normally guards, such as the .git, .vscode and .husky folders and files like .zshrc, .gitconfig and .mcp.json.

A few things still stop it:

  • Deny rules block in every mode. Allow rules do nothing here, since everything is already allowed.
  • Ask rules you wrote, and tools your organization set to ask, still prompt.
  • Deletes on critical paths: rm and rmdir commands Claude Code recognizes as dangerous still prompt, unless you turn that prompt off too.
  • Questions for you: when Claude asks you something, or an MCP tool needs your input, it still waits.

And three rules come with it:

  • Not as root. On macOS and Linux it refuses to start as root or under sudo, with the message --dangerously-skip-permissions cannot be used with root/sudo privileges for security reasons. Inside a sandbox it recognizes, that check is skipped.
  • Only from the start. A session started without it cannot switch into it. Start with --allow-dangerously-skip-permissions to add the mode to the Shift+Tab cycle without turning it on.
  • A warning the first time. The first interactive session in this mode asks you to accept responsibility. Accepting saves "skipDangerousModePermissionPrompt": true in ~/.claude/settings.json; declining exits.
What it does not protect you from

The docs say it plainly: this mode offers no protection against prompt injection or unintended actions. A README, an issue or a web page the agent reads can tell it to run a command, and nothing stands in the way.

Safer ways to get fewer prompts

Most people reach for the flag because they are tired of approving the same things. Claude Code has gentler answers to that:

Mode or settingWhat runs without askingGood for
autoEverything, after a separate classifier checks each actionLong tasks you trust the direction of. Since 2.1.283, interactive sessions start in it when the model supports it.
acceptEditsReads, file edits and common file commands such as mkdir and mvCode you review as it changes
planReads, plus commands the classifier approves when auto mode is availableExploring a codebase before changing it
dontAskOnly what you approved in advance; anything that would prompt is deniedCI and scripts that must never wait
Allow rulesThe commands you list, such as "Bash(npm run test *)"The prompt you answer the same way every day

Shift+Tab cycles the modes inside a session. To start in one by default, put it in ~/.claude/settings.json:

{
  "permissions": {
    "defaultMode": "acceptEdits",
    "allow": ["Bash(npm run test *)"]
  }
}

"defaultMode": "bypassPermissions" works in that file too, but not in a project's .claude/settings.json or settings.local.json, so a repository cannot turn your prompts off for you. Whatever the mode, /sandbox runs shell commands inside a macOS Seatbelt sandbox that limits what they can reach.

Codex: --yolo and the sandbox

Codex splits what Claude Code's flag turns off in one go into two settings: the approval policy, which decides when it stops to ask, and the sandbox, which limits what a command can touch.

FlagEffect
--dangerously-bypass-approvals-and-sandbox, alias --yoloNo approvals and no sandbox. OpenAI's docs: only inside an externally hardened environment.
-a neverNever asks, but commands stay inside the sandbox you chose with -s.
-s danger-full-accessNo sandbox, while -a still decides when to ask.
--approve-for-me, alias --not-so-yoloAn automatic reviewer answers the approval requests, inside the workspace-write sandbox. The nearest thing to Claude Code's auto mode.

--full-auto is gone: Codex 0.165.0 stops with an error when it sees it, and --approve-for-me is the nearest replacement. How the two agents approach safety in general is in Codex vs Claude Code.

The switch in every agent CLI

The same idea goes by many names. Each row was checked against the CLI's own help or its official docs on 28 October 2026; these flags get renamed often, so run the CLI with --help before you script one.

AgentCommandSkip approvals withNotes
Claude Codeclaude--dangerously-skip-permissions, or --permission-mode bypassPermissionsDeny rules, ask rules and dangerous deletes still stop it. Refuses to run as root.
Codexcodex--dangerously-bypass-approvals-and-sandbox, alias --yoloTurns off the sandbox as well; -a never skips only the approvals.
Gemini CLIgemini--approval-mode yoloApproves every tool. -y and --yolo still work but are deprecated.
Grokgrok--always-approve, alias --yoloIn xAI's Grok Build, which also takes --permission-mode bypassPermissions; deny rules and hooks still apply. The community grok-cli has no such switch.
OpenCodeopencode--autoApproves whatever is not explicitly denied, in the TUI and in opencode run.
Antigravityagy--dangerously-skip-permissionsApproves every tool request. A gentler --mode auto is in preview.
Aideraider--yes-alwaysSays yes to every confirmation except running shell commands, which it declines.
AmpampNothing to addHas run tools without asking by default since May 2026; its settings can bring the prompts back.
Anteante--yolo, or --permission-mode yoloSkips approval prompts and permission rules.
AuggieauggieNoneAllows tools one at a time with --permission <tool>:allow.
Autohandautohand--unrestrictedRuns without approval prompts; plans still wait for your OK.
Clinecline--auto-approve trueAlready the default. -y or --yolo runs one headless turn and exits.
CodebuffcodebuffNone--trust-agents only loads the repository's agents and MCP config without asking.
Command Codecommand-code--yoloSame as --permission-mode yolo. Deny rules, ask rules and a guard on deleting root or home still apply.
Continuecn--autoAllows every tool. Headless runs use --allow "*", quoted so the shell leaves the star alone.
Crushcrush-y, --yoloAccepts every permission. crush run approves on its own.
Cursoragent-f, --force, alias --yoloRuns commands unless explicitly denied. Older installs call the CLI cursor-agent.
Devindevin--permission-mode dangerous, or bypass or yoloYour organization's deny and ask rules still apply.
Droiddroid--auto highEdits and commands up to high risk; ask rules and safety checks still prompt. --skip-permissions-unsafe skips everything in droid exec.
GitHub Copilotcopilot--yolo, same as --allow-allAllows every tool, path and URL; deny rules still apply.
GoosegooseGOOSE_MODE=auto, an environment variableAlready the default.
Hermes Agenthermes--yolo, or HERMES_YOLO_MODE=1Skips the dangerous-command prompts; its hard blocklist still applies.
Kilo Codekilo--autoApproves everything not explicitly denied, in the TUI and in kilo run.
Kimi Codekimi--autoNever asks. --yolo now still asks about sensitive files and dangerous commands. Neither works with -p.
Kirokiro-cli chat--trust-all-toolsTrusts every tool once you acknowledge a warning.
MiMo Codemimo--dangerously-skip-permissions, alias --yoloYour deny and ask rules still apply; asks you to accept once.
Mistral Vibevibe--agent auto-approve, or --auto-approveApproves every tool, shell included. --yolo is the same switch.
OpenClaudeopenclaude--dangerously-skip-permissions, alias --yoloSame as --permission-mode bypassPermissions.
OpenClawopenclawNone on the command lineSet as a policy instead, with openclaw exec-policy preset yolo.
PipiNothing to addDoes not ask before tool calls; -a only skips the project-trust prompt.
Prime Agentprime-agentNoneIts docs describe no approval prompts to skip.
Qwen Codeqwen--approval-mode yolo, or -y, --yoloApproves every tool. Use one form, not both.
Rovo Devacli rovodev run--yoloCovers file operations and shell commands.
Traetraecli-y, --yoloSame as --dangerously-bypass-approvals-and-sandbox: no confirmations and no sandbox.

Where to use it

  • In a container or a virtual machine that holds nothing you would miss, ideally without internet access, as Anthropic recommends. Its dev container setup runs Claude Code as a non-root user, so the root check passes.
  • On code you have read. Prompt injection works through anything the agent reads, including the repository itself.
  • From a clean git state. Commit before you start and read git diff after, so every change is easy to review or undo.

A git worktree is not a sandbox. It keeps an agent's edits off your main checkout, which is why it helps when several agents work at once, but the agent can still reach everything your user account can: other folders, your keys, the network.

One switch for all of them in Symvibe

Symvibe, which we make, runs these CLIs as they ship, in real terminals on one board. Its setting Yolo: skip permission prompts, in Settings › Agents and offered at first launch, starts each console with that agent's own switch. It is off by default.

  • It reaches 25 of the 34 agents in the catalog. The others, and commands you added yourself, start as they normally do.
  • Consoles running with it carry a YOLO badge, so you can see which agents act without asking.
  • It applies when a console starts; restart a console after you change it.
  • The studios never add it to the sessions they run in the background.

The exact flag it passes to each agent is listed in Supported agents.

Questions people ask

Is --dangerously-skip-permissions safe?

Only where a mistake costs nothing: a container or virtual machine without your credentials or anything else you would miss. On your own Mac, auto mode or acceptEdits with a few allow rules removes most prompts with far less risk.

Why does it say it cannot be used with root or sudo?

Claude Code refuses this mode when it runs as root or under sudo on macOS and Linux, because an agent with no prompts and root rights can change anything on the machine. Run it as a normal user, or inside a sandbox it recognizes, where the check is skipped.

Can I turn it on in the middle of a session?

No. Start the session with --dangerously-skip-permissions or --permission-mode bypassPermissions, or with --allow-dangerously-skip-permissions to keep it in the Shift+Tab cycle and switch to it later.

What is the Codex version of --dangerously-skip-permissions?

--dangerously-bypass-approvals-and-sandbox, which also answers to --yolo. It turns off approvals and the sandbox together; -a never turns off only the approvals.

How do I stop the warning at startup?

Accept it once. Claude Code then saves skipDangerousModePermissionPrompt as true in ~/.claude/settings.json; remove the key, or set it to false, to see the warning again.

Can my company turn it off?

Yes. Administrators set permissions.disableBypassPermissionsMode to "disable" in managed settings, and sessions started with --restricted refuse the mode as well.

Every agent on one board

Symvibe runs the real CLIs in real terminals on one canvas, and one setting gives each agent its own skip switch, with a badge on the consoles that have it. Your login, your plan, your Mac.

macOS 14 or later · Apple Silicon · USD 19 a month or USD 190 a year