coolify skill
ActiveCoolify CLI wrapper for OpenClaw. Deploy apps, manage projects, set environment variables.
Coolify APIGo CLIDocker
What It Does
Makes Coolify's Go CLI usable from OpenClaw. Handles context switching, app lifecycle, and environment variable management. Abstracts away the UUIDs and API tokens.
The Env Var Bug
Critical: The Coolify CLI app env create command
creates environment variables with empty values. Don't use it. Use the API directly with curl
instead — it's the only reliable way to set env vars.
Working Example
COOLIFY_TOKEN=$(cat ~/.config/coolify/config.json | jq -r '.instances[] | select(.default == true) | .token')
# Set env var via API (reliable)
curl -X POST \\
-H "Authorization: Bearer $COOLIFY_TOKEN" \\
-H "Content-Type: application/json" \\
"http://192.168.8.157:8000/api/v1/applications/$APP_UUID/envs" \\
-d '{"key": "TUNNEL_TOKEN", "value": "$TOKEN", "is_runtime": true}'Key Commands
coolify project create --name NAME
coolify app create public --server-uuid UUID --project-uuid UUID ...
coolify app restart UUID
coolify app logs UUID