compose-operations

compose-operations is a skill for Claude Code from WrongStack/WrongStack. It costs 85 tokens per session (2,241 once invoked), scanned A, original, MIT.

A guide for running and changing Docker Compose applications, where several containers such as an app, database, and worker are managed together.

In plain words
What is it for?
Use it to connect services, configure health-based dependencies, manage networks and volumes, and maintain development or production Compose overrides.
Why use it?
It helps avoid mistakes with service startup order, health checks, networks, ports, environment variables, secrets, and persistent data. It distinguishes temporary container state from data that must be kept.

Skill for Claude Code

Written for Claude Code: paths in frontmatter.

Good fit Use it to connect services, configure health-based dependencies, manage networks and volumes, and maintain development or production Compose overrides.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wrongstack/wrongstack/compose-operations
Install

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.

Any agent
npx skills add WrongStack/WrongStack --skill compose-operations
Clone the repo
git clone --depth 1 https://github.com/WrongStack/WrongStack

Made for: Claude Code.

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 compose-operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/wrongstack/wrongstack/compose-operations/github.svg)](https://agentmods.dev/skills/wrongstack/wrongstack/compose-operations)
Your own site
<a href="https://agentmods.dev/skills/wrongstack/wrongstack/compose-operations"><img src="https://agentmods.dev/badge/skills/wrongstack/wrongstack/compose-operations/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.

agentmods 80×15 button for compose-operations

Your own site · 80×15
<a href="https://agentmods.dev/skills/wrongstack/wrongstack/compose-operations"><img src="https://agentmods.dev/badge/skills/wrongstack/wrongstack/compose-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,241 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00085 $0.02241
Opus 5.5 $0.00034 $0.00896
Sonnet 5.5 $0.00017 $0.00448
Haiku 4.5 $0.00009 $0.00224

Measured 27d ago against content hash 0fd236877943, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

compose-operations scanned grade A 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 27d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- App: `curl -fsS http://127.0.0.1:<port>/healthz` and the changed route
packages/core/skills/compose-operations/SKILL.md · 114 lines

How it starts

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

Compose Operations

Selection card

  • Task: Operate and evolve multi-service Docker Compose stacks.
  • Start: Run docker compose config with the exact -f, --profile and project name the operator uses, and docker compose ps -a for current state.
  • Finish: docker compose up -d --wait reports every service healthy, the app answers through its real port, and named volumes still hold their data.

Overview

Compose state is keyed by project name: containers, networks and volumes are named <project>_<name>, so the merged config and the project identity decide what a command touches. Checked targets 2026-11-02: Docker Engine 29.9.2 and Compose 5.7.0. Verify installed plugin/engine support and release notes; do not introduce a legacy top-level compose version key. Use the docker compose plugin; the Python docker-compose v1 is end-of-life and parses some files differently.

Rules

  1. Review the effective merged configuration (docker compose config) with the same files, profiles, .env and project name as the real operator before any lifecycle command.
  2. Never run docker compose down -v, docker volume rm, docker system prune --volumes or rename a volume or project on a data-bearing stack as a troubleshooting step.
  3. Pair depends_on: condition: service_healthy with a real protocol healthcheck (pg_isready, redis-cli ping, an HTTP readiness URL) and keep reconnect logic in the app; startup order is not runtime availability.
  4. Publish only what must be public. ports: ["5432:5432"] binds all interfaces and Docker's NAT rules bypass ufw's INPUT chain; omit ports for internal services or bind 127.0.0.1:5432:5432.
  5. Keep secrets out of committed .env and compose.yaml; mount them with top-level secrets: (/run/secrets/<name>) or an untracked env file, and redact config before sharing it.
  6. Pin images by tag and preferably digest; record the previous digest before pull so rollback is an edit plus up -d.
  7. Set log rotation (logging with max-size/max-file, or the local driver); default json-file logs grow until the disk fills.
  8. Changing a database image major version on an existing volume is a migration (dump/restore or pg_upgrade), never a tag bump.

Read the full file on GitHub · 114 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. 27d ago Changed · +44 lines · +45 tokens per session 0fd236877943
  2. 1mo ago Changed · +10 lines 97d85962f904
  3. 1mo ago Changed · +1 lines 778c82e71747
  4. 1mo ago Changed abb095bfedbc
  5. 1mo ago First seen · 59 lines · 40 tokens per session scan A 48827b65b1c6

Subscribe to this mod's changes

compose-operations is a skill published in the GitHub repository WrongStack/WrongStack (444 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 2,241 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.

Related

compose-operations compared with skills from other repositories

compose-operations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
compose-operationsWrongStack/WrongStackSkill444todayMITA85Claude Code
infra-ci-cd-dockeragents-inc/skillsSkill281mo agoMITA20Claude Code, Codex
infra-containers-kubernetesagents-inc/skillsSkill281mo agoMITA21Claude Code, Codex
docker-expertLiHongwei-cn/lihongwei-cnSkill51mo agoMITA44Claude Code, Codex
agents-v2-pyLiHongwei-cn/lihongwei-cnSkill51mo agoMITA39Claude Code, Codex
local-env-orchestrationLiorCohen/sddSkill439mo agononeA15Claude Code
research-repositoryOwl-Listener/designer-skillsSkill3.5k11d agoMITA43Claude Code, Codex