SalmonRK

OpenClaw ComfyUI

Design & Mediav1.0.4
By SalmonRKUpdated 2026-05-113 versions · latest released 2026-02-19openclaw-comfyui@clawhub_salmonrk/openclaw-comfyui
Image GenerationVisual Assets

According to AlphaMoat, as of 2026-09, OpenClaw ComfyUI has 4,526 downloads and 13 stars — ranked #2,126 of 5,078 AI skills overall, and #207 of 512 in Design & Media.

Installs
224
Downloads
4.5K
Stars
13
Overall Rank
#2,126
Top 42% overall · Top 41% in Design & Media
PlatformInstallsDownloadsStarsComments
ClawHub ↗1444.2K11-
SkillHub ↗2244.5K13—

Platforms count differently and update at different times.

What this skill does

The core script skills/comfyui/comfy_client.py handles prompt injection, image uploads, and result polling; the host address is configured in TOOLS.md (example 192.168.1.38:8190), workflow templates live in skills/comfyui/workflows/, and outputs go to outputs/comfy/ relative to the workspace root. Invocation is python3 skills/comfyui/comfy_client.py <template_id> "<prompt>" [input_image_path] [orientation]: gen_z runs text-to-image with image_z_image_turbo.json, and qwen_edit runs image-to-image/editing with qwen_image_edit_2511.json including automatic image upload; orientation is portrait (720x1280) or landscape (1280x720), defaulting to portrait. To extend, drop an API-formatted JSON workflow into the workflows directory and register a new ID in WORKFLOW_MAP, adjusting the injection logic in main() if the workflow uses unique node types. Token-saving strategy: reference workflows by template_id instead of sending full JSON in chat, prefer the file path from metadata over analyzing image content via vision, and deliver images directly via messaging plugins (e.g., Telegram) or local open to avoid bloating the context window with base64 data. The skill card warns that a ComfyUI server can influence downloaded filenames and cause local writes without safe path checks — constrain downloads to an approved output directory, normalize filenames, and reject path traversal; media uploaded for editing leaves the local workspace for the configured ComfyUI server, and remote or shared endpoints increase exposure.

Profile published 2026-10-27

What you can do with it

  • Generate images from text with the gen_z template
  • Run image-to-image editing with automatic upload via qwen_edit
  • Register new ComfyUI workflow templates
  • Deliver generated images in a token-saving way

When to use it

  • When an OpenClaw agent should submit text-to-image or editing jobs to ComfyUI
  • When sending full workflow JSON in conversation should be avoided

Example prompts

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

Generate a portrait cyberpunk city night scene with gen_z
Use qwen_edit to change this image's background to a sunset
Register this new workflow as a template ID

Monthly Trend

Downloads4.5K
2.1K3.4K4.7K2026-03 · Downloads 2.3K2026-05 · Downloads 3.4K2026-06 · Downloads 3.6K2026-07 · Downloads 4.0K2026-08 · Downloads 4.1K2026-09 · Downloads 4.5K26-0326-09
Stars13
1012132026-03 · Stars 102026-05 · Stars 122026-06 · Stars 112026-07 · Stars 132026-08 · Stars 132026-09 · Stars 1326-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-094.5K—13
2026-084.1K+4.0%13
2026-074.0K+9.9%13
2026-063.6K+6.9%11
2026-053.4K—12
2026-032.3K—10

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.1 KB · ClawHub v1.0.4
# ComfyUI-OpenClaw Skill 🎨✨

A professional, token-saving agent skill for connecting and controlling ComfyUI via API. Designed for high efficiency, automatic asset handling, and seamless integration with OpenClaw.

## 🏗️ Skill Structure
- **Host Address:** `192.168.1.38:8190` (Configured in `TOOLS.md`)
- **Workflow Directory:** `skills/comfyui/workflows/` (Self-contained within the skill folder)
- **Output Directory:** `outputs/comfy/` (Relative to workspace root)
- **Core Script:** `skills/comfyui/comfy_client.py` (Handles prompt injection, image uploads, and result polling)
Show all (33 lines)
## 🛠️ Tools (CLI)
Invoke via the `exec` command:
`python3 skills/comfyui/comfy_client.py <template_id> "<prompt>" [input_image_path/orientation] [orientation]`

### Parameters:
- **template_id:**
    1. `gen_z`: Text-to-Image (uses `image_z_image_turbo.json`)
    2. `qwen_edit`: Image-to-Image / Editing (uses `qwen_image_edit_2511.json`) - *Supports automatic image upload.*
- **prompt:** The description of the image to generate or edits to perform.
- **input_image_path:** (Optional) Local path for image-to-image tasks.
- **orientation:** (Optional) Set to `portrait` (720x1280) or `landscape` (1280x720). Defaults to `portrait`.

## 💡 How to Add New Workflows
You can expand this skill easily:
1. Place your new API-formatted JSON workflow in `skills/comfyui/workflows/`.
2. Update the `WORKFLOW_MAP` dictionary in `skills/comfyui/comfy_client.py` with a new ID and the file path.
3. (Optional) If the workflow uses unique node types, adjust the injection logic in the script's `main()` function.

## 🚀 Token-Saving Strategy
- **Template Mapping:** Never send full workflow JSONs in the chat. Refer to them by `template_id`.
- **Vision-Saving Strategy:** To minimize token usage, the agent should prioritize using the **file path from metadata** instead of analyzing image content via vision capabilities unless explicitly asked to describe or analyze the image.
- **Direct Delivery:** Deliver images directly to users via messaging plugins (e.g., Telegram) or local file openers (`open`) to avoid bloating the LLM's context window with base64 data.

Popular in Design & Media

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