Skip to main content
skill CX Codex

zeroboot-vm-sandbox — Claude Code skill: VM sandboxes for agents

This skill runs agent code inside a real KVM virtual machine through Zeroboot, forking a template in under a millisecond.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill zeroboot-vm-sandbox -a claude-code
Open on GitHub

What zeroboot-vm-sandbox does

The skill tells your agent how to execute untrusted code in an actual VM rather than a container. A Firecracker template boots once and its memory plus CPU state are saved to a snapshot. Every new sandbox then maps that snapshot with mmap(MAP_PRIVATE), and the kernel handles copy-on-write page faults on its own.

You get a Python SDK (zeroboot), a Node package (@zeroboot/sdk) and the POST /v1/exec REST endpoint. The examples cover an agent code-execution loop, running several sandboxes concurrently, and wrapping the call as a tool for an LLM. Memory isolation is hardware-enforced, and each fork carries its own kernel instance.

An API key is required: set ZEROBOOT_API_KEY in the environment instead of hardcoding it. Self-hosting needs a Linux host with /dev/kvm, the Firecracker binary and a Rust 2021 toolchain — without /dev/kvm the build fails, and loading the kvm module is the fix.

What it helps with

  • run model-generated code without touching your own machine
  • spin up a fresh isolated sandbox per agent run
  • execute several code snippets concurrently
  • expose a code-execution tool to an agent over REST or an SDK
  • keep one task's code away from another task's files and memory

Example prompts for the agent

  • run this code in a zeroboot sandbox and show me the output
  • create an isolated VM sandbox and execute this Python script
  • run ten code snippets in parallel through zeroboot

How to install zeroboot-vm-sandbox

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill zeroboot-vm-sandbox -a claude-code

2Manually: put the files in place

~/.claude/skills/zeroboot-vm-sandbox/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/zeroboot-vm-sandbox/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about zeroboot-vm-sandbox

How do I install zeroboot-vm-sandbox in Claude?

Run npx skills add reason-machines/trending-skills --skill zeroboot-vm-sandbox -a claude-code. The skill lands in ~/.claude/skills/zeroboot-vm-sandbox/SKILL.md.

What does zeroboot-vm-sandbox do?

It teaches the agent to run code in a separate KVM VM via Zeroboot. The template is forked with copy-on-write, so a new sandbox appears in a fraction of a millisecond.

What do I need for the skill to work?

A ZEROBOOT_API_KEY environment variable and an installed SDK — pip install zeroboot or npm install @zeroboot/sdk. Self-hosting also needs Linux with /dev/kvm.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set49

edict-multi-agent-orchestration Orchestrates 12 specialized AI agents through an OpenClaw pipeline with quality gates, per-agent model configs, and a React kanban board. CX Codex +1 1,400installs openmaic-classroom A skill that generates interactive lessons: slides, quizzes, simulations and project work come out of a multi-agent pipeline. Useful when you need a course from a topic or document. CX Codex +1 1,400installs cmux-terminal-multiplexer Equips AI agents with CLI commands for terminal split orchestration and headless Chromium browser actions via surface handles. CX Codex +1 1,400installs taiwan-md-knowledge-base A skill for maintaining an open knowledge base about Taiwan built on Astro v5, with Chinese and English articles and a D3.js graph. Useful if you write or translate content for that project. CX Codex +1 1,300installs clui-cc-claude-overlay This skill puts a floating macOS overlay on top of Claude, with tabbed sessions, tool-call approval and voice input. CX Codex +1 1,300installs karpathy-jobs-bls-visualizer This skill scrapes Occupational Outlook Handbook data, scores occupations with an LLM and renders an interactive jobs treemap. CX Codex +1 1,300installs modly-image-to-3d This skill walks your agent through installing Modly, a desktop app that turns a photo into a 3D mesh on your own GPU — no cloud, no API keys. CX Codex +1 1,300installs git-city-3d-github-visualization A skill for building on Git City, a project that turns GitHub profiles into 3D pixel-art buildings with Next.js and Three.js. CX Codex +1 1,300installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor