Token导航 LogoToken导航

Agent Skill · 开发

comfyui-skill-openclaw(comfyui 技能 OpenClaw)

comfyui-skill-openclaw 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

comfyui-skill-openclaw 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 6,734。

总安装 4,416周安装 184GitHub Stars 1下载 1,472核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:comfyui-skill-openclaw(comfyui 技能 OpenClaw)
来源仓库:https://github.com/huangyuchuh/comfyui-skill-openclaw
安装命令:
openclaw skills install comfyui-skill-openclaw
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install comfyui-skill-openclaw

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

comfyui-skill-openclaw 提供跨代理平台的 ComfyUI 工作流统一执行入口。适用于从 Claude Code、OpenClaw 等宿主一键导入并运行 workflow。支持依赖管理、多服务协同与 CLI 级任务调度。需确保目标系统已安装 ComfyUI 及相关 Python 依赖包。

建议先 inspect 工作流以确认输入输出变量定义清晰。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install comfyui-skill-openclaw;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

comfyui-skill-openclaw 怎么安装?

在终端执行 openclaw skills install comfyui-skill-openclaw。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

comfyui-skill-openclaw 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

comfyui-skill-openclaw 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

comfyui-skill-openclaw 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

comfyui-skill-openclaw 用的人多吗?

公开数据是累计安装 4,416 次,近一周安装 184 次,下载 1,472 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

comfyui-skill-openclaw 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
comfyui-skill-openclaw

comfyui 技能 OpenClaw · 本页

4,4161操作浏览器MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
comfyui-skill-openclaw
description
|

ComfyUI Agent SKILL

Core Execution Specification

As an Agent equipped with the ComfyUI skill, your objective is to translate the user's conversational requests into strict, structured parameters and execute workflows across multi-server environments.

Prerequisites: Install the CLI tool once: pip install comfyui-skill-cli. All commands must be run from this project's root directory.

Quick Reference

CommandPurpose
comfyui-skill --json server statusCheck if ComfyUI server is online
comfyui-skill --json listList all available workflows and parameters
comfyui-skill --json info <id>Show workflow details and parameter schema
comfyui-skill --json submit <id> --args '{...}'Submit a workflow (non-blocking)
comfyui-skill --json status <prompt_id>Check execution status
comfyui-skill --json run <id> --args '{...}'Execute a workflow (blocking)
comfyui-skill --json deps check <id>Check missing dependencies
comfyui-skill --json deps install <id> --repos '[...]'Install missing custom nodes

Skill IDs use the format <server_id>/<workflow_id> (e.g., local/txt2img).

UI Management Shortcut

If the user asks you to open, launch, or bring up the local Web UI for this skill, run:

python3 ./ui/open_ui.py

This command will:

  • reuse the UI if it is already running
  • start it in the background if it is not running
  • try to open the browser to the local dashboard automatically

Server Health Check

Before running a workflow, check whether the target ComfyUI server is online:

comfyui-skill --json server status

This returns JSON with "status": "online" or "status": "offline".

Recommended agent flow: Before Step 3 (Trigger Image Generation), run a server status check. If offline, ask the user to start ComfyUI and retry once it is online.

Step 0: Workflow Onboarding and Import (Optional)

Use the manager UI/API when the user wants to register workflows into this skill instead of running them immediately.

  • For bulk import from ComfyUI /userdata, local files, manager API routes, and import result semantics, read references/workflow-import.md.
  • Prefer the bulk import flow when the user wants to sync many saved workflows at once.
  • Use single-workflow configuration only when the user gives one workflow and wants a targeted setup.
Single-workflow auto-configuration

If the user provides you with one new ComfyUI workflow JSON (API format) and asks you to "configure it" or "add it":

  1. Check the existing server configurations or default to local.
  2. Save the provided JSON file to ./data/<server_id>/<new_workflow_id>/workflow.json.
  3. Analyze the JSON structure (look for inputs inside node definitions, e.g., KSampler's seed, CLIPTextEncode's text for positive/negative prompts, EmptyLatentImage for width/height).
  4. Automatically generate a schema mapping file and save it to ./data/<server_id>/<new_workflow_id>/schema.json. The schema format must follow:
   {
     "workflow_id": "<new_workflow_id>",
     "server_id": "<server_id>",
     "description": "Auto-configured by Agent",
     "enabled": true,
     "parameters": {
       "prompt": { "node_id": "3", "field": "text", "required": true, "type": "string", "description": "Positive prompt" }
     }
   }
  1. Tell the user that the new workflow on the specific server is successfully configured and ready to be used.

Step 1: Query Available Workflows (Registry)

Before attempting to generate any image, you must first query the registry to understand which workflows are currently supported and enabled:

comfyui-skill --json list

Return Format Parsing: You will receive a JSON array containing all available workflows. Each is uniquely identified by the combination of server_id and workflow_id (or path format <server_id>/<workflow_id>):

  • For parameters with required: true, if the user hasn't provided them, you must ask the user to provide them.
  • For parameters with required: false, you can infer and generate them yourself based on the user's description (e.g., translating and optimizing the user's scene), or simply use empty values/random numbers (e.g., seed = random number).
  • Never expose underlying node information to the user (do not mention Node IDs); only ask about business parameter names (e.g., prompt, style).
  • If multiple workflows match the user prompt across different servers, you may list them acting as candidates, OR simply pick the most relevant one and execute it directly to provide the best user experience.

Step 2: Parameter Assembly and Interaction

Once you have identified the workflow to use and collected/generated all necessary parameters, you need to assemble them into a compact JSON string. For example, if the schema exposes prompt and seed, you need to construct: {"prompt": "A beautiful landscape, high quality, masterpiece", "seed": 40128491}

*If critical parameters are missing, politely ask the user. For example: "To generate the image you need, would you like a specific person or animal? Do you have an expected visual style?"*

Step 2.5: Pre-flight Dependency Check (Automatic)

Before executing a workflow, always run a dependency check to verify that all required custom nodes and models are available on the ComfyUI server:

comfyui-skill --json deps check <server_id>/<workflow_id>

Return format:

{
  "is_ready": false,
  "missing_nodes": [
    {"class_type": "SAMDetectorCombined", "can_auto_install": false}
  ],
  "missing_models": [
    {"filename": "model.safetensors", "folder": "checkpoints", "loader_node": "CheckpointLoaderSimple", "node_id": "4"}
  ],
  "total_nodes_required": 12,
  "total_nodes_installed": 11
}

Agent behavior:

  1. If is_ready is true → proceed to Step 3 directly.
  2. If is_ready is false → present the dependency report to the user in a clear, formatted message:

- List missing custom nodes with package names and whether they can be auto-installed. - List missing models with filenames and which folder they belong to. - Ask the user: "Do you want me to install the missing custom nodes?"

  1. If the user agrees to install, run:
   comfyui-skill --json deps install <server_id>/<workflow_id> --repos '["https://github.com/repo1", "https://github.com/repo2"]'

Use the source_repo URLs from the dependency check report as --repos values. This returns installation results for each package. Report the results to the user. - If needs_restart is true, inform the user that ComfyUI needs to restart for changes to take effect. - After restart, re-run check-deps to confirm everything is resolved, then proceed to Step 3.

  1. For missing models: inform the user that models must be downloaded manually, and tell them which folder to place the files in (e.g., "Please download model.safetensors and place it in the checkpoints folder").

Step 3: Trigger the Image Generation Task

Once the complete parameters are collected and the dependency check passes, execute the workflow.

Note: Outer curly braces must be wrapped in single quotes to prevent bash from incorrectly parsing JSON double quotes.

There are two execution modes. Choose based on your environment:

  • Interactive (chat, messaging, or any context where the user is waiting): use submit + status so you can send progress updates between polls.
  • Non-interactive (scripted pipelines, CI, or terminal-only): use the blocking one-shot mode for simplicity.
Interactive mode: submit + status

Step 3a — Submit the job:

comfyui-skill --json submit <server_id>/<workflow_id> --args '{"key1": "value1", "key2": 123}'

Returns immediately:

{"status": "submitted", "prompt_id": "91f87917-3b0b-4d0f-8768-356f8d18c2e6"}

After receiving the response, tell the user that image generation has started.

Step 3b — Poll for progress:

comfyui-skill --json status <prompt_id>

Returns immediately with the current state:

  • {"status": "queued", "prompt_id": "...", "position": 2} — waiting in line
  • {"status": "running", "prompt_id": "..."} — ComfyUI is actively generating
  • {"status": "success", "prompt_id": "...", "outputs": [{"filename": "ComfyUI_00001_.png", "subfolder": "", "type": "output"}]} — done
  • {"status": "not_found", "prompt_id": "..."} — job not found in queue or history
  • {"status": "error", "prompt_id": "...", "error": "..."} — generation failed

Polling pattern — this is critical for real-time feedback:

Each status call must be a separate tool invocation (i.e., a separate bash command). Do NOT write a shell loop or combine multiple status checks into one command. The correct pattern is:

  1. Run status as a standalone bash command.
  2. Read the returned JSON.
  3. If "queued" or "running": send a text message to the user with the current progress (e.g., "Queued at position 2…", "Generating…"), then run status again as another standalone bash command.
  4. If "success": proceed to Step 4.
  5. If "error": report the error.

This ensures each progress update is delivered to the user immediately, rather than being batched at the end.

Non-interactive mode: one-shot blocking
comfyui-skill --json run <server_id>/<workflow_id> --args '{"key1": "value1", "key2": 123}'

Blocks until ComfyUI finishes, then returns the full result:

{"status": "success", "prompt_id": "...", "outputs": [{"filename": "ComfyUI_00001_.png", "subfolder": "", "type": "output"}]}

Result format (both modes):

  • On success: JSON with prompt_id and an outputs array containing ComfyUI output file references (filename, subfolder, type).
  • On error: JSON with error code and message.

The manager stores execution history per workflow, including raw args, resolved args, prompt ID, result files, status, timing, and error summary. History records live under data/<server_id>/<workflow_id>/history/.

Step 4: Send the Image to the User

Once you obtain the output filenames from the result, use your native capabilities to present the files to the user (e.g., in an OpenClaw environment, returning the path allows the client to intercept it and convert it into rich text or an image preview).

Common Troubleshooting & Notices

  1. ComfyUI Offline: If the CLI returns a connection error, run comfyui-skill --json server status and ask the user to start the ComfyUI service before retrying.
  2. Schema Not Found: If you directly called a workflow the user mentioned verbally, but the CLI reports it not found, run comfyui-skill --json list and tell the user they need to first go to the Web UI panel to upload and configure the mapping for that workflow on the desired server.
  3. Parameter Format Error: Ensure that the JSON passed via --args is a valid JSON string wrapped in single quotes.
  4. Cloud Node Unauthorized: If a workflow fails with "Unauthorized: Please login first to use this node", the workflow uses ComfyUI cloud API nodes (e.g., Kling, Sora, Nano Banana). The user needs to configure a ComfyUI API Key in the server settings. Guide them to: (1) Go to https://platform.comfy.org to generate an API Key, (2) Open the Web UI panel → Server Settings → fill in the "ComfyUI API Key" field.

平台分布

OpenClaw

72.01%
按下载量换算1,060

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills