sandbox-platform
Installation
SKILL.md
Sandbox Platform
Use the authenticated Sandbox controller for remote execution. Treat agent instructions as workflow guidance; controller policy, AEGIS scheduling, and worker enforcement decide what can run.
Run the lifecycle
- Require
SANDBOX_URLand obtainSANDBOX_TOKENfrom the caller's secret mechanism. Never print the token. - Call
sandbox_healthor runsandbox doctor. Stop and report connection or authentication failures. - Inspect existing sandboxes when reuse is allowed. Otherwise choose a base sandbox or a built-in coding-agent profile.
- Classify repository trust, generated-code execution, secret need, data sensitivity, network need, resources, and TTL before creation.
- Create with
isolation: autounless the caller explicitly requiresmicrovm. Do not weaken a server isolation decision to obtain capacity. - Wait for creation to finish. Execute commands as argv arrays, not interpolated shell strings.
- Inspect operation state, command exit code, stderr, and
truncated. Recover only from the observed failure. - Delete disposable sandboxes and wait for cleanup unless the caller explicitly asks to retain one.
Choose an interface
Prefer MCP when tools are connected. Use the CLI for operator terminals, scripts, or when MCP is unavailable. Keep behavior identical across both interfaces.