Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

comfyui-workflowcomfyui 工作流程

Agent Skill

comfyui-workflow 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

20,337

周安装

839

GitHub Stars

2

下载量

6,645
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install comfyui-workflow

简介

comfyui-workflow 是内置 33+ 模板的通用执行器,支持自描述式参数发现。

  • 适用于快速调用预设工作流或调试自定义节点的输入输出结构。
  • 可通过 --inspect 自动解析 workflow 所需参数与返回值。
  • 需确保 ComfyUI 服务正常运行且 API 端口可访问。
  • 推荐在修改工作流后重新 inspect 以同步元数据变更。

SKILL.md

name
comfyui-workflow
description
Universal ComfyUI workflow executor with 33+ workflow templates. Self-describing — use --inspect on ANY workflow to discover inputs and outputs automatically. Works with local ComfyUI, Windows Portable via WSL, or remote servers.

ComfyUI Workflows — Agent Usage Guide

⚠️ READ-ONLY WARNING: The scripts in this skill (comfy_run.py, comfy_api.py) are production-validated and must not be modified. They handle 33+ workflow JSONs with complex LiteGraph→API conversion, subgraph expansion, bypass resolution, and multi-format output downloading. Any modification risks breaking all workflows. Only read and use the scripts — never edit them.

Requirements

Before using this skill, ensure your environment meets these requirements:

RequirementDetails
Python3.10 or higher
pip packageswebsocket-client, requests
ComfyUI serverMust be running before executing workflows
TokenRequired if ComfyUI has authentication enabled

Install Python dependencies:

pip install websocket-client requests

Configuration Options

VariableDescriptionDefault
COMFY_HOSTComfyUI server address127.0.0.1:8188
COMFY_WORKFLOW_DIRSAdditional workflow directories(none)

Credentials

CredentialRequiredSource
ComfyUI TokenOnly if auth enabledComfyUI settings page

Personal Configuration Required

Before using this skill, ensure these items are configured for your environment:

ItemDescriptionWhere to Configure
comfy_hostYour ComfyUI server addressscripts/config.json or COMFY_HOST env
ComfyUI serverMust be running before executing workflowsStart manually
Model pathsYour local model directoriesMODELS_INVENTORY.md (for reference)
TokenComfyUI authentication tokenGet from ComfyUI settings
Workflow filesYour own workflow JSON filesworkflows/ directory (see note below)

Quick Setup

1. Start ComfyUI

Start your ComfyUI server manually before executing any workflows. The skill expects ComfyUI to be running at the configured host.

2. Configure Connection

Create scripts/config.json:

{
  "comfy_host": "127.0.0.1:8188",
  "workflow_dirs": []
}

Or set environment variables:

export COMFY_HOST="127.0.0.1:8188"

3. Install Dependencies

pip install websocket-client requests

4. Add Your Workflows

Place workflow JSON files in workflows/ directory, organized by category:

workflows/
├── Image-Text/
│   ├── workflow1.json
│   └── workflow2.json
├── Image-Edit/
│   └── ...
└── Video/
    └── ...

Shell Variables (use in all commands)

VENV=python3  # or path to your venv
SCRIPT=/path/to/comfyui-workflow-skill/scripts/comfy_run.py

End-to-End Workflow (Steps 0–5)

Step 0 — Ensure ComfyUI Is Running

Start ComfyUI manually. Verify it's accessible at http://127.0.0.1:8188.

Step 1 — List Available Workflows

$VENV $SCRIPT --list

Step 2 — Inspect the Workflow

$VENV $SCRIPT -w "workflow_name" --inspect

Step 3 — Prepare Inputs

--prompt "your prompt"           # Text prompts
--image /path/to/image.jpg       # Image inputs
--audio /path/to/audio.wav       # Audio inputs
--video /path/to/video.mp4       # Video inputs
--width 1024 --height 1024       # Resolution
--steps 50 --cfg 4.0 --seed 42   # Sampler settings
--override '{"node_id": {"key": value}}'  # Advanced overrides

Step 4 — Execute

$VENV $SCRIPT -w "workflow_name" --prompt "..." -o /tmp

Step 5 — Collect Outputs

Outputs are saved to the -o directory with auto-generated prefixes.


CLI Reference

Usage: comfy_run.py [-w WORKFLOW] [options]

Modes:
  --list              List all available workflows
  --inspect           Human-readable input/output inspection
  --inspect-json      Machine-readable JSON inspection
  --dry-run           Print API JSON without executing
  --queue             Submit to queue and return immediately
  --status [IDs...]   Check queue state

Input customization:
  --prompt, -p TEXT        Positive prompt
  --negative, -n TEXT      Negative prompt
  --image, -i PATH [...]   Input image(s)
  --audio, -a PATH [...]   Input audio file(s)
  --video, -v PATH [...]   Input video file(s)

Generation settings:
  --width, -W INT          Output width
  --height, -H INT         Output height
  --steps INT              Sampling steps
  --cfg FLOAT              CFG scale
  --seed INT               Random seed

Advanced:
  --override JSON          Node input overrides
  --config PATH            YAML/JSON config file
  --server HOST:PORT       ComfyUI server
  --output-dir, -o PATH    Output directory
  --output-prefix TEXT     Output filename prefix
  --no-ensure              Skip auto-starting ComfyUI
  --no-validate            Skip input validation

Troubleshooting

ProblemFix
Workflow not foundUse --list to see available workflows
NO OUTPUTS generatedRun --inspect to check required inputs
Cannot reach ComfyUIEnsure ComfyUI is running at configured host
Image file not foundUse absolute paths, verify with ls -la
GPU out of memoryReduce resolution or steps

Knowledge Cache Pattern

MODELS_INVENTORY.md and WORKFLOWS_SUMMARY.md serve as the agent's persistent knowledge base for the user's actual ComfyUI setup. Use them to cache learned information across sessions:

⚠️ DO NOT REFERENCE THE EXAMPLE CONTENT: The default content in these files describes sanitized example workflows that will NOT work. Agents MUST update them with the user's actual data before relying on them. Using outdated example data will cause workflow failures.

Initial Setup (First Time)

When the user first provides their own workflow files:

  1. Clean the example content — Remove the sanitized example entries from both files
  2. Populate with user's data — Run --inspect on each workflow, document findings in WORKFLOWS_SUMMARY.md
  3. Inventory models — Scan user's model directories, update MODELS_INVENTORY.md with their actual models

Ongoing Maintenance

  • After using a new workflow → Add its documentation to WORKFLOWS_SUMMARY.md
  • After downloading models → Update MODELS_INVENTORY.md status
  • When learning model-specific quirks → Document tips/tricks in the relevant section

Session Workflow

1. Read MODELS_INVENTORY.md → know available models
2. Read WORKFLOWS_SUMMARY.md → know workflow capabilities
3. Select appropriate workflow without re-inspecting
4. If new workflow discovered → document it for future sessions

This pattern lets the agent skip repeated discovery and work efficiently with cached knowledge.


Reference Documents

DocumentPurpose
MODELS_INVENTORY.mdKnowledge cache — user's installed models, status, paths
WORKFLOWS_SUMMARY.mdKnowledge cache — workflow capabilities, settings, tips
references/prompting-guide.mdPrompt anatomy, model-specific strategies
references/maintenance.mdCode structure, debugging
references/architecture.mdDesign principles

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

97.23%
按下载量换算6,461

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills