By kdercksen
Run Claude Code in isolated Docker containers — delegate GitHub issues, PRs, or freeform tasks to sandboxed autonomous agents
Run Claude Code in isolated, network-hardened Docker containers. Delegate GitHub issues, PRs, or freeform tasks — safely.
gh pr create happen inside the sandbox./plugin marketplace add KDercksen/claude-sandbox and you're done. Also works standalone./plugin marketplace add KDercksen/claude-sandbox
git clone https://github.com/KDercksen/claude-sandbox.git
cd claude-sandbox
./claude-sandbox build
Requires Docker, Claude Code, and gh CLI — see Prerequisites below.
./claude-sandbox run --repo owner/repo --issue 42 --create-pr
Replace owner/repo with your target repository.
The CLI fetches issue/PR context, builds a prompt, and spawns an isolated Docker container. Inside, the firewall locks down network access, the repo is cloned, and Claude works autonomously. When done, it commits, pushes, and optionally opens a PR.
run --issue 42 -> build prompt -> spawn container -> firewall init -> clone repo -> Claude works -> commit & push -> create PR
See Architecture for the full picture.
| Command | Description |
|---|---|
run | Launch sandbox containers (supports --issue and --pr flags) |
build | Build or rebuild the Docker image |
Post-launch container management uses docker directly. See skills/delegate/SKILL.md for the full reference.
# Monitor progress
docker exec <container> cat /workspace/.claude-progress
# Shell into the container
docker exec -it <container> bash
# Clean up
docker stop <container> && docker rm <container>
Config lives at ~/.claude-sandbox/config.json. Key options:
| Option | Description |
|---|---|
image | Docker image to use |
defaultBranchPrefix | Prefix for auto-generated branch names |
githubPat | GitHub personal access token (falls back to gh auth token) |
allowedDomains | Additional domains to allowlist in the firewall |
See Configuration for full reference.
curl -fsSL https://claude.ai/install.sh | bash)gh CLI (for issue/PR context fetching)MIT
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub kdercksen/claude-sandbox --plugin claude-sandboxTeaches Claude core tsk commands for delegating development tasks to AI agents in sandboxed containers.
Complete developer toolkit for Claude Code
Autonomous AI development pipeline that uses GitHub as a structured knowledge graph for Claude Code agents. Adds /work-on, /review-pr, /quality-gate, /orchestrate, and 20+ pipeline commands.
Use this agent when setting up CI/CD pipelines, configuring Docker containers, deploying applications to cloud platforms, setting up Kubernetes clusters, implementing infrastructure as code, or automating deployment workflows. Examples: <example>Context: User is setting up a new project and needs deployment automation. user: "I've built a FastAPI application and need to deploy it to production with proper CI/CD" assistant: "I'll use the deployment-engineer agent to set up a complete deployment pipeline with Docker, GitHub Actions, and production-ready configurations."</example> <example>Context: User mentions containerization or deployment issues. user: "Our deployment process is manual and error-prone. We need to automate it." assistant: "Let me use the deployment-engineer agent to design an automated CI/CD pipeline that eliminates manual steps and ensures reliable deployments."</example>
Commands for CI/CD setup, containerization, and deployment automation
Analyzes and fixes GitHub issues using a structured approach with GitHub CLI for issue details, implementing necessary code changes, running tests, and creating proper commit messages.