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 agentmods add skills/vikasudasi/skill-vault/docker-compose-servicesnpx skills add vikasudasi/skill-vault --skill docker-compose-servicesgit clone --depth 1 https://github.com/vikasudasi/skill-vaultWrote 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/vikasudasi/skill-vault/docker-compose-services)<a href="https://agentmods.dev/skills/vikasudasi/skill-vault/docker-compose-services"><img src="https://agentmods.dev/badge/skills/vikasudasi/skill-vault/docker-compose-services.svg" alt="Measured on agentmods" 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 | $0.00025 | $0.00427 |
| Opus 5 | $0.00013 | $0.00214 |
| Sonnet 5 | $0.00005 | $0.00085 |
| Haiku 4.5 | $0.00003 | $0.00043 |
Grade C, and why
docker-compose-services scanned grade C 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 4d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- As root, `docker compose up -d` and `rm -rf` on mounted dirs can clobber host What it actually says
Docker Compose for Multi-Service Apps
Use when running several containers together (app + db + worker) on one host.
Basic compose file
services:
web:
build: .
ports: ["8080:8080"]
environment:
- DATABASE_URL=postgres://u:p@db:5432/app
depends_on:
db:
condition: service_healthy
db:
image: postgres:16
environment:
- POSTGRES_PASSWORD=p
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 5s
timeout: 3s
retries: 5
Key practices
- Plug service-to-service refs over the compose network by service name (
db), notlocalhost. - Add
healthcheckto dependencies and gate withdepends_on: condition. - Use volumes for durable data; bind mounts only for dev.
Pitfalls
- Compose merges override files: a
docker-compose.override.ymlreplaces the wholeports:list, it doesn't append. Use one standalone file or explicit overrides, or you'll reintroduce port conflicts. - As root,
docker compose up -dandrm -rfon mounted dirs can clobber host files — scope operations carefully. - Prefer
docker compose configto validate beforeup.
Verify
docker compose config --quiet
docker compose ps
docker compose logs -f web
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.
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.
- 4d ago First seen · 63 lines · 25 tokens per session scan C d598be99671f
docker-compose-services is a skill published in the GitHub repository vikasudasi/skill-vault (0 stars, last pushed 19d ago), licensed Apache-2.0. It adds 25 tokens to every session and 427 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
container-manager-swarm
Docker Swarm cluster orchestration via the container-manager-mcp MCP server — initialize/leave a swarm, list nodes and services, and create or remove replicated services across the cluster. Use when the agent must operate a multi-host Swarm from a manager node, inventory cluster services/nodes, or deploy a service. Do…
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.
compose
Skill "compose" from chaterm/terminal-skills, covering docker compose 编排, 概述, 基础命令, 启动服务 and 停止服务.
docker
Use when authoring or auditing a Dockerfile, shrinking a bloated image, hardening a container that runs as root, picking a base image, or wiring a Compose dev loop with hot reload. NOT CI builds or deploy-to-host (that is deployment), NOT k8s autoscaling (that is scaling), NOT app-level injection or secrets-in-code…
container-manager-kubernetes-operations
Full operational Kubernetes surface via the container-manager-mcp MCP server — workloads (pods/rollouts/StatefulSets/DaemonSets/ReplicaSets/Jobs/CronJobs), config (ConfigMaps/Secrets/Namespaces/CRDs/patch), networking (Ingress/native Services/NetworkPolicy/DNS), storage (PV/PVC/StorageClass/snapshots/CSI), RBAC…
container-manager-config-walkthrough
End-user setup guide for the container-manager-mcp MCP server — choosing CONTAINERMANAGERTYPE (docker/podman/kubernetes/multi), wiring .env / mcpconfig toggles, connecting remote Docker/Podman hosts via the tunnel-manager inventory versus remote Kubernetes clusters via kubeconfig contexts, and a first-run verification…