据 AlphaMoat 统计,截至 2026-09,OpenClaw ComfyUI 累计下载 4,526 次、获 13 个星标,在全部 5,078 个 AI 技能中排名第 2,126 位,在「设计创意」分类(512 个)中排名第 207 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 144 | 4,248 | 11 | - |
| SkillHub ↗ | 224 | 4,526 | 13 | — |
各平台的计数口径不同,统计时间不一致。
核心脚本 skills/comfyui/comfy_client.py 负责提示注入、图片上传与结果轮询;主机地址在 TOOLS.md 中配置(示例为 192.168.1.38:8190),工作流模板存放于 skills/comfyui/workflows/,输出写入工作区相对路径 outputs/comfy/。经 python3 skills/comfyui/comfy_client.py <template_id> "<prompt>" [input_image_path] [orientation] 调用:gen_z 用 image_z_image_turbo.json 做文生图,qwen_edit 用 qwen_image_edit_2511.json 做图生图/编辑并支持自动上传输入图;orientation 可选 portrait(720x1280)或 landscape(1280x720),默认 portrait。扩展时把 API 格式的 JSON 工作流放入 workflows 目录并在 WORKFLOW_MAP 注册新 ID,必要时调整 main() 的注入逻辑。省 token 策略:对话中只以 template_id 引用工作流、不发送完整 JSON,优先使用元数据中的文件路径而非视觉分析图片内容,并经消息插件(如 Telegram)或本地 open 直接交付图片,避免 base64 数据撑大上下文。skill-card 提示:ComfyUI 服务器可影响下载文件名并在缺乏安全路径检查时写本地文件,应把下载限制在批准的输出目录、规范化文件名并拒绝路径穿越;上传用于编辑的媒体会离开本地发往所配置的 ComfyUI 服务器,远程或共享端点会增大暴露面。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 4,526 | — | 13 |
| 2026-08 | 4,140 | +4.0% | 13 |
| 2026-07 | 3,981 | +9.9% | 13 |
| 2026-06 | 3,622 | +6.9% | 11 |
| 2026-05 | 3,387 | — | 12 |
| 2026-03 | 2,261 | — | 10 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
# 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)
## 🛠️ 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.
ContextWeave 架构图一键生成
用 Nano Banana Pro 生成或编辑图片的脚本技能。
用 whisper 命令行在本地把音频转写成文字或做翻译的技能。
通过 MCP 服务生成与编辑图表的技能。
面向界面设计的思路与落地建议技能,覆盖布局、交互流程、设计令牌与前端改动。
面向多家视频模型 API 的 AI 视频生成与编排技能。
用 ffmpeg 从视频里取出画面帧,或生成便于快速查看的缩略图。
用本地 Whisper 把音频文件转成文字,模型下载完成后可完全离线运行。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。