docker

docker is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 26 tokens per session (1,297 once invoked), scanned A, original, MIT.

A Docker management tool for building and running containers, which package an application with the files it needs to run. It also manages Docker Compose stacks, which coordinate multiple containers.

In plain words
What is it for?
Use it to build images, start or stop containers, view logs, open a shell in a running container, and run multi-service Compose applications.
Why use it?
It simplifies common container tasks and helps inspect or troubleshoot services, images, networks, and volumes.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/compose-gen.sh <project-name> [services...].

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex
agentmods
npx agentmods add skills/jansenanalytics/claudex/docker

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/jansenanalytics/claudex/docker.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/docker)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/docker"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/docker.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,297 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00026 $0.01297
Opus 5 $0.00013 $0.00648
Sonnet 5 $0.00005 $0.00259
Haiku 4.5 $0.00003 $0.00130

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

Security

Grade A, and why

docker scanned grade A with 0 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/docker/SKILL.md · 217 lines

How it starts

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

Docker Skill

Manage Docker containers and Compose stacks: build, run, stop, logs, exec, prune, multi-service orchestration.

Use When

  • Building/running containers or debugging container issues
  • Setting up docker-compose stacks
  • Managing images, volumes, networks
  • Containerizing applications
  • Multi-service orchestration

Quick Reference

Container Lifecycle

# Run container (detached, with name, port mapping, env vars)
docker run -d --name myapp -p 8080:80 -e NODE_ENV=production --restart unless-stopped myimage:latest

# Interactive shell
docker exec -it myapp bash

# Logs (follow, with timestamps, last 100 lines)
docker logs -f --tail 100 --timestamps myapp

# Stop / remove
docker stop myapp && docker rm myapp

# List running (all with -a)
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"

Building Images

# Build with tag
docker build -t myapp:latest .

# Multi-stage build (target specific stage)
docker build --target production -t myapp:prod .

# Build with build args
docker build --build-arg VERSION=1.2.3 -t myapp:1.2.3 .

# No cache rebuild
docker build --no-cache -t myapp:latest .

Docker Compose

# Start all services (detached)
docker compose up -d

# Start specific service
docker compose up -d postgres

# Rebuild and restart
docker compose up -d --build

# View logs across services
docker compose logs -f --tail 50

# Stop and remove everything (including volumes)
docker compose down -v

# Scale a service
docker compose up -d --scale worker=3

# Execute command in running service
docker compose exec web bash

# View service status
docker compose ps

Debugging

# Inspect container (full JSON)
docker inspect myapp

# Resource usage
docker stats --no-stream

# See container processes
docker top myapp

# Copy files out of container
docker cp myapp:/app/logs/error.log ./error.log

# Check why container exited
docker inspect --format='{{.State.ExitCode}} {{.State.Error}}' myapp

# Network debugging
docker network ls
docker network inspect bridge

# Enter stopped container's filesystem
docker run --rm -it --entrypoint sh myimage:latest

Read the full file on GitHub · 217 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. 2d ago First seen · 217 lines · 26 tokens per session scan A 74b35a74a85f

Subscribe to this mod's changes

docker is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 1,297 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. 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

docker-containerization

Containerize applications with multi-stage Dockerfiles, Docker Compose orchestration, image optimization, and container security. Covers Python, Node.js, and multi-service architectures. Triggers on Docker, containerization, or container orchestration requests.

organvm-iv-taxis/a-i--skills · 50 tokens

docker-docs

Comprehensive Docker 28.x reference covering all features: installation, Dockerfile instructions, multi-stage builds, Docker Compose, networking, volumes, CLI commands, image management, registries, security best practices, CI/CD integration, debugging, and Kubernetes migration. Use whenever the user mentions Docker…

pledgeandgrow/pledge-skills · 93 tokens

docker-compose

Multi-service docker-compose orchestration — service dependency ordering, profiles, override files, environment-specific configs, rolling restarts, and compose-based dev/prod parity patterns.

LuuOW/meridian-mcp · 35 tokens

harbor

CLI toolkit for managing containerized LLM services. Use when the user wants to start, stop, configure, or manage AI/LLM services like Ollama, Open WebUI, llama.cpp, vLLM, LiteLLM, ComfyUI, and 250+ others. Triggers on requests to "run a model", "start ollama", "set up an LLM", "configure harbor", "manage services"…

av/harbor · 114 tokens

atmos-helmfile

Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, varfile generation, EKS integration, source management.

cloudposse/atmos · 33 tokens

atmos-devcontainer

Devcontainer orchestration: start/stop/attach/shell/exec/rebuild, instance management, config handling, VS Code integration.

cloudposse/atmos · 31 tokens