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 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/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/vikasudasi/skill-vault/docker-compose-services"><img src="https://agentmods.dev/badge/skills/vikasudasi/skill-vault/docker-compose-services.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.00025 | $0.00427 |
| Opus 5.5 | $0.00010 | $0.00171 |
| Sonnet 5.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 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.
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.
- 1mo 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 2mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 427 once invoked, about $0.0001 per session on Opus 5.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…
compose
A guide to Docker Compose, a tool for defining and running applications made of multiple containers, such as a web app, API, and database.
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.
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…
docker-compose
Containerização com Docker e Docker Compose: configuração para desenvolvimento com hot reload, produção com health checks, multi-stage builds, Docker networks e gestão de secrets e variáveis de ambiente.
docker-compose
Use when orchestrating multi-container Docker applications from a single declarative compose.yaml — defining services, networks, and volumes, then building, starting, and stopping them as one unit. Covers image/build, ports, volumes, environment, dependson, healthcheck, profiles, and the docker compose CLI.