sandbox-runbook
An independent community project. It is not made, endorsed or supported by Docker. "Docker" and "Docker Sandboxes" are Docker,
Inc.'s names, used here only to say what this skill works with.
An agent skill for Docker Sandboxes (sbx). It is a runbook a coding agent follows:
pick a scenario, run its steps, check the result. Scripts do what can be scripted, and every recommendation carries its
evidence state and the sbx version it was seen on.
The sbx CLI adapter is the first and only adapter proven here. This is an independent community project, not made or endorsed by Docker.
It exists for two jobs. Moving test time off a laptop, so the interactive loop stays fast. And running code you cannot vouch
for, such as a contributor's pull request, with limits enforced in code rather than in prose, apart from the GitHub setup that
the CI recipe asks for, which no code here can check.
The testing fleet is measured: it has run end to end on real boxes, three times per scenario. The trust layer is beta: it
held every stranger and fork attack in code and on fakes, and it has never run on GitHub.
Verified snapshot: the CLI snapshot is sbx 0.51.0. sbx_fleet.py has run end to end against real cloud boxes on 0.51.0, once per
scenario, from a Windows 11 host (gates 4 to 9, 2026-11-05), and then for a first real user on a target project: 13 boxes, 21,859
tests in the main gate, $0.34 by ledger. Gates 4 to 9 ran a second and a third time on 2026-11-06, the third on the round 6 tree,
and a speed run on a target project used 9 boxes, $0.17 by ledger. The code has changed since, and those changes are
tested against a fake built from the real CLI's help, not on a box. Everything else is tested against that fake too. See
what has been verified. How the findings came about, wrong turns included, is in
the history.
Quick start
git clone https://github.com/ffroliva/skills.git
python skills/sandbox-runbook/scripts/sbx_onboard.py <target-project>
# review docs/sbx.md in the target project, then
python skills/sandbox-runbook/scripts/sbx_check.py <target-project>
Python 3.12 or later, standard library only. A box's archive is read by the skill's own code, which writes regular files only and
refuses a link, a device, an absolute path or .., so it does not rest on tarfile's filter or on a patch release. Tested on
3.12.11, 3.13.3, 3.13.7 and 3.14.7 on Windows, and the archive reader also on 3.13.1 and 3.12.3 on Linux. sbx_fleet.py creates
billable boxes. Nothing else here does.
Install
One copy of the skill, skills/sandbox-runbook, with a thin manifest per harness.
| Harness | Install | Update |
|---|
| Claude Code | /plugin marketplace add ffroliva/skills, then /plugin install ffroliva-skills@ffroliva | /plugin marketplace update |
| Codex | codex plugin marketplace add ffroliva/skills, then codex plugin add ffroliva-skills@ffroliva | codex plugin marketplace upgrade |
| Antigravity | agy plugin install https://github.com/ffroliva/skills | the same command |
| Gemini CLI | gemini extensions install https://github.com/ffroliva/skills | gemini extensions update sandbox-runbook |
| Any other | npx skills add ffroliva/skills | npx skills update |
Local installs copy ignored folders too; use a Git install for a clean plugin cache.
Nothing above has been run from the pushed repository yet. The manifests pass claude plugin validate and agy plugin validate;
Codex has no validator, and its manifest copies the shape of plugins installed on one machine. Gemini CLI and npx skills come from
other projects' docs, and were not run. The Codex marketplace here is this repository, not a curated list. An Antigravity install
clones the whole repository.
Installed, the scripts live in the harness's own directory, not in your clone: the skill tells the agent to run them from the folder of
the SKILL.md it loaded. On Windows call python, never rely on a shebang. Releases are tagged vX.Y.Z, with notes in
CHANGELOG.md; no tag exists yet.
Onboarding a target project
sbx_onboard.py inspects the project and writes two files into it: docs/sbx.md, the adoption file, and
docs/sbx-recipe.md, the stack's recipe, filled with the project's name. The adoption file holds which use cases apply and why,
and one sbx-config block that every script reads. target_project in that block names the project in commands and box names.
For a project that must stay untouched, --config <path> writes both elsewhere, and sbx_check.py and sbx_fleet.py read that file
with their own --config. A pull request's trust check still needs the file in a clone of the project.