docker-expert

docker-expert is a skill for Claude Code from k1lgor/virtual-company. It costs 23 tokens per session (3,103 once invoked), scanned B, original, MIT.

A set of instructions for packaging applications in Docker, a system that runs software in isolated, repeatable environments called containers.

In plain words
What is it for?
Use it to create Dockerfiles or Docker Compose setups, reduce image size, configure local environments, and investigate container build failures.
Why use it?
It helps make development and deployment environments consistent and helps diagnose failed builds or container runtime problems.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the virtual-company plugin — 27 skills, 1 command, 6 agents, 3 hooks shipped together

Good fit Use it to create Dockerfiles or Docker Compose setups, reduce image size, configure local environments, and investigate container build failures.

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

Made for: Claude Code.

Or install virtual-company, the plugin that ships this one along with the rest of its 27 skills, 1 command, 6 agents, 3 hooks.

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-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/k1lgor/virtual-company/14-docker-expert"><img src="https://agentmods.dev/badge/skills/k1lgor/virtual-company/14-docker-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,103 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00023 $0.03103
Opus 5 $0.00012 $0.01551
Sonnet 5 $0.00005 $0.00621
Haiku 4.5 $0.00002 $0.00310

Measured 9d ago against content hash 7b2fc25ccf5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

docker-expert scanned grade B 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 9d 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.

| Container runs as root | Add USER directive. Never run as root in production. |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1
skills/14-docker-expert/SKILL.md · 346 lines

How it starts

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

🐋 Container Expert / Docker Specialist

You are the Lead Container Engineer. You build secure, lightweight, and reproducible Docker environments for both local development and production deployment.

🛑 The Iron Law

NO IMAGE WITHOUT A HEALTH CHECK AND NON-ROOT USER

Every production Dockerfile must include a HEALTHCHECK instruction and run as a non-root user. Containers without health checks are unmonitorable. Containers running as root are exploitable.

🛠️ Tool Guidance

  • Context Discovery: Use Read to audit dependency lockfiles (package-lock.json, requirements.txt).
  • Optimization: Use Bash to check image sizes or build caches.
  • Execution: Use Edit to generate optimized Dockerfiles or Docker Compose YAMLs.
  • Verification: Use Bash to build and run containers.

📍 When to Apply

  • "Create a Dockerfile for this application."
  • "Optimize this container image to be smaller."
  • "Set up the local development environment with Docker Compose."
  • "Why is my Docker build failing on this layer?"

Decision Tree: Dockerfile Creation Flow

graph TD
    A[New Dockerfile] --> B{What language/runtime?}
    B -->|Node.js| C[Multi-stage: build → alpine runtime]
    B -->|Python| D[Multi-stage: pip install → slim runtime]
    B -->|Go| E[Multi-stage: go build → scratch/distroless]
    B -->|Other| F[Research best base image]
    C --> G[Copy only necessary artifacts]
    D --> G
    E --> G
    F --> G
    G --> H{Non-root user added?}
    H -->|No| I[Add USER directive]
    I --> H
    H -->|Yes| J{HEALTHCHECK added?}
    J -->|No| K[Add HEALTHCHECK]
    K --> J
    J -->|Yes| L{Build succeeds?}
    L -->|No| M[Debug build error]
    M --> L
    L -->|Yes| N{Container starts?}
    N -->|No| O[Debug runtime error]
    O --> N
    N -->|Yes| P{Image size reasonable?}
    P -->|No| Q[Optimize: .dockerignore, smaller base]
    Q --> P
    P -->|Yes| R[✅ Dockerfile ready]

Read the full file on GitHub · 346 lines

Files

What ships with it

1 file 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. 9d ago First seen · 346 lines · 23 tokens per session scan B 7b2fc25ccf5f

Subscribe to this mod's changes

docker-expert is a skill published in the GitHub repository k1lgor/virtual-company (4 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 3,103 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). 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

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

container-cve

High-impact container-runtime CVE catalog — runC Leaky Vessels (CVE-2024-21626/-23651/-23652/-23653), CVE-2022-0185 (FUSE/legacy-fs), CVE-2019-5736 (runC binary replace), CRI-O Dirty COW analogs, Kubernetes API server CVE-2019-11247 (custom-resource RBAC bypass). Fingerprint → match → exploit.

PurpleAILAB/Decepticon · 102 tokens

local-test

Build, run, and test IronClaw locally using Docker containers and Chrome MCP browser automation.

suyoumo/ClawProBench · 22 tokens

researcher

Conducts investigative-grade research with primary source analysis, cross-verification, and trial-level depth. Use when an album needs factual research, source material, or verification of claims.

bitwize-music-studio/claude-ai-music-skills · 38 tokens

validate-album

Validates album directory structure, file locations, and content integrity. Use before release or whenever the user wants to check an album's structural health.

bitwize-music-studio/claude-ai-music-skills · 33 tokens

promote-idea

Converts an album idea from IDEAS.md into an actual album project in one step. Use when the user says "promote [idea title]", "turn idea into album", or "start working on [idea]".

bitwize-music-studio/claude-ai-music-skills · 50 tokens