docker-compose-first-install

docker-compose-first-install is a skill for Claude Code from caipe-io/ai-platform-engineering. It costs 60 tokens per session (1,498 once invoked), scanned A, original, Apache-2.0.

A checklist for validating the first-install Docker Compose setup of an open-source application. Docker Compose starts and connects the application's containers, while profiles select which groups of containers run.

In plain words
What is it for?
Use it when changing Compose files, environment defaults, release images, authentication and authorization services, databases, retrieval systems, supervisors, or first-launch behavior.
Why use it?
It prevents a fresh local installation from depending on private systems, incorrect image tags, hidden settings, or missing services. It focuses on the documented all-in-one startup path.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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.

agentmods
npx agentmods add skills/caipe-io/ai-platform-engineering/docker-compose-first-install
Any agent
npx skills add caipe-io/ai-platform-engineering --skill docker-compose-first-install
Clone the repo
git clone --depth 1 https://github.com/caipe-io/ai-platform-engineering

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 docker-compose-first-install

README.md
[![agentmods](https://agentmods.dev/badge/skills/caipe-io/ai-platform-engineering/docker-compose-first-install.svg)](https://agentmods.dev/skills/caipe-io/ai-platform-engineering/docker-compose-first-install)
Your own site
<a href="https://agentmods.dev/skills/caipe-io/ai-platform-engineering/docker-compose-first-install"><img src="https://agentmods.dev/badge/skills/caipe-io/ai-platform-engineering/docker-compose-first-install.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,498 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00060 $0.01498
Opus 5 $0.00030 $0.00749
Sonnet 5 $0.00012 $0.00300
Haiku 4.5 $0.00006 $0.00150

Measured 6d ago against content hash 02b2011663c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

docker-compose-first-install 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 6d 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.

.claude/skills/docker-compose-first-install/SKILL.md · 156 lines

How it starts

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

Docker Compose First Install

Protect the plain OSS setup path:

cp .env.example .env
COMPOSE_PROFILES="mcp-servers,caipe-ui-prod,rbac,caipe-supervisor,dynamic-agents,rag,caipe-mongodb,web_ingestor" \
docker compose --env-file .env -f docker-compose.yaml up -d

This flow must work without Cisco-only systems, Slack/Webex bots, local image suffix overrides, or hidden operator knowledge.

When This Skill Applies

Use this skill when a task touches:

  • docker-compose.yaml
  • docker-compose.dev.yaml
  • .env.example
  • release image tags or image suffixes
  • first-install docs or launch commands
  • Keycloak, OpenFGA, RBAC, RAG, MongoDB, supervisor, dynamic agents, web ingestor
  • first-launch UI alerts, release prompts, migrations, or Keycloak health

Required Defaults

The minimal first-install profile set is:

mcp-servers,caipe-ui-prod,rbac,caipe-supervisor,dynamic-agents,rag,caipe-mongodb,web_ingestor

Do not add slack-bot or webex-bot to the default all-in-one path.

Required local Docker defaults:

  • IMAGE_TAG points at the latest supported stable release.
  • caipe-ui in docker-compose.yaml uses the published release tag, without a local-only -prod suffix.
  • caipe-ui has OPENFGA_HTTP=http://openfga:8080.
  • caipe-ui has OPENFGA_STORE_NAME=caipe-openfga.
  • dynamic-agents has AUTHZ_SERVICE_URL=http://caipe-ui:3000 so agent-use decisions can reach the UI BFF/CAS.
  • caipe-ui has Keycloak admin-client values that match the local realm seed:
    • KEYCLOAK_URL=http://keycloak:7080
    • KEYCLOAK_REALM=caipe
    • KEYCLOAK_RESOURCE_SERVER_ID=caipe-platform
    • KEYCLOAK_CLIENT_SECRET=caipe-platform-dev-secret
    • KEYCLOAK_ADMIN_CLIENT_ID=caipe-platform
    • KEYCLOAK_ADMIN_CLIENT_SECRET=caipe-platform-dev-secret
  • keycloak-init receives matching KEYCLOAK_UI_CLIENT_SECRET and KEYCLOAK_PLATFORM_CLIENT_SECRET.
  • UI healthchecks inside containers use 127.0.0.1, not localhost, when probing the local Next.js listener.

Read the full file on GitHub · 156 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. 6d ago First seen · 156 lines · 60 tokens per session scan A 02b2011663c7

Subscribe to this mod's changes

docker-compose-first-install is a skill published in the GitHub repository caipe-io/ai-platform-engineering (406 stars, last pushed yesterday), licensed Apache-2.0. It adds 60 tokens to every session and 1,498 once invoked, about $0.0003 per session on Opus 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-30.