/docker-skills:docker-docsfrom docker-skills
Answers Docker product questions from official docs, covering Docker Desktop, Engine, Compose, Build, Hub, Scout, Sandboxes, Agentic Platform, and more. Searches docs via MCP tool or web fetch.
Ships in docker-skills. 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.
Read when SKILL.md points to them.
Provide current, cited answers about Docker products from official Docker documentation. Docker ships many products beyond containers, including microVM sandboxes for coding agents, a cloud agent platform, hardened images, model serving, and MCP tooling. Many are new or experimental, and their CLIs change often. Training data is a poor source for them. Search first, fetch the page, and cite it.
Say "Docker Docs" or "the official Docker documentation" in answers, and link
the exact https://docs.docker.com/... page that supports each important
claim.
Activate this skill when:
sbx, cloud sandboxes, DHI, DMR, cagent, Offload, Gordon, or
Docker Home.Do not use this skill when:
docker-project-foundations,
docker-build-strategies, docker-compose-patterns,
docker-sandboxes-lifecycle, docker-sandboxes-network-credentials,
docker-sandboxes-kits, docker-agent-config,
docker-agent-run, docker-agent-deploy, or
docker-destructive-guardrails. Use that skill for the procedure, and use
this one only to check a detail against current docs.Make documentation retrieval your first substantive action. Do it before you answer from memory, read bundled references, inspect local files, or draft a plan.
search_docker_docs
from the docker-docs MCP server. Clients may prefix the tool name with
the server or plugin name. Pass one concise query of 2-8 essential terms
in the message argument.llms.txt and
per-page Markdown from docs.docker.com, as described below.site:docs.docker.com, only when the
first two don't surface a relevant page.A missing search tool is not a setup request. Go straight to the fallback. Don't install, configure, or restart anything to answer an ordinary question. Read mcp-setup.md only when the user explicitly asks to add or troubleshoot the Docker docs MCP server.
sbx policy allow network or
DHI migrate Dockerfile, not full sentences. If results are noisy, narrow
the query. If they're empty, try the product's other name. For example,
search Docker Agent as well as cagent.documents, each with a content excerpt and
metadata.source. Usually source_type is docs with a
docs.docker.com URL. It can also be catalog, which is a
Docker-maintained page such as a DHI image guide on GitHub.metadata.source as Markdown. Don't
cite a page you haven't read.docs.docker.com publishes machine-readable entry points:
https://docs.docker.com/llms.txt is a small Markdown map of the primary
sections, product landing pages, and reference entry points. Fetch it
first to choose a section.https://docs.docker.com/llms-full.txt is a page index of roughly 450 KB.
Each entry has a title, URL:, Markdown: URL, and description. It's an
index, not the page text. Don't load it into context whole. With a shell,
download it to a temporary file and search it. Without a shell, navigate
from llms.txt instead..md to the path
without its trailing slash, or request the canonical URL with
Accept: text/markdown. Check that the response Content-Type is
text/markdown. HTML means the route or header was wrong.DOCS_INDEX="$(mktemp)"
curl -fsS https://docs.docker.com/llms-full.txt -o "$DOCS_INDEX"
grep -i -A3 '^## .*cloud sandbox' "$DOCS_INDEX" | head -40
# Two equivalent ways to fetch https://docs.docker.com/ai/sandboxes/cloud/
curl -fsS https://docs.docker.com/ai/sandboxes/cloud.md
curl -fsS -H 'Accept: text/markdown' https://docs.docker.com/ai/sandboxes/cloud/
rm -f "$DOCS_INDEX"
Links inside Markdown pages are root-relative, like /ai/sandboxes/usage/.
Resolve them against https://docs.docker.com and fetch them as Markdown in
the same way. With a web-fetch tool, request the .md URL directly.
Docker means more than containers. Before you search, identify which product
the user means. Ask if it's ambiguous and changes the answer. A sandbox
question might be about local sbx sandboxes, cloud sandboxes, the Sandboxes
API/SDK, or the Agentic Platform Console. Each has its own docs and different
secret and policy stores. Read product-map.md
when you need a product's aliases or top-level docs section, or when the
user's wording might match more than one product.
docs.docker.com first. Docker-maintained sources
the search tool returns, such as DHI catalog guides, are acceptable. Label
them as such. Use other Docker-owned sites only when Docker Docs links to
them, as with per-language Testcontainers docs.docker-destructive-guardrails describes.docker-project-foundations, docker-build-strategies, and
docker-compose-patterns own containerizing projects, Dockerfiles, and
Compose files.docker-sandboxes-lifecycle, docker-sandboxes-network-credentials, and
docker-sandboxes-kits own sbx workflows. No skill in this catalog owns
sbxenv.yaml environment files beyond their kit references; answer those
from the Docker Docs environment files page.docker-agent-config, docker-agent-run, and docker-agent-deploy own
Docker Agent workflows.docker-destructive-guardrails owns confirmation before destructive Docker
commands.references/product-map.md: Docker products, their aliases, and their
top-level docs sections. Use it to pick the right section to search.references/mcp-setup.md: configure or troubleshoot the Docker docs MCP
server, only when the user asks for that setup.checks/verification.md: manual runbook to confirm the MCP tool and the
llms.txt and Markdown fallback still behave as this skill describes.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub docker/skills --plugin docker-skills11 skills in this plugin
/docker-agent-configUse this skill when creating or editing an agent.yaml (or .yml/.hcl) configuration file for Docker Agent (cagent), including defining agents, models/providers, built-in or MCP toolsets, multi-agent teams with sub_agents. Even if the user just says they want to "build an AI agent with Docker", "make a coding agent config", "add a tool to my agent", or "set up a team of agents", this skill applies. Covers agent properties (model, instruction, toolsets, sub_agents, fallback), the models/providers sections, built-in toolsets (filesystem, shell, think, todo, memory, fetch), MCP toolset references, and named commands./docker-agent-deployUse this skill when exposing a Docker Agent as a server (MCP, HTTP API, A2A, ACP, or OpenAI-compatible chat), distributing an agent via an OCI registry with `docker agent share`, or measuring agent quality with `docker agent eval`. Even if the user just says they want to "turn my agent into an MCP server", "let Claude Desktop use my agent", "publish my agent to Docker Hub", "push my agent like an image", or "test my agent in CI", this skill applies. Covers `serve mcp/api/a2a/acp/chat` listen addresses and auth flags, `share push/pull`, eval session JSON format, scoring metrics, and the `--baseline` regression gate./docker-agent-runUse this skill when running a Docker Agent with `docker agent run`, choosing a safety/approval mode, using the `--sandbox` isolation flag, setting up aliases, or troubleshooting a run (missing credentials, worktrees). Even if the user just says they want to "run my agent", "make my agent auto-approve tool calls", "run this agent safely", or "why can't my agent see my API key", this skill applies. Covers `--safety` (strict/balanced/restricted/autonomous), `--yolo`, `--sandbox` and its network allowlist, `--worktree`, `docker agent alias`, and `docker agent doctor`./docker-build-strategiesUse this skill when writing, reviewing, or optimizing Dockerfiles, even if the user just says their image is too large, their build is slow, or they need to harden a container for production. Covers multi-stage builds, layer caching, .dockerignore, non-root users, and image size optimization./docker-compose-patternsUse this skill when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire services together, add a database to their stack, or set up a local development environment with multiple containers. Covers service definitions, health checks, dependency ordering, volumes, networks, environment variables, and development overrides./docker-destructive-guardrailsUse this skill before running, or recommending, any Docker command that deletes, wipes, resets, or otherwise irreversibly changes state — even if the user just says to "clean up", "clear the cache", "start fresh", "wipe everything", "nuke it", "reset", "force remove", or "tear down" Docker resources. Covers generic Docker CLI destructive operations not owned by a more specific skill — `docker rm`, `docker rm -f`, `docker container prune`, `docker kill`, `docker system prune`, `docker rmi`/`docker image rm`, `docker image prune -a`, `docker network rm`, `docker network prune`, `docker builder prune`, `docker buildx rm`, `docker context rm`, and standalone (non-Compose) `docker volume rm`/`docker volume prune`. Also indexes destructive commands owned by other Docker skills (Compose, sandbox, Desktop). Core rule — state exactly what will be lost and get explicit confirmation first, except narrow, low-friction Tier 1 container cleanup.Other plugins' skills for the same job