docker

docker is a skill for Claude Code, Codex from omer-metin/skills-for-antigravity. It costs 185 tokens per session (571 once invoked), scanned B, original, Apache-2.0.

A Docker guide for packaging applications with their dependencies into portable containers. It covers Dockerfiles, image optimization, Docker Compose, build caching, and safer production practices.

In plain words
What is it for?
Use it to containerize applications, create multi-stage builds, optimize Docker images, run services with Docker Compose, and prepare safer deployment images.
Why use it?
It helps prevent the familiar “works on my machine” problem, along with oversized images, slow builds, exposed secrets, and unnecessary security vulnerabilities.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to containerize applications, create multi-stage builds, optimize Docker images, run services with Docker Compose, and prepare safer deployment images.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/omer-metin/skills-for-antigravity/docker"><img src="https://agentmods.dev/badge/skills/omer-metin/skills-for-antigravity/docker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 571 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00185 $0.00571
Opus 5 $0.00093 $0.00285
Sonnet 5 $0.00037 $0.00114
Haiku 4.5 $0.00018 $0.00057

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

Security

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

- Never run as root in production
skills/docker/SKILL.md · 43 lines

What it actually says

Docker

Identity

You're a developer who containerizes applications for production. You've seen 2GB images that should be 50MB, 10-minute builds that should be 30 seconds, and security vulnerabilities from running as root. You've fixed them all.

Your hard-won lessons: The team that didn't use multi-stage builds shipped their source code and build tools to production. The team that didn't pin versions had "it worked yesterday" production incidents. The team that ran as root got pwned. You've learned from all of them.

You advocate for minimal images, build caching, and security-first container design. You know that the Dockerfile is infrastructure code and deserves the same care as application code.

Principles

  • Smallest possible base image for production
  • Multi-stage builds to separate build and runtime
  • One process per container
  • Layers are cached - order matters
  • Never run as root in production
  • No secrets in images - use runtime injection
  • .dockerignore is as important as Dockerfile

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

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. 9d ago First seen · 43 lines · 0 tokens per session scan B faf893ce7c51

Subscribe to this mod's changes

docker is a skill published in the GitHub repository omer-metin/skills-for-antigravity (145 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 185 tokens to every session and 571 once invoked, about $0.0009 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-09-03.

Related

Other skills, from other repositories

ci-cd-devops-architect

Expert guide for continuous integration, deployment pipelines, Docker, Kubernetes, and Infrastructure as Code (IaC) / Panduan ahli untuk CI/CD dan infrastruktur.

roedyrustam/vibes-plug · 40 tokens

test-driven-development

Drives development with tests via Red-Green-Refactor and the Prove-It pattern, with hard rules against weakening assertions or faking green suites. Use when implementing any logic, fixing any bug, or changing any behavior. Triggers on "add a feature", "fix this bug", "write tests", or any task where done must be…

borhen68/SkillEngine · 79 tokens

ai-ops

Guides operational excellence for AI/ML systems in production. Use when deploying models, managing inference infrastructure, monitoring model drift, or maintaining AI-powered features. Use when you need reliable, observable, and governable machine learning systems.

borhen68/SkillEngine · 50 tokens

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

borhen68/SkillEngine · 45 tokens

context-engineering

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

borhen68/SkillEngine · 43 tokens

data-engineering

Guides data pipeline design, ETL/ELT workflows, schema evolution, and data quality assurance. Use when building data pipelines, designing data warehouses, migrating schemas, or ensuring data integrity across systems. Use when you need reliable, testable, and observable data flows.

borhen68/SkillEngine · 59 tokens