跳到主要内容
知仓学习社ZHICANG

coolify-setup

Connect, authenticate, configure, reset, or troubleshoot the Coolify Codex plugin connection. Use when the user asks to set up Coolify from the Code…

不碰外部(只输出文字)无严重或高危命中hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少1 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Coolify Setup

Use this skill for first-time setup, marketplace onboarding, saved credentials, login/logout, and connection troubleshooting for the Coolify plugin.

Marketplace Flow

Marketplace users should not need a repo checkout or shell command.

Before giving up on missing tools, call tool_search for coolify_config_status coolify_configure mcp__coolify when tool_search is available. The expected MCP namespace is mcp__coolify, and the setup tools are named coolify_config_status, coolify_configure, and coolify_logout.

  1. Run coolify_config_status to see whether a connection is already saved.
  2. If no usable connection exists, run coolify_configure without an apiToken argument.
  3. Tell the user to complete the browser window that opens. The page first asks whether Coolify is Cloud-hosted or self-hosted; for self-hosted instances it asks for the URL before showing the matching token page.
  4. Run coolify_config_status again after the user says they finished.
  5. If configured, continue with the requested Coolify task or switch to the coolify skill for operational work.

coolify_configure returns a short-lived local setup URL. If the browser does not open automatically, provide that URL to the user.

If the Coolify MCP tools are not exposed in the thread after tool search, do not work around it by importing files from the current workspace or running repo-local setup code unless the user explicitly says they are developing this plugin from that checkout. For normal marketplace use, explain that the plugin's MCP tools did not load, ask the user to reinstall or update the plugin, and have them start a brand-new top-level thread so Codex can pick up the MCP server. Do not present a same-thread retry, delegated follow-up, or fork of the failed thread as the fix; those can preserve stale plugin capability metadata.

Self-Hosted Instances

The browser setup handles self-hosted instances without requiring the user to paste a URL into chat.

If the user already gave the instance URL, call coolify_configure with baseUrl set to the instance root or /api/v1 URL:

{
  "baseUrl": "https://coolify.example.com"
}

The setup page links to the matching /security/api-tokens page after the instance URL is known.

Storage

The token is stored locally:

  • macOS Keychain when available.
  • Windows Credential Manager when available.
  • Linux Secret Service via secret-tool when available.
  • Otherwise, a local config file under CODEX_HOME or ~/.codex with owner-only permissions.

Environment variables are fallback-only for automation:

  • COOLIFY_BASE_URL
  • COOLIFY_API_TOKEN

Do not make marketplace users set these manually.

Token Handling

  • Coolify API authentication uses Authorization: Bearer <token>.
  • Coolify does not currently document browser OAuth-style authorization for API clients.
  • Ask users to create a least-privileged scoped token.
  • Do not ask users to paste tokens into chat.
  • Never print, summarize, or echo API tokens.

Reset Or Switch Instance

  • Use coolify_logout to forget the saved local connection.
  • Then run coolify_configure again. The browser setup will ask whether the next connection is Coolify Cloud or self-hosted.

Local Development Fallback

Use this only when the user is developing the plugin from a local checkout and specifically wants a terminal command. Marketplace users should use coolify_configure instead.

They can run:

npm run setup -- --save

For self-hosted instances:

npm run setup -- --save https://coolify.example.com

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。