docker-agent-config
Use this skill when creating or editing an agent.yaml (or .yml/.hcl) configuration file for Docker Agent (cagent), including…
Use this skill to answer questions about any Docker product from current official Docker documentation instead of memory, even if the user just asks "how do I…", "does Docker support…", "what's the flag for…", or "is this still the right way" about Docker. Covers Docker Desktop,
$ npx -y skills add docker/skills --skill docker-docs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/docker-docsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill to answer questions about any Docker product from current official Docker documentation instead of memory, even if the user just asks "how do I…", "does Docker support…", "what's the flag for…", or "is this still the right way" about Docker. Covers Docker Desktop,
name: docker-docs description: Use this skill to answer questions about any Docker product from current official Docker documentation instead of memory, even if the user just asks "how do I…", "does Docker support…", "what's the flag for…", or "is this still the right way" about Docker. Covers Docker Desktop, Engine, Build/Buildx/Build Cloud, Compose, Hub, Scout, Docker Hardened Images (DHI), Offload, Testcontainers, Docker Sandboxes (`sbx`, local and cloud sandboxes, Sandboxes API/SDK), Docker Agentic Platform, Docker Agent, MCP Catalog/Toolkit/Gateway, Model Runner, Gordon, and account, admin, security, and billing docs. Searches with the `search_docker_docs` MCP tool when available and otherwise falls back to `docs.docker.com/llms.txt` and per-page Markdown. license: Apache-2.0 compatibility: Prefers the Docker docs MCP server at https://ai-backend-service.docker.com/mcp (tool `search_docker_docs`). The fallback needs a web-fetch tool or shell with curl and HTTPS access to docs.docker.com. Verified against docs.docker.com on 2026-10-14.
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:
file field to use, or whether a capability exists.
or experimental features, defaults, platform support, limits, pricing, plan entitlements, or deprecations.
such as `sbx`, cloud sandboxes, DHI, DMR, `cagent`, Offload, Gordon, or Docker Home.
citation or "the docs page for" something.
Do not use this skill when:
such as fixing application code that happens to run in a container. Answer that directly.
`docker-build-strategies`, `docker-compose-patterns`, `docker-sandboxes-lifecycle`, `docker-sandboxes-network-credentials`, `docker-sandboxes-env`, `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.
PostgreSQL configuration or Kubernetes manifests. Use that project's own documentation.
Make documentation retrieval your first substantive action. Do it before you answer from memory, read bundled references, inspect local files, or draft a plan.
1. **Docs search tool, when callable.** If the session already exposes a Docker docs search tool, use it first. The tool is `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. 2. **Fallback, when no search tool is callable.** Use `llms.txt` and per-page Markdown from `docs.docker.com`, as described below. 3. **General web search** limited to `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](references/mcp-setup.md) only when the user explicitly asks to add or troubleshoot the Docker docs MCP server.
names. Don't swap in a newer or similar product.
`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`.
`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.
caveats matter, fetch the full page at `metadata.source` as Markdown. Don't cite a page you haven't read.
terms or open the section landing page. Stop after a few focused attempts and report what the docs do and don't establish.
docs.docker.com publishes machine-readable entry points:
sections, product landing pages, and reference entry points. Fetch it first to choose a section.
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.
without its trailing slash,
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.
Use this skill when creating or editing an agent.yaml (or .yml/.hcl) configuration file for Docker Agent (cagent), including…
Use this skill when exposing a Docker Agent as a server (MCP, HTTP API, A2A, ACP, or OpenAI-compatible chat), distributing an…
Use this skill when running a Docker Agent with `docker agent run`, choosing a safety/approval mode, using the `--sandbox`…
Use this skill when writing, reviewing, or optimizing Dockerfiles, even if the user just says their image is too large, their…
Use this skill when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire…
Use this skill before running, or recommending, any Docker command that deletes, wipes, resets, or otherwise irreversibly changes…