360 Secure SkillHub
360 安全技能中心

comfyui-runner

通过 Node CLI 接收 JSON 指令,对本地 ComfyUI 实例执行 run/stop/status;使用 COMFYUI_HOST、COMFYUI_PORT 及可选基础认证环境变量或 .env 配置,并用 curl 探测 /health 端点判断服务可达性。

xtopher86
xtopher86
热度 98.79
最近更新 2026-05-11 15:50:52
分类:自动化依赖:代码执行 / 第三方 API应用场景:DevOps / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add comfyui-runner
Metadata
name
comfyui-runner
description
Start/stop/status for a ComfyUI instance.
metadata
{"clawdbot":{"emoji":"🧩","requires":{"bins":["node","curl"]},"entry":"bin/cli.js"}}

comfyui-runner

Purpose

Start, stop, and check the status of a local ComfyUI instance.

Configuration

  • COMFYUI_HOST: Host/IP of the ComfyUI server (default 192.168.179.111).
  • COMFYUI_PORT: Port of the ComfyUI server (default 28188).
  • COMFYUI_USER: Optional username for basic auth.
  • COMFYUI_PASS: Optional password for basic auth.

These can be set via environment variables or a .env file in the skill directory.

Usage

{
  "action": "run" | "stop" | "status"
}
  • run: Starts the ComfyUI server if not already running.
  • stop: Stops the ComfyUI server.
  • status: Returns whether the server is reachable.

Example

{"action": "status"}

Notes

This skill assumes the ComfyUI binary is available in the system PATH or in the same directory as the skill. It uses curl to ping the /health endpoint.