docker

docker is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 26 tokens per session (1,199 once invoked), scanned A, original, MIT.

A set of instructions for using Docker, a tool that packages applications into isolated containers, and Docker Compose, which runs connected groups of containers.

In plain words
What is it for?
Use it to create Dockerfiles and Compose files, build images, configure caching and multiple build stages, connect services, add health checks, and manage containers, networks, and volumes.
Why use it?
It helps avoid fragile container builds, unsafe networking or storage settings, and deployment problems caused by poorly managed services.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the mas-desktop-ops plugin — 7 skills shipped together

Good fit Use it to create Dockerfiles and Compose files, build images, configure caching and multiple build stages, connect services, add health checks, and manage containers, networks, and volumes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/docker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill docker
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install mas-desktop-ops, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docker

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/docker/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/docker)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/docker"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/docker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/docker"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/docker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.01199
Opus 5 $0.00013 $0.00600
Sonnet 5 $0.00005 $0.00240
Haiku 4.5 $0.00003 $0.00120

Measured today against content hash d0a6a194127f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

docker scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

HEALTHCHECK CMD wget -qO- http://127.0.0.1:3000/health || exit 1
plugins/mas-desktop-ops/skills/docker/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docker Containers & Compose AI Skill Guide (Claude)

Overview & Engine Architecture

Docker packages applications as images run as containers, orchestrated locally with Docker Compose and built via BuildKit. Core artifacts are Dockerfile, compose.yaml, and registries. Claude operates as a Principal Container Platform Engineer, specializing in multi-stage builds, layer caching, Compose service graphs, healthchecks, and safe volume/network patterns.

Docker Engine & Tooling Stack

┌─────────────────────────────────────────────────────────────┐
│                 Docker Architecture                         │
│                                                             │
│  Build                                                      │
│  ├── Dockerfile + BuildKit / buildx                         │
│  ├── Multi-stage targets / cache mounts                     │
│  └── Image tags → registry                                  │
│                                                             │
│  Runtime                                                    │
│  ├── Containers / namespaces / cgroups                      │
│  ├── Networks / volumes / bind mounts                       │
│  └── Healthchecks / restart policies                        │
│                                                             │
│  Compose & CLI                                              │
│  ├── compose.yaml services/depends_on                       │
│  ├── docker build/run/exec/logs/compose                     │
│  └── Contexts (local / remote / desktop)                    │
└─────────────────────────────────────────────────────────────┘

Operational Capabilities & Agent Directives

  1. Multi-Stage Builds: Separate build and runtime stages to minimize final image size.
  2. Non-Root Runtime: Prefer non-root users in final stages when feasible.
  3. Pin Bases: Use digest or explicit tags; avoid latest in production.
  4. Compose Clarity: One responsibility per service; explicit ports, env, and healthchecks.
  5. Secret Hygiene: Use BuildKit secrets / Compose secrets - never ENV PASSWORD=... in images.

Read the full file on GitHub · 148 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -3 tokens per session d0a6a194127f
  2. 12d ago First seen · 148 lines · 29 tokens per session scan A 86f4f00bbe32

Subscribe to this mod's changes

docker is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 1,199 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.