Skip to content
Back to skills

Deploy Coolify

ASecurity

Deliver the app to a Coolify instance — register the Coolify environment, then run `spectoflow deliver`, which triggers the deploy through Coolify's API, follows it until Coolify says it finished, and health-checks the result.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsrustshelldockergitapi

Works with

  • api

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add georgesmomo/spectoflow --skill deploy-coolify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deploy Coolify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deploy Coolify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/georgesmomo-deploy-coolify/badge)](https://www.skillsdirectory.com/skills/georgesmomo-deploy-coolify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deploy-coolify
description: Deliver the app to a Coolify instance — register the Coolify environment, then run `spectoflow deliver`, which triggers the deploy through Coolify's API, follows it until Coolify says it finished, and health-checks the result.
capability: operations
inputs: A project that already builds, and what the USER gives you about their Coolify — the instance address and the UUID of the application or service to deploy. The API token is theirs and stays in their shell.
outputs: A `coolify` environment in `.spectoflow/config.json` and a delivery result — Coolify finished and the app is healthy, or the failure code with its cause.
standard: Coolify API reference (coolify.io/docs/api-reference), The Twelve-Factor App
---
# Deploy to Coolify

Coolify builds and runs the app itself (from the Git repository or image it is connected to); spectoflow only asks it to
deploy and waits for its verdict. Never push the user's secrets anywhere, never create Coolify resources on your own.

## When to use
The Deliver step with a target of `platform` and a Coolify instance, or the user says "deploy it on my Coolify". Not for a
plain server over ssh or local Docker (skill `deploy`), not for Dokploy or Vercel (their own skills).

## Method
1. **Ask for what only the user knows**: the Coolify address (`https://coolify.example.com`) and the **UUID** of the
   resource (Coolify → the application → its URL, or Webhooks tab). Do not guess either.
2. **Check what Coolify will deploy.** It deploys what is **pushed** to the connected repository, not this working
   folder: `git status` and the branch must be pushed first. Say so if they are not and stop — pushing is the user's call.
3. **Register it**: `spectoflow env add <name> --type=coolify --api=https://… --uuid=… --url=https://<the app's public url> --health=/health`
   (`--token-env=NAME` if the variable is not `COOLIFY_TOKEN`). The command allows it on this machine.
4. **The token is the user's.** Tell them to create an API token in Coolify (Keys & Tokens → API tokens, with the
   `deploy` and `read` permissions; a self-hosted instance must have API access enabled) and `export COOLIFY_TOKEN=…` in
   the shell that runs spectoflow. Never ask them to paste it to you, never write it to a file.
5. **Deliver**: `spectoflow deliver --env=<name>` (a policy gate may ask the user first — wait for it).
6. **On failure, act on the code**: `untrusted-platform` → the user runs `spectoflow env trust <name>`; `platform-auth` → the
   token is missing or lacks a permission; `platform-not-found` → wrong UUID; `platform-unreachable` → address or network;
   `deploy-failed` → read the log tail in the output (Coolify keeps the full log); `deploy-timeout` → Coolify may still
   finish, look at it before delivering again; `health-failed` → the app is up in Coolify but the url or health path is wrong.
   At most **three** attempts for the same code, then report it blocked with the last output.

## Output contract
```
::spectoflow role=operations kind=summary msg=<delivered to <name> (Coolify finished, healthy at <url>) — or the code and the cause>
```
A delivery that did not end healthy is never reported as done: end with `REJECTED: <code> — <one-line cause>`.

## Quality bar
- [ ] `spectoflow deliver` exited 0 in this session, not an earlier one.
- [ ] No token, key or password was written to a file or printed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.