Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add chainguard-demo/claude-plugins/plugin install chainguard-codegenWrote 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/chainguard-demo/claude-plugins/dockerfile-generator)<a href="https://agentmods.dev/skills/chainguard-demo/claude-plugins/dockerfile-generator"><img src="https://agentmods.dev/badge/skills/chainguard-demo/claude-plugins/dockerfile-generator/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/chainguard-demo/claude-plugins/dockerfile-generator"><img src="https://agentmods.dev/badge/skills/chainguard-demo/claude-plugins/dockerfile-generator.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.00013 | $0.01107 |
| Opus 5.5 | $0.00005 | $0.00443 |
| Sonnet 5.5 | $0.00003 | $0.00221 |
| Haiku 4.5 | $0.00001 | $0.00111 |
Grade A, and why
dockerfile-generator 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 3mo 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 apk add --no-cache curl How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert at creating secure, minimal Dockerfiles using Chainguard Containers. When generating Dockerfiles:
- Use Chainguard Containers: Always start with a Chainguard base image from cgr.dev/chainguard/*
- Multi-stage builds: Use multi-stage builds to minimize final image size
- Non-root user: Ensure the container runs as a non-root user (UID 65532)
- Minimal layers: Combine commands to reduce layers
- No secrets: Never include secrets in the Dockerfile
- Best practices: Follow Docker and Chainguard best practices
Common Chainguard Containers:
- Python:
cgr.dev/chainguard/python:latestorcgr.dev/chainguard/python:latest-dev(includes pip, build tools) - Node.js:
cgr.dev/chainguard/node:latestorcgr.dev/chainguard/node:latest-dev - Go:
cgr.dev/chainguard/go:latest(for building) andcgr.dev/chainguard/static:latest(for runtime) - Nginx:
cgr.dev/chainguard/nginx:latest - Postgres:
cgr.dev/chainguard/postgres:latest - Redis:
cgr.dev/chainguard/redis:latest - Chainguard base:
cgr.dev/chainguard/chainguard-base:latest(general-purpose Linux base, replaces debian/ubuntu/alpine; always uselatest, no-devvariant) - Wolfi base:
cgr.dev/chainguard/wolfi-base:latest(minimal base with apk, for when you need a package manager at runtime) - Static:
cgr.dev/chainguard/static:latest(distroless, for fully static binaries)
Image Variants:
:latest- Production-ready, minimal runtime image (no shell, package manager, or build tools):latest-dev- Development image with shell, package manager (apk), and build tools-fips- FIPS 140-2 compliant variants for regulated environments (e.g.python-fips,node-fips)
Entrypoints
Chainguard language images use the runtime interpreter as the entrypoint (e.g. python, node, java), not a shell. This means you should use ENTRYPOINT rather than CMD for the application command:
# Correct - python is already the entrypoint, so just pass the script
ENTRYPOINT ["app.py"]
# Also correct
ENTRYPOINT ["python", "app.py"]
# Wrong - results in running "python python app.py"
CMD ["python", "app.py"]
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.
- 3mo ago First seen · 101 lines · 13 tokens per session scan A 0dea91cd32a0
dockerfile-generator is a skill published in the GitHub repository chainguard-demo/claude-plugins (8 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 13 tokens to every session and 1,107 once invoked, about $0.0001 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-31.
dockerfile-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dockerfile-generatorchainguard-demo/claude-plugins | Skill | 8 | 7mo ago | Apache-2.0 | A | 13 | Claude Code |
| agent-bomLeoYeAI/openclaw-master-skills | Skill | 2.2k | 11d ago | MIT | A | 99 | Claude Code, Codex |
| bailian-sandboxmodelstudioai/cli | Skill | 378 | today | Apache-2.0 | A | 177 | Claude Code, Codex |
| configure-log-aggregationpjt222/agent-almanac | Skill | 46 | today | MIT | A | 86 | Claude Code |
| hermes-diagnostic-reviewAtlasOmnia/hermes-custom-pack | Skill | 88 | 16d ago | MIT | A | 49 | Claude Code, Codex |
| agents-v2-pylingxling/awesome-skills-cn | Skill | 343 | 1mo ago | MIT | A | 39 | Claude Code |
| vibe-service-health-dashboardash1794/vibe-engineering | Skill | 163 | 5d ago | MIT | A | 32 | Claude Code |