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 agentmods add skills/avibebuilder/claude-prime/dockernpx skills add avibebuilder/claude-prime --skill dockergit clone --depth 1 https://github.com/avibebuilder/claude-primeWhat 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 | $0.00157 | $0.00937 |
| Opus 5 | $0.00078 | $0.00468 |
| Sonnet 5 | $0.00031 | $0.00187 |
| Haiku 4.5 | $0.00016 | $0.00094 |
Grade B, and why
docker scanned grade B 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 2d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
5. **Non-root users** — Always use UID >10000; never run as root in production. How it starts
The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Docker
Project-specific containerization patterns for Dockerfile and Docker Compose.
Architecture Decisions
Image Building
- Minimal base images — Use slim/alpine variants; pin to digest for reproducibility.
- Multi-stage builds — Separate build dependencies from runtime.
- Layer optimization — Combine RUN commands; place frequently changed files last.
- COPY over ADD — ADD only for tar extraction or remote URLs.
Security
- Non-root users — Always use UID >10000; never run as root in production.
- No secrets in images — Use Docker secrets or runtime env injection.
- .dockerignore required — Exclude .git, .env, node_modules, build artifacts.
Runtime
- One process per container — Single responsibility principle.
- Healthchecks required — Define HEALTHCHECK in Dockerfile or Compose.
- Resource limits — Always set mem_limit and cpus in production.
Compose
- Network segmentation — Dedicated networks per service group.
- Named volumes — Never use anonymous volumes in production.
- depends_on with healthchecks — Use
condition: service_healthy. - Environment separation — Use override files for dev/staging/prod.
Gotchas
COPY . .beforeRUN npm installbusts the cache on EVERY code change. Copypackage*.jsonfirst, install, THEN copy source.- Alpine uses musl libc, not glibc. Python packages with C extensions (numpy, pandas, cryptography) may fail to install or need
apk addbuild dependencies. Consider-slimvariants if you hit this. ENTRYPOINT ["python", "app.py"](exec form) handles signals correctly.ENTRYPOINT python app.py(shell form) wraps in/bin/sh -cand PID 1 won't receive SIGTERM — containers take 10s to stop.- Docker layer cache is invalidated from the FIRST changed layer downward. A changed
COPYnear the top rebuilds everything below it. depends_onwithoutcondition: service_healthyonly waits for container START, not readiness. Your app will crash connecting to a database that's still initializing.host.docker.internalworks on Docker Desktop (Mac/Windows) but NOT on Linux. Use--network hostor explicit container networking on Linux.- Build args (
ARG) are NOT available afterFROMin multi-stage builds unless re-declared. Each stage starts fresh. docker compose upreuses existing containers. After changingDockerfile, you needdocker compose up --buildordocker compose buildfirst.- Volume mounts override the container's filesystem — if your
node_modulesare built inside the container but you mount.:/app, the host's (possibly empty)node_modulesshadows them. Use a named volume fornode_modules. EXPOSEis documentation only — it does NOT publish the port. You still need-p 8080:8080orports:in compose.- Docker's default bridge network does NOT provide DNS resolution between containers. Use a custom network or compose's default network.
What ships with it
4 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.
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.
- 2d ago First seen · 56 lines · 157 tokens per session scan B cec3595d0fe1
docker is a skill published in the GitHub repository avibebuilder/claude-prime (119 stars, last pushed 3mo ago), licensed MIT. It adds 157 tokens to every session and 937 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
docker-compose-setup
Set up and orchestrate multi-container Docker applications using docker-compose, including service configuration, networking, volumes, and environment management. Use when the user requests docker compose setup or provides relevant inputs for this workflow.
kubernetes-deployment
Deploy, manage, and scale applications on Kubernetes clusters using manifests, Helm charts, and autoscaling configurations. Use when the user requests kubernetes deployment or provides relevant inputs for this workflow.
model-deployment
Deploy trained machine learning models as production-ready services using REST APIs, containers, serverless functions, and orchestration platforms. Use when the user requests model deployment or provides relevant inputs for this workflow.
ddev
DDEV local development environment for Craft CMS projects. ALWAYS load this skill when running any ddev command, configuring .ddev/config.yaml, or troubleshooting local container issues. Covers config.yaml (project type, PHP/Node versions, database, docroot), shorthand commands, add-ons and built-in Mailpit, custom…
kubernetes
· Write/review Kubernetes manifests, Helm, Kustomize, Gateway API, ArgoCD, sealed secrets. Triggers: 'kubernetes', 'k8s', 'helm', 'kubectl', 'deployment', 'pod', 'ingress', 'gateway'.
cluster-health
· Check Kubernetes cluster health with read-only diagnostics. Triggers: 'cluster health', 'health check', 'cluster status', 'diagnostics', 'post-maintenance', 'node status'. Not for manifests/IaC (use kubernetes).