Dihan

ComfyUI Skill

Design & Mediav1.0.0
By DihanUpdated 2026-05-17comfy-ui@clawhub_dihan/comfy-ui
Image Generation#Image Generation

According to AlphaMoat, as of 2026-09, ComfyUI Skill has 2,941 downloads and 5 stars — ranked #3,773 of 5,078 AI skills overall, and #360 of 512 in Design & Media.

Installs
102
Downloads
2.9K
Stars
5
Overall Rank
#3,773
Top 75% overall · Top 71% in Design & Media
PlatformInstallsDownloadsStarsComments
ClawHub ↗602.3K32
SkillHub ↗1022.9K5—

Platforms count differently and update at different times.

What this skill does

It can use a default workflow or a user-provided API workflow, send a prompt to the server for generation, and download the result locally. Before use, configure a reachable server and enable API mode. Prompts and workflows are sent to that server. Review downloaded filenames and output paths to prevent writes outside the intended directory.

Profile published 2026-10-29

What you can do with it

  • Submit image-generation prompts to the configured ComfyUI server.
  • Specify a custom workflow JSON for a generation request.
  • Inspect generated files and their local output paths.

When to use it

  • When generating images with a local ComfyUI installation and the user’s own hardware.
  • When submitting prompts through a configured workflow.
  • Before sending sensitive prompts or workflows, exposing a network service, or handling downloaded files, when server trust and output-path safety need confirmation.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

List the server address, API mode, and workflow file to confirm before using local ComfyUI; do not start generation.
Check the prompt and destination path for downloaded files before generation, ensuring nothing is written outside the intended directory.

Monthly Trend

Downloads2.9K
6501.9K3.1K2026-03 · Downloads 8202026-05 · Downloads 1.4K2026-07 · Downloads 2.1K2026-08 · Downloads 2.4K2026-09 · Downloads 2.9K26-0326-09
Stars5
3452026-03 · Stars 32026-05 · Stars 42026-07 · Stars 42026-08 · Stars 52026-09 · Stars 526-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.9K—5
2026-082.4K+18.1%5
2026-072.1K—4
2026-051.4K—4
2026-03820—3

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.9 KB · ClawHub v1.0.0
---
name: comfyui
description: Generate high-quality images using a local ComfyUI instance. Use when the user wants private, powerful image generation via their own hardware and custom workflows. Requires a running ComfyUI server accessible on the local network.
metadata:
  {
    "openclaw":
      {
        "emoji": "🎨",
        "requires": { "env": ["COMFYUI_SERVER_ADDRESS"] },
      },
Show all (63 lines)
  }
---

# ComfyUI Local Skill

This skill allows OpenClaw to generate images by connecting to a ComfyUI instance running on the local network.

## Setup

1. **Server Address:** Set the `COMFYUI_SERVER_ADDRESS` environment variable to your PC's IP and port (e.g., `http://192.168.1.119:8189`).
2. **API Mode:** Ensure **"Enable Dev mode"** is turned on in your ComfyUI settings to allow API interactions.
  
## Usage

### Generate an Image
Run the internal generation script with a prompt:
```bash
python3 {skillDir}/scripts/comfy_gen.py "your image prompt" $COMFYUI_SERVER_ADDRESS
```

### Use a Custom Workflow
Place your API JSON workflows in the `workflows/` folder, then specify the path:
```bash
python3 {skillDir}/scripts/comfy_gen.py "your prompt" $COMFYUI_SERVER_ADDRESS --workflow {skillDir}/workflows/my_workflow.json
```

## Features
- **SDXL Default:** Uses a high-quality SDXL workflow (Juggernaut XL) by default.
- **Auto-Backup:** Designed to save images to `image-gens/` and can be configured to sync to local document folders.
- **Custom Workflows:** Supports external API JSON workflows saved in the `workflows/` folder. The script will automatically try to inject your prompt and a random seed into the workflow nodes.

## Implementation Details
The skill uses a Python helper (`scripts/comfy_gen.py`) to handle the WebSocket/HTTP handshake with the ComfyUI API, queue the prompt, and download the resulting image.

## ComfyUI Image Generation Notes:

1.  **Server Address:**
    *   The ComfyUI server address needs to be passed as a direct argument to the `comfy_gen.py` script after the prompt, not just as an environment variable.
    *   Example: `python3 ... "Your prompt" http://192.168.1.119:8189 ...`

2.  **Workflow Paths:**
    *   When specifying a workflow file path that contains spaces or special characters, it must be enclosed in single quotes to be parsed correctly by the script.
    *   Example: `--workflow '/path/to/your/workflow file name.json'`

3.  **Lora Weight Control:**
    *   The current `comfy_gen.py` script does not appear to have a direct parameter for controlling Lora weights (e.g., setting 'l1lly' Lora to 0.90). This might need to be configured within the workflow JSON itself, or require modifications to the script or workflow.

4.  **Output Filenames:**
    *   Generated images might be saved with temporary names (e.g., `ComfyUI_temp_...png`) rather than more descriptive ones by default.

5.  **ComfyUI Setup:**
    *   Ensure "Enable Dev mode" is turned on in ComfyUI settings for API interactions.

Popular in Design & Media

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.