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 soulcodex/agentic --skill docker-compose-local-setupgit clone --depth 1 https://github.com/soulcodex/agenticWrote 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/soulcodex/agentic/docker-compose-local-setup)<a href="https://agentmods.dev/skills/soulcodex/agentic/docker-compose-local-setup"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/docker-compose-local-setup/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/soulcodex/agentic/docker-compose-local-setup"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/docker-compose-local-setup.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.00052 | $0.00702 |
| Opus 5.5 | $0.00021 | $0.00281 |
| Sonnet 5.5 | $0.00010 | $0.00140 |
| Haiku 4.5 | $0.00005 | $0.00070 |
Grade A, and why
docker-compose-local-setup 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Docker Compose Local Setup Skill
Set up or improve local multi-service orchestration with docker compose.
Step 1 — Model Local Services
Define the local stack in compose.yaml:
- app services (API, worker, frontend)
- stateful dependencies (database, cache, broker)
- one-off jobs (migrations, seeds)
Keep local concerns explicit and avoid production-only orchestration details.
Step 2 — Configure Build, Runtime, and Networking
For each service:
- Use
build:for local image workflows orimage:when fixed images are preferred. - Set deterministic
container_nameonly when needed for tooling compatibility. - Map ports required for local access.
- Use the default compose network unless isolation is required.
Step 3 — Add Health Checks and Readiness
For services that others depend on:
- Add
healthcheck:with realistic command, interval, timeout, retries, and start period. - Prefer
depends_onwithcondition: service_healthywhere supported by your compose implementation. - If condition-based readiness is unavailable, add explicit wait logic in dependent services.
Step 4 — Manage Configuration and Secrets for Local Use
- Use
env_file:for shared local defaults. - Keep per-service overrides in
environment:. - Commit only safe sample files such as
.env.example. - Never hardcode credentials in
compose.yamlor checked-in env files.
Step 5 — Persist Data and Source Mounts
- Use named volumes for database/cache durability across restarts.
- Use bind mounts for hot-reload source workflows when appropriate.
- Keep mount paths narrow to avoid accidental host pollution.
Step 6 — Handle Migrations and Seed Data
Define one-off jobs for schema and seed flows:
- migration service/command that runs after dependencies are healthy
- optional seed service for local fixtures
- idempotent commands so repeated local setup is safe
Step 7 — Verify End-to-End Startup
Run and validate:
docker compose up --build -ddocker compose psdocker compose logs --tail=200- service-specific checks (HTTP health endpoint, DB connectivity)
What ships with it
1 file 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 · 95 lines · 52 tokens per session scan A 4dc25265677c
docker-compose-local-setup is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 702 once invoked, about $0.0002 per session on Opus 5.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-08-31.
Other skills, from other repositories
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…
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.
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"…
agentbox-info
Spin up isolated sandboxes ("boxes") for coding agents, run them in parallel, queue background runs with -i, and push commits safely through the host relay. Use when the user wants to run Claude Code / Codex / OpenCode in a sandbox, start more boxes, attach to a running box, or otherwise operate the agentbox CLI on…
04-security
A security and operations guide for deploying Dify, an open-source platform for building AI applications, in production.
run-app
Build and start the Mendix app in Docker, and restart it after changes. Use when asked to run, launch or restart the app in a container. For the fast inner loop prefer run-local.