Token导航 LogoToken导航TokenDH.com
运维和基础设施敏感数据github未标认证来源可访问许可证需确认审计异常

coolify-manager酷化经理

Agent Skill

coolify-manager 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,187

周安装

214

GitHub Stars

7

下载量

1,695
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:coolify-manager(酷化经理)
来源仓库:https://github.com/ajmcclary/coolify-manager
仓库路径:skills/coolify-manager
安装命令:
npx skills add https://github.com/ajmcclary/coolify-manager --skill coolify-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ajmcclary/coolify-manager --skill coolify-manager

简介

Coolify Manager 支持通过 CLI 与 API 统一管理 Coolify 实例上的部署与服务。

  • 适用于诊断 WordPress 故障、管理容器生命周期与执行跨实例操作。
  • 需用户提供 Coolify URL 与 API token,验证权限后方可调用接口。
  • 支持自托管与云服务,但网络连通性与令牌有效期需提前确认。
  • coolify-manager 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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

  1. 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

  1. 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/

Common WordPress Issues

Site Down After.htaccess Edit

This is a critical issue that requires immediate action:

  1. Access the container terminal (see above)
  2. Check the.htaccess file: cd /var/www/html cat.htaccess
  3. Identify problematic line (usually last added line)
  4. Remove problematic line: sed -i '$d' /var/www/html/.htaccess
  5. Service should recover immediately

PHP Configuration Limits

To increase PHP limits (max_input_vars, upload limits, etc.):

Correct syntax (no = sign, use space):

echo "php_value max_input_vars 3000" >> /var/www/html/.htaccess
echo "php_value upload_max_filesize 64M" >> /var/www/html/.htaccess
echo "php_value post_max_size 128M" >> /var/www/html/.htaccess
echo "php_value memory_limit 256M" >> /var/www/html/.htaccess

Verify:

tail -5 /var/www/html/.htaccess

REST API False Positives

If Site Health reports REST API unavailable but the site works normally:

  1. Test REST API externally: curl https://site.com/wp-json/
  2. If JSON returns, it's a false positive - the API works fine
  3. Common cause: Site Health loopback test is blocked, not the actual API
  4. Verify HTTP_AUTHORIZATION in.htaccess: grep "HTTP_AUTHORIZATION" /var/www/html/.htaccess Should contain: RewriteRule.* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

For detailed WordPress troubleshooting steps, load references/wordpress_fixes.md into context.

SSL Certificate Issues

Check certificate status:

echo | openssl s_client -servername domain.com -connect domain.com:443 2>/dev/null | openssl x509 -noout -dates -subject -issuer

Coolify uses Traefik with Let's Encrypt for automatic SSL. Certificates auto-renew before expiration.

If certificate is invalid:

  1. Check Coolify dashboard → Service → Domains
  2. Regenerate SSL certificate
  3. Verify Traefik labels in service configuration

Advanced Operations

Working with Multiple Contexts

Switch between Coolify instances:

# List contexts
coolify context list

# Switch context
coolify context use staging

# Perform operations
coolify deploy APP_UUID

# Switch back
coolify context use production

Batch Operations with JSON Output

Use --format json with tools like jq:

# Get all unhealthy services
coolify resource list --format json | jq '.[] | select(.status | contains("unhealthy"))'

# Get all running applications
coolify resource list --format json | jq '.[] | select(.type=="application" and .status=="running")'

# Extract service UUIDs
coolify service list --format json | jq -r '.[].uuid'

Server Management

# List servers with IPs/ports
coolify server list -s

# Validate server connection
coolify server validate SERVER_UUID

# Get server domains
coolify server domains SERVER_UUID

Backup and Recovery

# List databases
coolify database list

# Backup database
coolify database backup DB_UUID

# List backups
coolify database backups DB_UUID

References

This skill includes comprehensive reference documentation:

CLI Commands Reference

Load references/cli_commands.md when the user needs detailed CLI command syntax, flags, or examples.

API Endpoints Reference

Load references/api_endpoints.md when performing direct API calls or when CLI doesn't support the needed operation.

WordPress Fixes Reference

Load references/wordpress_fixes.md when troubleshooting WordPress-specific issues like.htaccess problems, PHP configuration, REST API issues, or SSL certificates.

Common Patterns

Pattern: Service is Down

  1. Check status: coolify resource list
  2. Get details: coolify service get UUID
  3. Check logs: coolify app logs APP_UUID
  4. Identify issue from logs
  5. Fix (restart, update config, fix files)
  6. Verify: coolify resource list

Pattern: WordPress Site Issues

  1. Access container terminal (via Coolify dashboard)
  2. Navigate to /var/www/html
  3. Check .htaccess for syntax errors
  4. Test REST API: curl https://site.com/wp-json/
  5. Check PHP configuration if needed
  6. Restart service if changes made

Pattern: Deployment Issues

  1. List recent deployments: coolify deploy list APP_UUID
  2. Get deployment details: coolify deploy get DEPLOY_UUID
  3. Check application logs: coolify app logs APP_UUID
  4. Fix identified issues (env vars, config, code)
  5. Trigger new deployment: coolify deploy APP_UUID

Troubleshooting This Skill

CLI Not Found

Ensure ~/.local/bin is in PATH:

echo $PATH | grep ".local/bin"

If not found:

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

Add to shell config for persistence.

Connection Failures

  1. Verify API token is valid (check Coolify dashboard)
  2. Check Coolify instance URL is correct
  3. Test manual connection: curl -H "Authorization: Bearer TOKEN" https://instance.com/api/v1/version
  4. Re-configure context if needed

Permission Issues

Ensure API token has required permissions:

  • Read access for status/logs
  • Write access for deployments/restarts
  • Deploy access for triggering deployments

Check token permissions in Coolify dashboard at /security/api-tokens.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.73%
按下载量换算606

Claude

30.97%
按下载量换算525

Cursor

19.94%
按下载量换算338

Gemini CLI

9.87%
按下载量换算167

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills