comfyui-runner

ClawSkills 作者 clawskills

Start/stop/status for a ComfyUI instance.

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install clawskills:clawskills~xtopher86-comfyui-runner
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/clawskills%3Aclawskills~xtopher86-comfyui-runner/file -o xtopher86-comfyui-runner.md
# 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.