docker-deploy

docker-deploy is a skill for Claude Code from Sagargupta16/claude-skills. It costs 45 tokens per session (1,945 once invoked), scanned B, original, MIT.

A guide for packaging an application in Docker, a tool that runs software in isolated containers. It covers Dockerfiles and Docker Compose, which defines multiple containers and their settings.

In plain words
What is it for?
Use it when containerizing Python or Node.js applications, setting up local development, preparing production images, or adding health checks and safer process handling.
Why use it?
It helps avoid oversized, slow, insecure, or unreliable application containers across development and production.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the docker-deploy plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Use it when containerizing Python or Node.js applications, setting up local development, preparing production images, or adding health checks and safer process handling.

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

Made for: Claude Code.

Or install docker-deploy, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sagargupta16/claude-skills/docker-deploy"><img src="https://agentmods.dev/badge/skills/sagargupta16/claude-skills/docker-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,945 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 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.00045 $0.01945
Opus 5 $0.00023 $0.00972
Sonnet 5 $0.00009 $0.00389
Haiku 4.5 $0.00005 $0.00194

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

Security

Grade B, and why

docker-deploy scanned grade B with 3 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 rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Run as root | Create and switch to non-root user |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

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

RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo build --release && rm -rf src

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
plugins/docker-deploy/skills/docker-deploy/SKILL.md · 288 lines

How it starts

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

Docker and Deployment Patterns

Quick Reference

Task Approach
New Dockerfile Choose template by language below
Optimize image Multi-stage build + Alpine/distroless base
Dev environment docker-compose with hot-reload and volumes
Production Multi-stage, non-root user, health checks
Debugging docker logs, docker exec, build with --progress=plain

Dockerfile Templates

Python (FastAPI / Flask / Django)

# Build stage -- check https://hub.docker.com/_/python for latest
FROM python:3.13-slim AS builder
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --prefix=/install -r requirements.txt

# Runtime stage
FROM python:3.13-slim
WORKDIR /app
RUN adduser --disabled-password --no-create-home appuser
COPY --from=builder /install /usr/local
COPY . .
USER appuser
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]

Node.js (Express / Next.js / Vite)

# Build stage -- check https://hub.docker.com/_/node for latest LTS
FROM node:22-alpine AS builder
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN corepack enable && pnpm install --frozen-lockfile
COPY . .
RUN pnpm build

# Runtime stage
FROM node:22-alpine
WORKDIR /app
RUN adduser -D appuser
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json .
USER appuser
EXPOSE 3000
CMD ["node", "dist/index.js"]

Go

# Build stage -- check https://hub.docker.com/_/golang for latest
FROM golang:1.23-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /app/server .

# Runtime stage
FROM gcr.io/distroless/static-debian12
COPY --from=builder /app/server /server
USER nonroot
EXPOSE 8080
ENTRYPOINT ["/server"]

Rust

# Build stage -- check https://hub.docker.com/_/rust for latest
FROM rust:1.82-slim AS builder
WORKDIR /app
COPY Cargo.toml Cargo.lock ./
RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo build --release && rm -rf src
COPY . .
RUN cargo build --release

# Runtime stage
FROM gcr.io/distroless/cc-debian12
COPY --from=builder /app/target/release/app /app
USER nonroot
EXPOSE 8080
ENTRYPOINT ["/app"]

Read the full file on GitHub · 288 lines

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 · 288 lines · 45 tokens per session scan B ee369dda3047

Subscribe to this mod's changes

docker-deploy is a skill published in the GitHub repository Sagargupta16/claude-skills (5 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 1,945 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 3 findings (asks for root, recursive force delete, 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

kanban-dev-lane

Use when a Hermes Kanban worker wants to run an autonomous implementation delegation lane with a 3-tier fallback chain across claudy -> codex (--yolo) -> agyd (agy --dangerously-skip-permissions) -> Hermes direct on quota exhaustion.

epicsagas/plugins · 58 tokens

release

This skill should be used when the user wants to create a new release — bump version, tag, push, create GitHub release, and optionally publish to npm. Use when user says "release", "bump version", "publish", "cut a release", or "release candidate".

NikiforovAll/claude-code-marketplace · 60 tokens

council

4-voice parallel deliberation for architecture, tech selection, or design decisions with no clear answer. Each voice gets independent context to prevent anchoring bias. Use when the user says "council", "deliberate", "second opinion", or faces a trade-off between multiple valid approaches.

epicsagas/plugins · 64 tokens

orbit

Autonomous pipeline — spec requirements, execute implementation, audit quality, and ship. Runs the full epic-harness orbit cycle in one go. Use when the user says "orbit", "full pipeline", "spec to ship", or describes a feature that needs end-to-end handling.

epicsagas/plugins · 58 tokens

reflect

Self-assessment of AI session quality. Scores 5 dimensions from session data and harness memory. Not an agent performance review — it's human self-reflection on how well they used AI assistance. Use when the user says "reflect", "how did I do", "session review", or at the end of a long session.

epicsagas/plugins · 67 tokens

teams

Manage org-level agent teams — list available teams, sync agent definitions to a project, or design a new team composition. Use when the user says "team", "agents", "set up a team", or wants to coordinate multiple specialized agents.

epicsagas/plugins · 51 tokens