Skip to content

Instantly share code, notes, and snippets.

View itsjustcon's full-sized avatar

Connor itsjustcon

  • Shopify
  • Atlanta, GA
  • 04:13 (UTC -04:00)
View GitHub Profile

claude-safe

Run Claude Code with --dangerously-skip-permissions — safely — by isolating it inside a Docker container.

Claude Code's --dangerously-skip-permissions flag is powerful: it lets Claude run commands, edit files, and install packages without asking. But on your bare metal machine, that's a lot of trust. claude-safe gives you the best of both worlds: full autonomy for Claude, full isolation for you.

What it does

  • Builds a Docker image with Node.js 22, git, Python 3, build-essential, and other common dev tools
  • Mounts your project directory into the container (read-write)