The command
claude --dangerously-skip-permissionsWhat changes
The flag starts Claude Code in the bypassPermissions permission mode. Routine permission prompts are skipped, including many operations that would normally stop for confirmation.
What does not become magically safe
Bypass mode should not be treated as a security product. Other Claude Code controls and actions that no mode auto-approves can still matter, but removing the human approval step increases the blast radius of mistakes, prompt injection, credential misuse and destructive commands.
Safer alternatives
For most unattended coding tasks, test Auto Mode first. It was designed to reduce approval fatigue with background safety checks. For higher autonomy, pair a disposable environment with scoped credentials, Git checkpoints and network limits.
Best use cases
- Short-lived containers and disposable VMs.
- Controlled CI jobs with narrow credentials and known inputs.
- Non-production repositories where changes are easy to restore.
When to avoid it
- Production hosts or shells with powerful cloud credentials.
- Repositories with valuable uncommitted work.
- Tasks that can deploy, migrate databases or modify shared infrastructure.
- Untrusted repositories or workflows that consume arbitrary external content.