據 AlphaMoat 統計,截至 2026-09,OpenClaw ComfyUI 累計下載 4,526 次、獲 13 個星標,在全部 5,078 個 AI 技能中排名第 2,126 位,在「設計創意」分類(512 個)中排名第 207 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 144 | 4248 | 11 | - |
| SkillHub ↗ | 224 | 4526 | 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 | 4526 | — | 13 |
| 2026-08 | 4140 | +4.0% | 13 |
| 2026-07 | 3981 | +9.9% | 13 |
| 2026-06 | 3622 | +6.9% | 11 |
| 2026-05 | 3387 | — | 12 |
| 2026-03 | 2261 | — | 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),按月更新。口徑說明見資料方法。