myth/acc
Log in
EN

Running without prompts

Is --dangerously-skip-permissions safe? How to run Claude Code without prompts

Skipping prompts is only as safe as the boundary around the process.

Isolation guidance from Anthropic’s docs, checked 26 October 2026.

The short answer

Not on its own. Without prompts, only your isolation boundary protects the system. Anthropic recommends a container, VM or its sandbox runtime. On Linux and macOS, myth/acc adds a filesystem jail and per-turn git snapshots so unattended edits can still be undone. A jail stops accidents, not hostile code.

Where to run a session that never asks

From a light fence to a full VM.

The rowWhat it isolatesIt fits when
Sandboxed Bash tool (/sandbox)

Shell commands and children. File tools, MCP and hooks still run on host.

Everyday work with fewer prompts. Not enough for unattended runs.

Sandbox runtime (srt claude)

The full Claude Code process, including file tools, MCP and hooks (beta preview).

OS-level boundary without Docker.

Dev container or Docker

Full environment; example dev container adds a default-deny firewall.

Unattended work with restricted networking.

Virtual machine

Separate OS and kernel.

Untrusted or hostile code.

myth/acc jail (Linux and macOS)

Read-only filesystem except project, tool state, build caches and added folders.

Your own projects with per-turn undo. Not for hostile code.

Any setup with network access can still leak readable files, and writable projects can still be modified.

What the jail and the undo add

No permission prompts

Jailed agents skip edit/command prompts automatically, except Plan mode where you approve plans.

The jail and undo
Per-turn undo

Snapshots before every turn (requires git, keeps last 20). Edits end with View and Undo, and undo is reversible.

Global deny rules

Block commands (like rm -rf or git push --force) and protect paths (like .env) across all agents in Settings › Permissions.

What the jail does not stop

Outbound logins (GitHub, SSH, cloud CLIs) are enabled by default for pushes and deploys, and the network is open. Snapshots cannot undo a push or API call. On native Windows or Linux without bubblewrap/user namespaces, there is no jail and agents prompt before every action.

Security

A sensible setup

  1. Start from a clean git tree

    Commit first so snapshots and git history stay clean.

  2. Verify jailing is active

    Check Settings › Machines; Accounts shows fixes if unavailable.

  3. Disable unneeded logins

    Toggle off push/deploy logins in Settings › Permissions when a task does not need them.

  4. Block risky commands

    Add them once to the global deny list.

  5. Review diffs

    Click View to inspect and Undo to revert.

Questions, answered

Is --dangerously-skip-permissions safe?

Not by itself. Pair it with a container, VM, sandbox runtime or OS-level jail depending on how much you trust the code.

Does the sandboxed Bash tool make it safe?

Only partly. File tools, MCP servers and hooks still run on the host, so Anthropic advises against it for fully unattended runs.

Does myth/acc skip permission prompts?

Only inside a working jail. Unjailed agents always prompt before edits and commands.

Can the jail stop a malicious repository?

No. It guards against accidents, not hostile code. Use a VM for untrusted repositories.

Sources

Facts on this page were checked on . Products change: check the vendor’s own page before you decide.

See the jail and the undo.

Try the real canvas with live demo agents. No account needed.