comfyui-runner

TotalClaw 作者 totalclaw

ComfyUI 实例的启动/停止/状态。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~xtopher86-comfyui-runner
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~xtopher86-comfyui-runner/file -o xtopher86-comfyui-runner.md
## 概述(中文)

ComfyUI 实例的启动/停止/状态。

## 原文

# 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
```json
{
  "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
```json
{"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.