coolify-compose

coolify-compose is a skill for Claude Code, Codex from joshuadavidthomas/agent-skills. It costs 46 tokens per session (2,846 once invoked), scanned A, a copy of coolify-compose, MIT.

A guide for converting Docker Compose configurations into Coolify deployment templates. Coolify is a platform for deploying applications and services, and its templates can use generated credentials and dynamic service URLs.

In plain words
What is it for?
Use it to prepare Compose files for Coolify, configure magic variables such as service URLs and passwords, choose a deployment mode, and troubleshoot template compatibility.
Why use it?
It explains differences between Coolify’s pasted-Compose mode and repository mode, helping avoid unsupported fields and deployment errors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./config/settings.json:/app/config.json:ro.

Good fit Use it to prepare Compose files for Coolify, configure magic variables such as service URLs and passwords, choose a deployment mode, and troubleshoot template compatibility.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/joshuadavidthomas/agent-skills
agentmods
npx agentmods add skills/joshuadavidthomas/agent-skills/coolify-compose

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/joshuadavidthomas/agent-skills/coolify-compose.svg)](https://agentmods.dev/skills/joshuadavidthomas/agent-skills/coolify-compose)
Your own site
<a href="https://agentmods.dev/skills/joshuadavidthomas/agent-skills/coolify-compose"><img src="https://agentmods.dev/badge/skills/joshuadavidthomas/agent-skills/coolify-compose.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,846 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 100% copy Near-identical to another mod 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.00046 $0.02846
Opus 5 $0.00023 $0.01423
Sonnet 5 $0.00009 $0.00569
Haiku 4.5 $0.00005 $0.00285

Measured 8d ago against content hash 835a30dcba61, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

coolify-compose 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 8d 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.

test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/health"]
Origin

This is a copy

100% identical to coolify-compose — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

coolify-compose/SKILL.md · 390 lines

How it starts

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

Coolify Docker Compose

Convert standard Docker Compose files into Coolify-compatible templates with automatic credential generation, dynamic URLs, and one-click deployment.

Two Deployment Modes

Coolify supports two ways to deploy compose files with different capabilities:

1. Raw Compose (Paste Content)

Paste compose YAML directly into Coolify's UI. Limited feature set:

Feature Supported
image: ✅ Yes
build: ❌ No - must use pre-built images
External config files ❌ No - must use inline content:
YAML anchors (&, *) ✅ Yes - resolved by YAML parser
Coolify magic variables ✅ Yes
content: for inline files ✅ Yes

Use when: Quick deployments, simple services, no custom images needed.

2. Repository Mode (Git URL)

Point Coolify to a Git repository containing your compose file. Full Docker Compose features:

Feature Supported
image: ✅ Yes
build: ✅ Yes - builds from Dockerfile in repo
External config files ✅ Yes - relative paths work
Coolify magic variables ✅ Yes
content: for inline files ✅ Yes

Use when: Custom images needed, complex multi-file setups, existing docker-compose.yml in a repo.

Repository setup:

my-service/
├── compose.yml          # or docker-compose.yml
├── custom-image/
│   ├── Dockerfile
│   └── config.sql
└── other-files/
# compose.yml - can use build:
services:
  app:
    build:
      context: ./custom-image
      dockerfile: Dockerfile

Which Mode to Use?

Original compose has... Recommended mode
Only image: references Either works
build: directives Repository mode
External config files to mount Repository mode (or use content: in raw)
Single simple service Raw mode is faster

Quick Start

Every Coolify template needs a header and magic variables:

# documentation: https://example.com/docs
# slogan: Brief description of the service
# category: backend
# tags: api, database, docker
# logo: svgs/myservice.svg
# port: 3000

services:
  app:
    image: myapp:latest
    environment:
      - SERVICE_URL_APP_3000           # Generates URL, routes proxy to port 3000
      - DATABASE_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@db:5432/mydb
    depends_on:
      db:
        condition: service_healthy
    healthcheck:
      test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/health"]
      interval: 5s
      timeout: 10s
      retries: 10

  db:
    image: postgres:16-alpine
    environment:
      - POSTGRES_USER=$SERVICE_USER_POSTGRES
      - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER}"]
      interval: 5s
      timeout: 10s
      retries: 10

Read the full file on GitHub · 390 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. 8d ago First seen · 390 lines · 46 tokens per session scan A 835a30dcba61

Subscribe to this mod's changes

coolify-compose is a skill published in the GitHub repository joshuadavidthomas/agent-skills (50 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 2,846 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to coolify-compose, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

openshell-cli

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, policy iteration, settings, service exposure, BYOC workflows, and inference routing. Covers basic through advanced multi-step workflows. Trigger keywords - openshell, sandbox…

NVIDIA/OpenShell · 127 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

compute-env-setup

Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…

UnicomAI/wanwu · 134 tokens

azure-cloud-migrate

Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud…

microsoft/skills · 106 tokens

atmos-helmfile

Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, varfile generation, EKS integration, source management.

cloudposse/atmos · 33 tokens