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.
npx skills add G1Joshi/Agent-Skills --skill dockergit clone --depth 1 https://github.com/G1Joshi/Agent-SkillsWrote 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/g1joshi/agent-skills/docker)<a href="https://agentmods.dev/skills/g1joshi/agent-skills/docker"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/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.
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/docker"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/docker.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.00038 | $0.01354 |
| Opus 5.5 | $0.00015 | $0.00542 |
| Sonnet 5.5 | $0.00008 | $0.00271 |
| Haiku 4.5 | $0.00004 | $0.00135 |
Grade A, and why
docker scanned grade A 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 1mo 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.
| `Cannot connect to the Docker daemon at unix:///var/run/docker.sock` | Docker daemon is not running or current user lacks docker group permission. | Start Docker service (`systemctl start docker`) or add user: `sudo us 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.
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/healthz || exit 1 How it starts
The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Docker
Docker standardizes application delivery by packaging software into portable OCI containers, utilizing BuildKit multi-stage builds and vulnerability scanning for secure supply chains.
When to Use
- Application Containerization: Packaging code, runtime, system libraries, and settings into portable, reproducible container images.
- Multi-Stage Build Optimization: Creating ultra-small, secure production container images stripped of compilers and build tooling.
- Local Microservice Development: Orchestrating multi-container environments (app, database, cache) with Docker Compose.
- Standardized CI/CD Artifacts: Building OCI-compliant images deployed to Kubernetes, ECS, or serverless container runtimes.
Quick Start
# syntax=docker/dockerfile:1
FROM node:22-alpine AS base
WORKDIR /app
COPY package*.json ./
FROM base AS deps
RUN npm ci
FROM base AS release
COPY --from=deps /app/node_modules ./node_modules
COPY . .
CMD ["node", "index.js"]
Core Concepts
Multi-Stage Production Dockerfile
Building a minimal, secure Node.js container with non-root user:
# syntax=docker/dockerfile:1.7
# Stage 1: Build & Dependencies
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build && npm prune --production
# Stage 2: Distroless/Minimal Production Runtime
FROM node:22-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
# Security: Run as unprivileged non-root user
USER node
# Copy only production artifacts
COPY --chown=node:node --from=builder /app/node_modules ./node_modules
COPY --chown=node:node --from=builder /app/dist ./dist
COPY --chown=node:node --from=builder /app/package.json ./package.json
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/healthz || exit 1
ENTRYPOINT ["node", "dist/index.js"]
Multi-Container Orchestration with Docker Compose
Defining local development stacks with health checks:
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.
- 1mo ago Changed · +5 lines 523cd307857a
- 1mo ago Changed · +113 lines · +18 tokens per session scan B → A a76b44ed44d5
- 2mo ago First seen · 65 lines · 20 tokens per session scan B f9dcd390ed6c
docker is a skill published in the GitHub repository G1Joshi/Agent-Skills (15 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 1,354 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A 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-09-03.
docker compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dockerG1Joshi/Agent-Skills | Skill | 15 | 1mo ago | MIT | A | 38 | Claude Code, Codex |
| doubt-driven-developmentaddyosmani/agent-skills | Skill | 114k | 6d ago | MIT | A | 96 | Claude Code |
| performance-optimizationaddyosmani/agent-skills | Skill | 114k | 6d ago | MIT | A | 59 | Claude Code |
| context-engineeringaddyosmani/agent-skills | Skill | 114k | 6d ago | MIT | A | 43 | Claude Code |
| git-workflow-and-versioningaddyosmani/agent-skills | Skill | 114k | 6d ago | MIT | A | 131 | Claude Code |
| ci-cd-and-automationaddyosmani/agent-skills | Skill | 114k | 6d ago | MIT | A | 45 | Claude Code |
| incremental-implementationaddyosmani/agent-skills | Skill | 114k | 6d ago | MIT | A | 79 | Claude Code |