textcortex

Claude Code Sandbox — DevOps skill for Claude Code

DevOps community intermediate

Run Claude Code safely in local Docker containers without having to approve every permission.

How to install Claude Code Sandbox

This entry records only its repository, not the path inside it, so there is no exact command to give. Open textcortex/claude-code-sandbox and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Sandbox does

[!WARNING] > > This was an early PoC and is now archived. Follow [Spritz](https://github.com/textcortex/spritz) for the continuation of this vision

Alternatives in DevOps

  • Claudable — Claudable is an open-source web builder that leverages local CLI agents, such as Claude Code, Codex, Gemini CL 4k ★
  • Claude Code Containers — Use Claude Code on Cloudflare to solve GitHub issues 234 ★
  • Ijfw — IJFW — It Just Fcking Works 209 ★

README

Claude Code Sandbox

[!WARNING]

This was an early PoC and is now archived. Follow [Spritz](https://github.com/textcortex/spritz) for the continuation of this vision

Run Claude Code as an autonomous agent inside Docker containers with automatic GitHub integration. Bypass all permissions safely.

Why Claude Code Sandbox?

The primary goal of Claude Code Sandbox is to enable **full async agentic workflows** by allowing Claude Code to execute without permission prompts. By running Claude in an isolated Docker container with the `--dangerously-skip-permissions` flag, Claude can:

  • Execute any command instantly without asking for permission
  • Make code changes autonomously
  • Run build tools, tests, and development servers
  • Create commits and manage git operations
  • Work continuously without interrupting the user

Access Claude through a **browser-based terminal** that lets you monitor and interact with the AI assistant while you work on other tasks. This creates a truly autonomous development assistant, similar to [OpenAI Codex](https://chatgpt.com/codex) or [Google Jules](https://jules.dev), but running locally on your machine with full control.

Overview

Claude Code Sandbox allows you to run Claude Code in isolated Docker containers, providing a safe environment for AI-assisted development. It automatically:

  • Creates a new git branch for each session
  • Monitors for commits made by Claude
  • Provides interactive review of changes
  • Handles credential forwarding securely
  • Enables push/PR creation workflows
  • Runs custom setup commands for environment initialization

Installation

Install Claude Code Sandbox globally from npm:

npm install -g @textcortex/claude-code-sandbox

Prerequisites

  • Node.js >= 18.0.0
  • Docker or Podman
  • Git
  • Claude Code (npm install -g @anthropic-ai/claude-code@latest)

Usage

Quick Start

Simply run in any git repository:

claude-sandbox

This will:

...