| name | compose |
| description | Run docker compose against the current working directory (up, down, or rebuild), optionally with a specific compose file and/or service list. Use this skill whenever the user runs /compose or asks to "compose up", "compose down", "rebuild the containers", "restart docker services", or similar. This skill is a pure bash wrapper — do NOT reason about the task, do NOT inspect compose files, do NOT run auxiliary commands. |
| argument-hint | [FILE.yml] <up|down|rebuild> [services/flags] |
Compose Skill (global)
Thin wrapper over docker compose. Works in any project — operates on the current working directory; docker compose itself locates the compose file.
Usage
/compose [FILE.yml] <up|down|rebuild> [SERVICES... | FLAGS...]
FILE.yml — optional. If omitted, docker compose auto-detects compose.yaml / compose.yml / docker-compose.yaml / docker-compose.yml in the current directory or parents.
- Action —
up, down, or rebuild.
- Extra args — service names and/or docker compose flags (
-v, --remove-orphans, --no-cache, etc.). Passed through verbatim.
How to execute
Run exactly this, replacing $ARGUMENTS with whatever the user typed after /compose:
bash ~/.claude/skills/compose/scripts/compose.sh $ARGUMENTS
Then print the command's output. Stop.
Do NOT
- Do not parse or interpret the arguments yourself — the script does it.
- Do not
cd to a specific project before running — the script uses the user's current working directory.
- Do not open compose files or any other file.
- Do not offer suggestions, next steps, or summaries.
- Do not split the invocation into multiple bash calls.
- Do not add flags the user didn't ask for.