Skip to content
Skillpedia
Images & icons260k Β· #459

comfyui

What it does

It helps you install ComfyUI, check your hardware, and run saved workflows that create images, video, or audio. It is for creators who want detailed control over AI image and video generation.

When to use it

  • βœ“When you want to generate images or video with a ComfyUI workflow.
  • βœ“When you need to check whether your computer can run ComfyUI locally or should use the cloud.
  • βœ“When a workflow is missing models or nodes and needs fixing.

Skill link

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/comfyui/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/comfyui/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œSet up ComfyUI on my computer and run a workflow that makes product images from my prompts.”

5 new skills a week. 1 minute to read.

How it works

The agent checks your hardware, installs the official comfy-cli tool, starts ComfyUI, and runs workflows through its API. It can also list and fix missing models or nodes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

ComfyUI

Generate images, video, audio, and 3D content through ComfyUI using the official comfy-cli for setup/lifecycle and direct REST/WebSocket API for workflow execution.

What's in this skill

Reference docs (references/):

  • official-cli.md β€” every comfy ... command, with flags
  • rest-api.md β€” REST + WebSocket endpoints (local + cloud), payload schemas
  • workflow-format.md β€” API-format JSON, common node types, param mapping
  • template-integrity.md β€” converting comfyui-workflow-templates from editor format to API format: Reroute bypass, dotted dynamic-input keys (values.a, resize_type.width), Cloud quirks (302 redirect, 1 concurrent free-tier job, 1080p VRAM ceiling), Discord-compatible ffmpeg stitch. Authored by @purzbeats. Load this whenever you're starting from an official template.

Scripts (scripts/):

Script Purpose
_common.py Shared HTTP, cloud routing, node catalogs (don't run directly)
hardware_check.py Probe GPU/VRAM/disk β†’ recommend local vs Comfy Cloud
comfyui_setup.sh Hardware check + comfy-cli + ComfyUI install + launch + verify
extract_schema.py Read a workflow β†’ list controllable params + model deps
check_deps.py Check workflow against running server β†’ list missing nodes/models
auto_fix_deps.py Run check_deps then comfy node install / comfy model download
run_workflow.py Inject params, submit, monitor, download outputs (HTTP or WS)
run_batch.py Submit a workflow N times with sweeps, parallel up to your tier
ws_monitor.py Real-time WebSocket viewer for executing jobs (live progress)
health_check.py Verification checklist runner β€” comfy-cli + server + models + smoke test
fetch_logs.py Pull traceback / status messages for a given prompt_id

Example workflows (workflows/): SD 1.5, SDXL, Flux Dev, SDXL img2img, SDXL inpaint, ESRGAN upscale, AnimateDiff video, Wan T2V. See workflows/README.md.

When to Use

  • User asks to generate images with Stable Diffusion, SDXL, Flux, SD3, etc.
  • User wants to run a specific ComfyUI workflow file
  • User wants to chain generative steps (txt2img β†’ upscale β†’ face restore)
  • User needs ControlNet, inpainting, img2img, or other advanced pipelines
  • User asks to manage ComfyUI queue, check models, or install custom nodes
  • User wants video/audio/3D generation via AnimateDiff, Hunyuan, Wan, AudioCraft, etc.

Architecture: Two Layers

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Layer 1: comfy-cli (official lifecycle tool)        β”‚
β”‚   Setup, server lifecycle, custom nodes, models     β”‚
β”‚   β†’ comfy install / launch / stop / node / model    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                          β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Layer 2: REST/WebSocket API + skill scripts         β”‚
β”‚   Workflow execution, param injection, monitoring   β”‚
β”‚   POST /api/prompt, GET /api/view, WS /ws           β”‚
β”‚   β†’ run_workflow.py, run_batch.py, ws_monitor.py    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Why two layers? The official CLI is excellent for installation and server management but has minimal workflow execution support. The REST/WS API fills that gap β€” the scripts handle param injection, execution monitoring, and output download that the CLI doesn't do.

Quick Start

Detect environment

# What's available?
command -v comfy >/dev/null 2>&1 && echo "comfy-cli: installed"
curl -s http://127.0.0.1:8188/system_stats 2>/dev/null && echo "server: running"

# Can this machine run ComfyUI locally? (GPU/VRAM/disk check)
python scripts/hardware_check.py

If nothing is installed, see Setup & Onboarding below β€” but always run the hardware check first.

One-line health check

python scripts/health_check.py
# β†’ JSON: comfy_cli on PATH? server reachable? at least one checkpoint? smoke-test passes?

Core Workflow

Step 1: Get a workflow JSON in API format

Workflows must be in API format (each node has class_type). They come from:

  • ComfyUI web UI β†’ Workflow β†’ Export (API) (newer UI) or the legacy "Save (API Format)" button (older UI)
  • This skill's workflows/ directory (ready-to-run examples)
  • Community downloads (civitai, Reddit, Discord) β€” usually editor format, must be loaded into ComfyUI then re-exported

Editor format (top-level `node

FAQ

Should I use the local or cloud version?

The hardware check script recommends local or Comfy Cloud based on your graphics card and disk space.

What does the setup script do?

It runs the hardware check, installs comfy-cli and ComfyUI, launches it, and verifies that it works.

Can I see what a workflow lets me change?

Yes. The skill includes a script that lists the controllable parameters in a workflow.

Details

Original description by the author

Generate images, video, and audio via diffusion workflows.

repo: NousResearch/hermes-agent

Popularity

GitHub stars
260k
Ranking position
#459
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills