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 niels-emmer/myace --skill docker-patternsgit clone --depth 1 https://github.com/niels-emmer/myaceWrote 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/niels-emmer/myace/docker-patterns)<a href="https://agentmods.dev/skills/niels-emmer/myace/docker-patterns"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/docker-patterns/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/niels-emmer/myace/docker-patterns"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/docker-patterns.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.00032 | $0.00964 |
| Opus 5.5 | $0.00013 | $0.00386 |
| Sonnet 5.5 | $0.00006 | $0.00193 |
| Haiku 4.5 | $0.00003 | $0.00096 |
Grade A, and why
Docker Patterns 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Get from "an image builds" to "a stack runs predictably in development and
production." This skill covers how containers are composed, run, and
hardened across environments. For how the image itself is constructed —
multi-stage builds, minimal base images, SBOMs, and vulnerability scanning — use
the container-build skill when the devops add-on is composed; this one
deliberately does not repeat it.
When to use it
Any time you write or change a compose file, add a service, separate development from production configuration, or harden a running stack.
Compose layering
Keep a base file that describes the stack, then layer environment-specific overrides instead of maintaining two divergent files.
# docker-compose.yml — shared definition, no environment-specific choices
services:
app:
build: .
environment:
NODE_ENV: ${NODE_ENV:-development}
# docker-compose.dev.yml — local development
services:
app:
volumes:
- .:/app
command: npm run dev
environment:
DEBUG: "true"
# docker-compose.prod.yml — production overrides
services:
app:
restart: always
read_only: true
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
Run a layered stack with docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d. Keep the base file free of anything only one
environment needs.
Service dependencies
- Use
depends_onwithcondition: service_healthyfor ordered startup. - Give every long-running service a healthcheck.
- Put services that must talk to each other on a dedicated network; expose only what the reverse proxy needs.
services:
api:
build: ./api
depends_on:
db:
condition: service_healthy
networks: [app-net]
db:
image: postgres:16-alpine
healthcheck:
test: ["CMD-SHELL", "pg_isready -U app"]
interval: 5s
timeout: 5s
retries: 5
networks: [app-net]
networks:
app-net:
driver: bridge
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.
- yesterday Changed · +1 lines ffc088d3bede
- 7d ago First seen · 134 lines · 32 tokens per session scan A 812fea9cca96
Docker Patterns is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 964 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-11-23.
Docker Patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Docker Patternsniels-emmer/myace | Skill | 1 | yesterday | MIT | A | 32 | Claude Code, Codex |
| Docker PatternsAmariahAK/atlarix-skills | Skill | 0 | 2mo ago | Apache-2.0 | A | 2 | Claude Code, Codex |
| hardening-docker-containers-for-productionxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 43 | Claude Code, Codex |
| ecspressokayac/ecspresso | Skill | 1.1k | 7d ago | MIT | A | 17 | Claude Code |
| coolifyericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | B | 100 | Claude Code, Codex |
| dockerericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | B | 86 | Claude Code, Codex |
| loom-dockercosmix/loom | Skill | 66 | today | MIT | A | 9 | Claude Code |