Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

dockerот docker★ 663 звезды на GitHub

Об этом скилле

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 overlay landing on a workload
Per composition exactly one zero or more
Owns entrypoint, env, user, workdir, a legacy context profile env, labels, ports and volumes, which merge; an agent mixin can select an explicit context profile
Must have content yes no — may be declaration-only
  • Write a workload when you own
Полный SKILL.md на GitHub

Установить docker-sandboxes-kits в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlassets/v3-mixin-egress.yamlchecks/authenticated-results.mdchecks/runtime-results.mdchecks/verification.mdevals/docker-sandboxes-kits.mdreferences/sbxenv-kit-references.mdreferences/sources.mdreferences/v3-capabilities.mdreferences/v3-publish-and-sign.mdreferences/v3-recipes.mdscripts/audit-layer-owners.pyskill.yaml

FAQ

Что делает скилл 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 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.

Как установить скилл docker-sandboxes-kits?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл docker-sandboxes-kits запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить docker-sandboxes-kits с