Claudebox — Development skill for Claude Code
Run Claude Code CLI in isolated micro-VMs.
How to install Claudebox
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open boxlite-ai/claudebox and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claudebox does
Run Claude Code CLI in isolated micro-VMs.
Alternatives in Development
- E2e Devcontainer — Run E2E tests in a dev container (isolated environment) 1.6k ★
- Hippo Feature — Build one hippo feature from RESEARCH.md using the micro-eval TDD loop 734 ★
- Openshell Deepagent — A general-purpose coding agent that runs inside an NVIDIA OpenShell sandbox, orchestrated by Deep Agents and p 187 ★
README
ClaudeBox [](https://discord.gg/bCmaK4Ce)
Run Claude Code in hardware-isolated micro-VMs with persistent workspaces and a clean Python API.
[](https://github.com/boxlite-labs/claudebox/actions) [](https://pypi.org/project/claudebox/) [](https://opensource.org/licenses/MIT)
Overview
ClaudeBox uses [BoxLite](https://github.com/boxlite-ai/boxlite) to run Claude Code in lightweight local-first sandboxes. It gives you:
- hardware isolation (not containers)
- persistent workspaces under
~/.claudebox/sessions/ - optional skills and templates for common stacks
- security policies and resource limits
- optional RL training hooks (rewards and trajectory export)
If you like the runtime, consider starring BoxLite.
Install
pip install claudebox
Requirements
- Python 3.10+
- BoxLite runtime
- Docker - Used to pull and manage OCI images (the sandbox itself runs as a micro-VM, not a Docker container)
Authentication
export CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-...
or:
export ANTHROPIC_API_KEY=sk-ant-...
Quick start
import asyncio
from claudebox import ClaudeBox
async def main():
async with ClaudeBox() as box:
result = await box.code("Create a hello world Python script")
print(result.response)
asyncio.run(main())
Persistent sessions
from claudebox import ClaudeBox
async def main():
async with ClaudeBox(session_id="my-project") as box:
await box.code("Initialize a Node.js project with Express")
async with ClaudeBox.reconnect("my-project") as box:
await box.code("Add authentication endpoints")
await ClaudeBox.cleanup_session(
Related Skills
Zevbox
Run ACP agents (Claude, Antigravity) for the Zed editor inside Apple Container micro-VMs, behind a filtering A
Agent Manager
macOS menu-bar app + CLI for juggling multiple Claude Code and Codex accounts on one machine — isolated logins
Cadence
Golden-image + PowerShell 7 orchestrator for a fleet of VMware Workstation VMs (host: Windows + Windows Termin
Caveman Micro
6-line caveman micro prompt (85 tokens) that outperformed the original 552-token skill. Benchmark on Claude So
Campaign Builder
Build a complete micro-campaign from ICP segment definition to campaign-ready output files.
Claude Code Keypad
Live Claude Code session status on the keys of a Work Louder Creator Micro 2
Related Agents
Homelab Platform
Home-lab site reliability and platform operations for Linux hosts, VMs, container stacks, networking, storage,
Homelab Engineer
Home-lab site reliability and platform operations for Linux hosts, VMs, container stacks, networking, storage,
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode