Skip to content
Cloud & Infrastructure
Skill

/docker-sandboxes-kits

Use this skill when authoring, verifying, publishing, or composing a Docker Sandboxes kit, even if the user just says they want to "add a tool to a sandbox agent", "package a CLI or agent as a kit", "publish a kit to a registry", or "give a mixin its own credentials and network

From plugin
skills
64611 skills

Claude Code

$ npx -y skills add docker/skills --skill docker-sandboxes-kits --agent claude-code

SKILL.md

docker-sandboxes-kits.SKILL.md
name: docker-sandboxes-kits
description: >-
  Use this skill when authoring, verifying, publishing, or composing a Docker Sandboxes kit, even if the user just says they want to "add a tool to a sandbox agent", "package a CLI or agent as a kit", "publish a kit to a registry", or "give a mixin its own credentials and network access". Covers the v3 kit descriptor (`# syntax=docker/sandbox-kit:3`, `kind: workload` or `mixin`, typed capabilities, provides/requires, content recipes), building with docker buildx, checking with kit-tck and `sbx kit inspect`, composing onto a workload, referencing and pinning a kit from an `sbxenv.yaml` `agent:`/`kits:` entry, and publishing and signing. Legacy v2 `spec.yaml` kits are not covered; `sbx kit validate` is not a substitute for kit-tck conformance and runtime checks.
license: Apache-2.0
compatibility: Experimental. Needs docker buildx, kit-tck, and an sbx release with Kits v3 support (adapted from docker/sandbox-kit-spec at 4d932451613f8df89c8468e2bb7c5286882897ca; build/conformance tested 2026-11-02; authenticated inspect/validate and composition tested on sbx v0.50.1 with optional agent-context@2; sbxenv.yaml kit-reference rules sourced from sbx v0.51.0 docs, help, and earlier runtime records, not re-run here). Not the legacy docker sandbox wrapper. See references/sources.md.

Docker Sandboxes: Kits (v3 descriptors)

Overview

A **kit** extends a sandbox with a tool, an agent, credentials, or policy. In v3 a kit is one OCI image: its layers are the content, and a manifest annotation carries the **descriptor**, which says what the kit offers, what it needs from the host as typed capability requests, and what it needs from other kits. An engine that does not read the annotation runs it as an ordinary image.

The source is a `<kit>.yaml` whose first line is `# syntax=docker/sandbox-kit:3` with `schemaVersion: "3"`, usually beside a `<kit>.dockerfile` content recipe. The kinds are `workload`, `mixin`, and `set` (a list of other kits). Build and check with `docker buildx build`, `kit-tck validate`, `sbx kit inspect`, and a real `sbx run` composition.

Scope and guardrails:

  • **Legacy v2 `spec.yaml` kits (`schemaVersion: "2"`, `kind: sandbox`) are

not covered here.** This is the skill's routing boundary, not a claim that v2 has been deprecated or removed. This skill neither authors nor debugs them. If the user has one, say so and offer to write the v3 equivalent as a new descriptor (see "Migrating from v2").

  • **`sbx kit validate` is not a conformance check.** The v0.50.1 code supplies

a v3 builder to both normal `validate` and `inspect`. Both need an authenticated daemon; `--offline` deliberately omits the builder and rejects v3 source kits. A normal validate success is therefore allowed, but does not replace `kit-tck` or real runtime composition.

  • Do not carry v2 vocabulary into v3: `name`, `sandbox:`,

`permissions.network`, `credentials:`, `setup.*`, and `--kit-arg` are not v3 fields, and v2 composition rules (additive allow lists, duplicate-service credential failures) are not established for v3.

  • This skill is experimental. The source calls the schema-3 grammar

unfinished and says the Go implementation wins over its docs, so re-check fine details against the spec before relying on them.

  • No minimum `sbx` version for Kits v3 is established by the source, which

says only that current stable releases support it in local and cloud mode. Check the installed `sbx` rather than assuming.

When to use this skill

Activate this skill when:

  • The user wants to create a new kit: package a CLI or agent as a kit, add a

tool, credential, or policy to an existing agent, or add a `-mixin` variant.

  • The user asks what a kit descriptor should contain, whether to write a

workload or a mixin, or which capabilities a kit should request.

  • The user wants to pin a tool version, declare `provides`/`requires`, or

write the content recipe (`<kit>.dockerfile`) for a kit.

  • The user wants to build, check, publish, or sign a kit, or to compose a

built kit onto a workload and test it.

  • The user has an existing v2 `spec.yaml` and wants it converted to v3.
  • The user wants to reference, configure, or pin a kit from an `sbxenv.yaml`

file's `agent:` and `kits:` fields, or asks which file fields a kit's capabilities need (bindings, mounts, ports).

Do not use this skill when

Do not use this skill when:

  • The task is creating, running, or removing the sandbox a kit is composed

into, independent of the kit's own content — use `docker-sandboxes-lifecycle`.

  • The task is what a credential or network rule actually does at runtime

(proxy injection, allow/deny precedence, the policy a sandbox currently has), where a user stores a secret value, or secrets and policy unrelated to any kit — use `docker-sandboxes-network-credentials`.

  • The task is the rest of an `sbxenv.yaml` file — lifecycle hooks, the

approval plan, multi-file merging, user defaults, or the format of its `secrets:`/`registries:` blocks. No skill in this catalog owns those; use `docker-docs` to answer from the current Docker Docs environment files page. This skill owns only the `agent:`/`kits:` references and the fields a kit's capabilities map onto.

  • The task is general Dockerfile or image-build optimization unrelated to a

kit's recipe — use `docker-build-strategies`.

  • The task is to author, validate, or debug a legacy v2 `spec.yaml`. It is out

of scope; offer migration instead.

  • The task is a bulk migration of v2 kits to v3. The source names a

`migrate-kit-to-v3` skill and a field-by-field mapping, but that skill is not part of this catalog and may not be installed; do not route to it unless it is available. See "Migrating from v2" below.

Core guidance

v3: choose workload or mixin first

Everything else follows from the kind.

| | `kind: workload` | `kind: mixin` | |---|---|---| | Layers are | a root filesystem | an o

Read more
@docker
Ships withskills

Docker-authored knowledge skills that improve AI coding agent output for Docker-related tasks. Skills are authored once as portable SKILL.md directories and discovered automatically by any compliant agent through standard skill paths.

Stars on GitHub

Momentum

stars in total
646
Star history of docker/skills on GitHub, a chart by star-history.com

Other skills on skills.

docker-agent-config

docker-agent-config

Use this skill when creating or editing an agent.yaml (or .yml/.hcl) configuration file for Docker Agent (cagent), including…

@docker@dockerInstall Skill
docker-agent-deploy

docker-agent-deploy

Use this skill when exposing a Docker Agent as a server (MCP, HTTP API, A2A, ACP, or OpenAI-compatible chat), distributing an…

@docker@dockerInstall Skill
docker-agent-run

docker-agent-run

Use this skill when running a Docker Agent with `docker agent run`, choosing a safety/approval mode, using the `--sandbox`…

@docker@dockerInstall Skill
docker-build-strategies

docker-build-strategie…

Use this skill when writing, reviewing, or optimizing Dockerfiles, even if the user just says their image is too large, their…

@docker@dockerInstall Skill
docker-compose-patterns

docker-compose-pattern…

Use this skill when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire…

@docker@dockerInstall Skill
docker-destructive-guardrails

docker-destructive-gua…

Use this skill before running, or recommending, any Docker command that deletes, wipes, resets, or otherwise irreversibly changes…

@docker@dockerInstall Skill

More skills from other plugins.

container

container

Use when running, building, or managing Linux containers on macOS, or when a task involves Docker, docker compose, Lima, Colima,…

@apple@appleInstall Skill
agent-advisor

agent-advisor

Entry point for AI-agent work on AWS: pick a runtime, plan a migration for existing workloads, and build an executable POC — one…

@aws@awsInstall Skill
agents-sdk
Auto-invoked

agents-sdk

Build, debug, or review Cloudflare Agents SDK applications using the agents package.

@cloudflare@cloudflareInstall Skill

Questions about docker-sandboxes-kits.

Which coding agents can use docker-sandboxes-kits?
docker-sandboxes-kits installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.