Claude Code's --dangerously-skip-permissions flag lets agents run autonomously without interruption, but Anthropic warns you to only use it inside a sandboxed environment.
dangerously spins up an isolated Docker container, mounts your current project directory, and launches Claude Code inside it. This ensures file system changes are contained to your project.
One command to install, run it from any project folder: npm install -g dangerously dangerously