Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

coolify-manager

FreeNo executable scriptsNot checked

Manage and troubleshoot Coolify deployments using the official CLI and API. Use this skill when the user needs help with Coolify server management, WordPress…

ajmcclaryby ajmcclary★ 18 GitHub stars

About this skill

Coolify Manager

Overview

This skill enables management of Coolify deployments through both the official CLI and direct API access. It provides workflows for diagnosing service issues, fixing common WordPress problems, managing containers, and performing deployment operations across self-hosted and cloud Coolify instances.

Quick Start

Prerequisites Check

Before proceeding, verify:

  1. User has access to a Coolify instance (self-hosted or cloud)
  2. User can obtain an API token from their Coolify dashboard at /security/api-tokens
  3. User knows their Coolify instance URL

When to Use This Skill

Invoke this skill when the user:

  • Mentions Coolify by name
  • Needs to debug a down WordPress site hosted on Coolify
  • Wants to check service health, logs, or status
  • Needs to access a container terminal
  • Wants to manage deployments, services, or applications
  • Has SSL certificate issues on Coolify-hosted sites
  • Needs to fix .htaccess or PHP configuration issues
  • Wants to manage environment variables or configurations

Installation & Setup

Step 1: Install Coolify CLI

If the CLI is not already installed, use the bundled installation script:

bash scripts/install_coolify_cli.sh

This installs to ~/.local/bin/coolify. Ensure this directory is in the user's PATH:

export PATH="$HOME/.local/bin:$PATH"

Add this line to the user's shell configuration file (~/.bashrc, ~/.zshrc, etc.) for persistence.

Step 2: Configure Context

Add the user's Coolify instance:

coolify context add <context-name> <coolify-url> <api-token>

Example:

coolify context add production https://coolify.example.com YOUR_API_TOKEN

Step 3: Verify Connection

coolify context verify

This confirms successful authentication and connectivity.

Health Check

Run the bundled health check script:

bash scripts/check_health.sh

This displays:

  • CLI version
  • Configured contexts
  • Connection status
  • Available resources
  • Server status

Diagnosing Issues

Workflow Decision Tree

When a user reports an issue:

  1. Is it service availability?

    • Site is down → Check service status
    • Container not responding → Check logs
    • Deploy failed → Check deployment history
  2. Is it WordPress-specific?

    • 500 error after .htaccess change → Fix .htaccess
    • REST API warnings → Diagnose REST API
    • PHP limits → Update PHP configuration
    • SSL issues → Check certificates
  3. Is it performance/configuration?

    • Need to change env vars → Manage environment
    • Need to scale → Manage resources
    • Need to deploy → Trigger deployment

Check Service Status

# List all resources with status
coolify resource list

# Get detailed service info
coolify service get SERVICE_UUID

# Check specific application
coolify app get APP_UUID

Status indicators:

  • running:healthy - Service is operational
  • running:unhealthy - Service has issues (check logs)
  • stopped - Service is not running
  • deploying - Deployment in progress

Check Logs

# Application logs
coolify app logs APP_UUID

# Get more lines
coolify app logs APP_UUID --lines 500

For services with multiple components (like WordPress with database), get the service details first to identify component UUIDs:

coolify service get SERVICE_UUID --format json

Then extract application/database UUIDs from the JSON output.

Using the API Directly

When CLI doesn't provide needed functionality, use direct API calls. Reference: references/api_endpoints.md

Example - Get detailed service configuration:

curl -H "Authorization: Bearer API_TOKEN" \
  https://coolify-instance.com/api/v1/services/SERVICE_UUID

Managing Services

Start/Stop/Restart

# Services
coolify service start SERVICE_UUID
coolify service stop SERVICE_UUID
coolify service restart SERVICE_UUID

# Applications
coolify app start APP_UUID
coolify app stop APP_UUID
coolify app restart APP_UUID

# Databases
coolify database start DB_UUID
coolify database stop DB_UUID
coolify database restart DB_UUID

Deploy Applications

# Deploy by UUID
coolify deploy APP_UUID

# Check deployment status
coolify deploy list APP_UUID

Manage Environment Variables

# List env vars
coolify app env list APP_UUID

# Add/update env var
coolify app env set APP_UUID VAR_NAME "value"

# Delete env var
coolify app env delete APP_UUID VAR_NAME

# Restart to apply changes
coolify app restart APP_UUID

WordPress Troubleshooting

For WordPress-specific issues, reference: references/wordpress_fixes.md

Accessing WordPress Container

Via Coolify Web Terminal (Recommended):

  1. Navigate to Coolify dashboard
  2. Go to WordPress service
  3. Click "Terminal" in sidebar
  4. Select "wordpress" container

Via Docker (if SSH access available):

docker exec -it CONTAINER_NAME bash

WordPress files are located at: /var/www/html/

Full SKILL.md on GitHub

Install coolify-manager in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

.gitignoreCLAUDE.mdREADME.md

FAQ

What does the coolify-manager skill do?

Manage and troubleshoot Coolify deployments using the official CLI and API. Use this skill when the user needs help with Coolify server management, WordPress troubleshooting on Coolify, debugging service issues, checking SSL certificates, accessing containers, or managing applications and databases through Coolify. Particularly useful for diagnosing down services, fixing .htaccess issues, REST API problems, and performing deployment operations.

How do I install the coolify-manager skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the coolify-manager skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare coolify-manager with