/agentbox:abx-sandbox-dockerfrom agentbox
Runs Docker inside an AgentBox sandbox for building images, using docker compose, and accessing an internal registry. Useful when workloads need a container runtime or Docker-in-Docker isolation.
Ships in agentbox. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A sandbox can run docker and docker compose. It is not on by default: the
template decides it, because a container runtime changes the Pod spec — a
dockerd, a data directory on node disk, and either a microVM or a privileged
container around it.
| Runtime | Isolation | Use it |
|---|---|---|
| kata (Firecracker microVM) | dockerd runs inside a guest VM; privileged applies to the guest | This one. Full functionality, compose included. |
| runc + privileged | dockerd shares the host kernel and holds every host capability | Only where the cluster has no kata runtime. |
Say the second one's consequence plainly whenever you recommend it: escape means the host. It is not "slightly less isolated", and a user choosing it should be choosing it knowingly.
Rootless dind is not the middle ground people expect — it has been measured on these clusters and does not work under runc. The way to avoid dangerous privilege is kata, where the privilege is confined to a microVM, not a rootless daemon.
abx templates # which templates exist here
abx templates <name> # what it carries
Look for a template whose description names dind or kata. If there is none, the answer is that this deployment has not published one — not that you should hand the user a template to install, which is an admin action.
Nothing special. It is the same E2B create; the template is what differs. The
call's fields are the SDK's, not this CLI's — read them off the E2B spec in the
image or the installed SDK, the way abx-common describes. What matters here
is one number:
sbx = Sandbox.create("<env-name>", …) # with a longer timeout than a plain sandbox
print(sbx.commands.run("docker version").stdout)
sbx.commands.run("docker compose up -d", cwd="/home/user/project")
The endpoint this factory talks to is the env's: abx envs <env> docs prints it
for the cluster the env lives on — the E2B API URL, the data-plane domain and
the scheme. Take the public entry from that document unless you are already
inside the cluster.
Give it a longer timeout than you would a plain sandbox: dockerd starts in the
background while envd comes up in front, and the first docker call can arrive
before the daemon is listening. A short retry around the first command is
ordinary, not a symptom.
Public images may not be reachable — many deployments are on internal networks. Two things to check before concluding the image is broken:
docker.io/... onto;docker
pulls from inside it — inside, docker login is the user's to run.docker is not foundThe env is on a template without it. Check which:
abx envs <env> --json | jq '.spec.templateRef'
abx templates
Moving an env to another template is a template change, not a sandbox one, and it rolls the pool.
abx-sandbox-network — letting the sandbox reach a registry while the agent
inside it cannot reach the internetabx-resource-capacity — a dind sandbox is a bigger sandbox; size for itabx-common — endpoint, key, cluster, approvalWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub scitix/agent-sandbox --plugin agentbox9 skills in this plugin
/abx-commonHow to reach an AgentBox platform with `abx` — endpoint and key, choosing a cluster, machine-readable output, and what happens to a write that needs someone's approval. Use when any abx command fails on authentication, addresses the wrong cluster, or comes back asking for approval. Every other abx skill defers here for those four things./abx-harbor-frameworkRun Harbor benchmarks (Terminal-Bench, SWE-bench, custom datasets) on AgentBox pre-warmed pools via the agent-sandbox-harbor environment plugin. Use when asked to evaluate an agent, run a benchmark suite, reproduce a leaderboard number, or work out why benchmark tasks are being rejected or timing out. Pool sizing lives in abx-resource-capacity; endpoint and key in abx-common./abx-managed-agentGive your own agent a sandbox for its file and shell tools — the AgentBox hands bindings for Claude Agent SDK, OpenCode and generic MCP, plus the platform side that has to exist first. Use when asked to connect sandboxes to an existing agent or harness, to make an agent's work durable across restarts, or to integrate AgentBox into a product. Pool sizing lives in abx-resource-capacity./abx-observeWork out why an AgentBox sandbox, pool or environment is failing or slow — events, pool status, sandbox logs, and the E2B-native metrics endpoints. Use when a sandbox will not start, a pool sits below target, commands inside a sandbox fail, or someone asks how much CPU and memory sandboxes are using. Authentication and cluster selection live in abx-common./abx-reinforcement-learningSet up and run RL rollouts on AgentBox — choosing a template, sizing a warm pool for the concurrency a trainer needs, and driving the sandboxes with the E2B SDK. Use when asked to run rollouts, collect trajectories, scale an environment for RL training, or work out why a rollout loop is stalling on sandbox creation. Pool mechanics live in abx-resource-capacity; benchmarks in abx-harbor-framework./abx-resource-capacitySize AgentBox warm pools, configure autoscaling groups, read quota, and recover when a pool will not grow. Use when sandboxes queue or fail to start, when a pool sits below its target, when scaling is too slow or runs away, or when you need N concurrent sandboxes and must work out whether the capacity exists. Authentication and cluster selection live in abx-common.Other plugins' skills for the same job