Claude Code Real YOLO mode
Even the --dangerously-skip-permissions flag on Claude Code does not actually allow dangerous commands like rm -rf ~.
However in some case you might want 100% YOLO mode like in VM or sandbox which does not impact you at all.
In such cases, you can env variable to allow any commands
export CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS=1
claude --permission-mode bypassPermissions
It’s available from Claude Code version v2.1.311+
Reference
- https://code.claude.com/docs/en/permission-modes#turn-off-the-critical-path-removal-prompt-in-bypasspermissions-mode
- https://x.com/The_Whole_Daisy/status/2114796466850202103