docker-architect

docker-architect is a skill for Claude Code, Codex from ralvarezdev/ralvaskills. It costs 67 tokens per session (2,063 once invoked), scanned D, original, GPL-3.0.

Architecture and security guidance for Dockerfiles and Compose files, which define how applications are built and run in containers. It covers smaller builds, safer defaults, multiple CPU architectures, caching, and image scanning.

In plain words
What is it for?
Use it when writing or reviewing Dockerfiles and Compose configurations, including multi-stage builds, non-root containers, amd64 and arm64 support, and Trivy scans.
Why use it?
It helps avoid oversized, vulnerable, hard-to-reproduce, or unnecessarily privileged container setups.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when writing or reviewing Dockerfiles and Compose configurations, including multi-stage builds, non-root containers, amd64 and arm64 support, and Trivy scans.

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

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ralvarezdev/ralvaskills/docker-architect"><img src="https://agentmods.dev/badge/skills/ralvarezdev/ralvaskills/docker-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,063 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00067 $0.02063
Opus 5.5 $0.00027 $0.00825
Sonnet 5.5 $0.00013 $0.00413
Haiku 4.5 $0.00007 $0.00206

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

Security

Grade D, and why

docker-architect scanned grade D with 2 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 12d 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.

- **Distroless `:nonroot` or explicit `USER`** — never run as root in the final stage.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **No `RUN apt-get update` without install + cleanup in the same layer:** `RUN apt-get update && apt-get install -y --no-install-recommends X && rm -rf /var/lib/apt/lists/*`.
skills/infra/docker-architect/SKILL.md · 106 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

3 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.

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. 12d ago Changed · +2 lines a09f5f53749c
  2. 1mo ago First seen · 104 lines · 67 tokens per session scan D 0a66db33a7f5

Subscribe to this mod's changes

docker-architect is a skill published in the GitHub repository ralvarezdev/ralvaskills (2 stars, last pushed yesterday), licensed GPL-3.0. It adds 67 tokens to every session and 2,063 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

release

CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.

oliver-kriska/claude-elixir-phoenix · 60 tokens

watch-pr

Watch an Elixir/Phoenix PR for new review comments (bot + human) and CI results via a background watcher that wakes Claude only on real events. Use after opening a PR or pushing, while waiting on CI or reviewers.

oliver-kriska/claude-elixir-phoenix · 50 tokens

catchup

Summarize and review what changed while you were away. Use after a weekend, vacation, or flight to check missed PRs, git commits, Linear tickets, and meetings — one prioritized brief, not a firehose.

oliver-kriska/claude-elixir-phoenix · 48 tokens

pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 59 tokens

phx-pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 61 tokens

deploy

Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays. Use when configuring Fly.io, Docker, CI/CD, health checks, or production migrations.

oliver-kriska/claude-elixir-phoenix · 46 tokens