ops-docker

ops-docker is a skill for Claude Code from christopherlouet/claude-base. It costs 25 tokens per session (651 once invoked), scanned A, original, MIT.

A guide to packaging applications as Docker containers, including Docker Compose setups. Containers bundle an application with the files it needs to run consistently.

In plain words
What is it for?
Use it to create Dockerfiles, compose services, publish images, and apply practices such as multi-stage builds and non-root users.
Why use it?
It helps avoid differences between development, testing, and production environments while keeping images smaller and safer.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to create Dockerfiles, compose services, publish images, and apply practices such as multi-stage builds and non-root users.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/christopherlouet/claude-base/ops-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 christopherlouet/claude-base --skill ops-docker
Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base

Made for: Claude Code.

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 ops-docker

README.md
[![agentmods](https://agentmods.dev/badge/skills/christopherlouet/claude-base/ops-docker/github.svg)](https://agentmods.dev/skills/christopherlouet/claude-base/ops-docker)
Your own site
<a href="https://agentmods.dev/skills/christopherlouet/claude-base/ops-docker"><img src="https://agentmods.dev/badge/skills/christopherlouet/claude-base/ops-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 ops-docker

Your own site · 80×15
<a href="https://agentmods.dev/skills/christopherlouet/claude-base/ops-docker"><img src="https://agentmods.dev/badge/skills/christopherlouet/claude-base/ops-docker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00025 $0.00651
Opus 5.5 $0.00010 $0.00260
Sonnet 5.5 $0.00005 $0.00130
Haiku 4.5 $0.00003 $0.00065

Measured 1mo ago against content hash f7f636c3b937, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ops-docker scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/ops-docker/SKILL.md · 42 lines

How it starts

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

Docker Containerization (pointer)

Docker Inc. publishes its own agent skills at docker/skills (Apache-2.0, pin v0.3.1). Four of them cover what this skill used to teach — multi-stage builds, non-root users, .dockerignore, HEALTHCHECK, BuildKit secrets and cache mounts, Compose healthchecks and depends_on: service_healthy:

Skill Use it when
docker-project-foundations Dockerizing a project, local dev with containers
docker-build-strategies Writing, slimming or hardening a Dockerfile
docker-compose-patterns Wiring services, adding a database, Compose debugging
docker-destructive-guardrails Before any docker command that deletes or resets state
# pinned release (Docker's README documents the tree/<tag> form)
npx skills add https://github.com/docker/skills/tree/v0.3.1 --skill docker-project-foundations --yes
npx skills add https://github.com/docker/skills/tree/v0.3.1 --skill docker-build-strategies --yes
npx skills add https://github.com/docker/skills/tree/v0.3.1 --skill docker-compose-patterns --yes
npx skills add https://github.com/docker/skills/tree/v0.3.1 --skill docker-destructive-guardrails --yes

The repo's other seven skills (Docker Agent, Docker Sandboxes) are product-specific; install them only if you use those products. The three skills that ship a scripts/verify-*.sh only build the image and validate the Compose file.

Recipe entry: docs/recipes/recommended-vendor-skills.md §"Docker".

Foundation discipline the vendor skills leave out

  • Scan the image before it ships: none of the four mentions vulnerability scanning. Gate the push on trivy image <image> (or Docker Scout, Grype) failing on HIGH/CRITICAL — the ops-ci skill wires it; qa-security owns the policy.
  • Lint the Dockerfile in CI: hadolint Dockerfile as a blocking step, also absent from the vendor skills.
  • Never bake secrets: no COPY .env, no credentials in ENV or build args — BuildKit --mount=type=secret at build time, orchestrator-injected env at run time (.claude/rules/security.md).

Read the full file on GitHub · 42 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. 1mo ago Changed · +10 lines f7f636c3b937
  2. 2mo ago Changed · -2 lines 162936d96630
  3. 2mo ago Changed · -6 lines e7607e3e5008
  4. 2mo ago Changed · -1 lines b10c674f6f80
  5. 2mo ago First seen · 41 lines · 25 tokens per session scan A 4012affd4913

Subscribe to this mod's changes

ops-docker is a skill published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed 14d ago), licensed MIT. It adds 25 tokens to every session and 651 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

ops-docker compared with skills from other repositories

ops-docker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ops-dockerchristopherlouet/claude-baseSkill514d agoMITA25Claude Code
agent-cloud-architecttravisjneuman/.claudeSkill115yesterdayMITA75Claude Code
agent-devops-engineertravisjneuman/.claudeSkill115yesterdayMITA12Claude Code
literature-review-plannertravisjneuman/.claudeSkill115yesterdayMITA39Claude Code
monitoring-observabilitytravisjneuman/.claudeSkill115yesterdayMITA48Claude Code
ai-policy-generatortravisjneuman/.claudeSkill115yesterdayMITA42Claude Code
battle-card-buildertravisjneuman/.claudeSkill115yesterdayMITA40Claude Code