Claude Code Nix Sandbox — Development skill for Claude Code
Pure Nix machinery for sandboxed Claude Code sessions with Chromium — bubblewrap, systemd-nspawn, and QEMU VM backends.
How to install Claude Code Nix Sandbox
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jhhuh/claude-code-nix-sandbox and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Nix Sandbox does
Pure Nix machinery for sandboxed Claude Code sessions with Chromium — bubblewrap, systemd-nspawn, and QEMU VM backends.
Alternatives in Development
- Claudes C Compiler — Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM 2.6k ★
- Vibekit — A simple SDK for safely running Codex, Gemini CLI, and Claude Code in a secure sandbox 1.7k ★
- Sandbox Init — You are the {{tentacleId}} tentacle agent — a specialist responsible for the work domain defined in your vault 1.4k ★
README
claude-code-nix-sandbox
**Warning:** This project is under active development and should be considered unstable. Features may be incomplete, broken, or change without notice. If you choose to run it, you do so at your own risk. There are no guarantees of correctness, security, or fitness for any particular purpose.
**[Documentation](https://jhhuh.github.io/claude-code-nix-sandbox/)**
Launch sandboxed [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code) sessions with Chromium using Nix.
Claude Code (from [sadjow/claude-code-nix](https://github.com/sadjow/claude-code-nix)) runs inside an isolated sandbox with filesystem isolation, display forwarding, and a Chromium browser. Three backends available with increasing isolation: [bubblewrap](https://github.com/containers/bubblewrap) (unprivileged), [systemd-nspawn](https://www.freedesktop.org/software/systemd/man/latest/systemd-nspawn.html) (root), and QEMU VM (strongest).
Web Dashboard


Quick Start
Install (both sandboxed and un-sandboxed)
# Install both claude-sandbox and claude-code
nix profile install github:jhhuh/claude-code-nix-sandbox
# Update to latest
nix profile upgrade claude-code-nix-sandbox --refresh
This gives you both `claude-sandbox` (bubblewrap isolation) and `claude` (un-sandboxed) on your PATH, pinned to the same version.
Bubblewrap (unprivileged)
# Run Claude Code in a sandbox
nix run github:jhhuh/claude-code-nix-sandbox#sandbox -- /path/to/project
# Run inside tmux (needed for agent teams)
nix run github:jhhuh/claude-code-nix-sandbox#sandbox -- --tmux /path/to/project
# Drop into a shell inside the sandbox
nix run github:jhhuh/claude-code-nix-sandbox#sandbox -- --shell /path/to/project
systemd-nspawn cont
Related Skills
Leapfrog MCP
Multi-session browser MCP server -- 15 parallel isolated Chromium sessions so multiple Claude Code terminals c
Tty7
A terminal workbench in pure Rust: shells, persistent sessions, SSH, coding agents. GPU-rendered on Zed's gpui
Claude Code Phone Gateway
Keep claude remote-control alive on Windows so the Claude mobile app can start local Claude Code sessions on y
Machinery Diagnostics - Complete Examples
This guide provides step-by-step examples of complete diagnostic workflows using the Machinery Diagnostics MCP
Aisan
Coding agents with everything in the box: zero network, zero credentials. Bubblewrap confinement plus credenti
Install Claude Science
Install and start Claude Science (operon) locally on WSL2 — checks WSL2/Ubuntu, installs the operon binary, up
Related Agents
Tsk - AI Agent Task Manager And Sandbox
by dtormoen - A Rust CLI tool that lets you delegate development tasks to AI agents running in sandboxed Docke
Omhc Tester
Hands-on tester for omhc. Use after a change is implemented (and ideally reviewed) to exercise it for real in