What problem does it solve?
Running agent CLIs like Claude Code, Codex, or OpenCode directly on the host is unsafe and hard to reproduce. This Skill runs harness adapters inside isolated sandboxes (local process, Docker, Daytona, Cloudflare) with declarative workspace provisioning, secret handling, snapshots, and durable run journals so long-running agent runs survive disconnects and host failures.
Core Features & Use Cases
- Declarative sandbox provisioning: Define workspaces with git sources, setup scripts, skills (agentSkill/gitSkill/mcpSkill/fileSkill), plugins, secrets, and instructions projected per harness (AGENTS.md, .mcp.json, config.toml).
- Snapshots and lifecycle: Automatic snapshot-after-setup with TTL, portable snapshots via withPersistence, named saves, checkpoint forks, and authorized artifact reads.
- Durable runs and takeover: NDJSON run journals, replay alignment with chunkFingerprint, single-writer fencing, and sandboxRunDriver for detached runs that survive host death.
- Use Case: A coding agent runs Claude Code inside a Docker container cloned from a GitHub repo; when the user's browser tab closes, a new host takes over the run by replaying the journal and resumes streaming events to the client.
Quick Start
Use the ai-sandbox skill to run Claude Code inside a Docker sandbox with a git workspace, setup steps, and snapshot-after-setup enabled.