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.
npx skills add 0xDarkMatter/claude-mods --skill docker-opsgit clone --depth 1 https://github.com/0xDarkMatter/claude-modsWrote 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.
[](https://agentmods.dev/skills/0xdarkmatter/claude-mods/docker-ops)<a href="https://agentmods.dev/skills/0xdarkmatter/claude-mods/docker-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/docker-ops/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.
<a href="https://agentmods.dev/skills/0xdarkmatter/claude-mods/docker-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/docker-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00114 | $0.03581 |
| Opus 5.5 | $0.00046 | $0.01432 |
| Sonnet 5.5 | $0.00023 | $0.00716 |
| Haiku 4.5 | $0.00011 | $0.00358 |
Grade A, and why
docker-ops 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 1mo ago.
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.
run: slim and distroless images ship no curl. How it starts
The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Docker Operations
Docker on your machine and in your repo: the files you write (Dockerfile, .dockerignore,
compose.yaml) and the engine that runs them. Versions verified 2026-10-07 (Compose v5,
Docker Desktop 4.94, WSL 3.0, Podman 6); scripts/check-docker-facts.py --live re-checks
them weekly.
Why: the costly Docker mistakes are silent. A secret is copied into a layer, a datastore
listens on every interface, compose config pastes credentials into a log, a prune deletes
a volume someone needed. The rules below stop those first.
Hard rules
- Say what is lost before anything destructive, and confirm a sweep. Removing one
stopped container the user named is fine on an explicit ask.
docker kill, anyprune,compose down -v,volume rm, and anything unscoped (docker rm -f $(docker ps -aq)) needs a confirmation that names what goes. A sweep counts as a sweep even when everything in it is stopped: scope beats state. Tiers: destructive-commands.md. - Never run
docker compose configbare. It prints interpolated values and inlinesenv_filecontents. Usedocker compose config --quietto validate, and add--no-interpolatewhen you need to read the file. - No secrets in layers. No
ARG/ENVcredentials, noCOPY .env/.npmrc/ keys. UseRUN --mount=type=secret,id=x,required=true(fails loudly when the secret is missing) and--mount=type=ssh. A laterRUN rmdoes not remove a file from the earlier layer. - Datastores and debug ports bind to loopback. Write
127.0.0.1:5432:5432, never5432:5432. On Docker Desktop, an unbound port is reachable from your LAN. - Pin scanners and actions by commit SHA. In March 2026, 76 of trivy-action's 77 tags
were force-pushed to an infostealer (advisory GHSA-69fq-xp46-6x23). Use
aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0. Vetting dependencies is supply-chain-defense's job. - Current bases only. Node.js 22 is the oldest supported line (20 ended 2026-04-30),
Python 3.11 (3.10 ended 2026-10-01). Distroless images are
-debian13. Pin a tag, and in production a digest.assets/docker-facts.jsonholds the floors the auditor checks. - Verify a non-root image with
docker inspect --format '{{.Config.User}}'(it must be set and not0orroot).docker run img whoamilies when the image has an ENTRYPOINT. - Never start, stop or reconfigure the engine on the user's behalf. Report that it is
down and give the start command. Propose a settings change; don't apply it. A setting
their admin locked is the admin's call (
docker-doctor.pyreports locks). compose.yaml, noversion:line. Compose ignoresversion:and prints a warning. Since Compose v5 (2025-12; v3 and v4 were skipped), builds go through Bake.- Run this skill's scripts by path from the project root. Use
python "<skill-dir>/scripts/x.py"; nevercdinto the skill or callscripts/x.pyrelative to the project.
What ships with it
48 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/compose.template.yaml 1.9 KB
- assets/docker-facts.json 2.7 KB
- assets/Dockerfile.template 1.8 KB
- references/compose.md 9.4 KB
- references/debugging.md 4.3 KB
- references/destructive-commands.md 5.0 KB
- references/disk-reclaim.md 5.4 KB
- references/dockerfile.md 11 KB
- references/ports-and-networking.md 4.4 KB
- references/providers-and-contexts.md 6.1 KB
- references/supply-chain-and-scanning.md 4.7 KB
- references/vmm-sharing-emulation.md 3.8 KB
- scripts/check-docker-facts.py 16 KB runs code
- scripts/check-image-tags.py 19 KB runs code
- scripts/docker-audit.py 91 KB runs code
- scripts/docker-doctor.py 33 KB runs code
- tests/fixtures/bad/compose.yaml 930 B
- tests/fixtures/bad/Dockerfile 1.0 KB
- tests/fixtures/clean/.dockerignore 76 B
- tests/fixtures/clean/compose.yaml 786 B
- tests/fixtures/clean/Dockerfile 785 B
- tests/fixtures/coverage/docker-compose.yml 94 B
- tests/fixtures/coverage/Dockerfile 181 B
- tests/fixtures/doctor/docker_stub.py 1.7 KB runs code
- tests/fixtures/doctor/run_doctor.py 4.6 KB runs code
- tests/fixtures/edge/.dockerignore 75 B
- tests/fixtures/edge/compose.yaml 1.1 KB
- tests/fixtures/edge/Dockerfile 726 B
- tests/fixtures/edge/skip.Dockerfile 132 B
- tests/fixtures/facts/desktop-release-notes.md 267 B
- tests/fixtures/facts/eol-go.json 133 B
- tests/fixtures/facts/eol-nodejs.json 180 B
- tests/fixtures/facts/eol-php.json 144 B
- tests/fixtures/facts/eol-python.json 194 B
- tests/fixtures/facts/releases-colima.json 150 B
- tests/fixtures/facts/releases-compose.json 149 B
- tests/fixtures/facts/releases-gateway_api.json 149 B
- tests/fixtures/facts/releases-helm.json 149 B
- tests/fixtures/facts/releases-kubernetes.json 150 B
- tests/fixtures/facts/releases-lima.json 149 B
- tests/fixtures/facts/releases-podman.json 149 B
- tests/fixtures/facts/releases-trivy_action.json 150 B
- tests/fixtures/facts/releases-wsl.json 147 B
- tests/fixtures/image-tags/answers.json 729 B
- tests/fixtures/image-tags/compose.yaml 130 B
- tests/fixtures/image-tags/Dockerfile 326 B
- tests/fixtures/image-tags/notes.md 250 B
- tests/run.sh 27 KB runs code
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.
- 1mo ago Changed · -84 lines · +44 tokens per session scan B → A 3ba18d5d755f
- 1mo ago Changed · +8 lines 9efb756746c6
- 3mo ago First seen · 288 lines · 70 tokens per session scan B 6060177ee990
docker-ops is a skill published in the GitHub repository 0xDarkMatter/claude-mods (86 stars, last pushed 6d ago), licensed MIT. It adds 114 tokens to every session and 3,581 once invoked, about $0.0005 per session on Opus 5.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-30.
docker-ops compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docker-ops0xDarkMatter/claude-mods | Skill | 86 | 6d ago | MIT | A | 114 | Claude Code |
| agent-cloud-architecttravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 75 | Claude Code |
| agent-devops-engineertravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 12 | Claude Code |
| k8s-sidecar-testingfakoli/fakoli-plugins | Skill | 4 | yesterday | MIT | A | 43 | Claude Code, Codex |
| proxmox-cluster-opsdryvist/claude-code-plugins | Skill | 3 | 13d ago | Apache-2.0 | A | 47 | Claude Code |
| devops-commandervignesh2027/Claude-Agentic-Skills2.0-version | Skill | 4 | 3mo ago | MIT | A | 79 | Claude Code, Codex |
| infra-deployterrylica/cc-skills | Skill | 5 | today | MIT | C | 27 | Claude Code |