comfyui
하는 일
ComfyUI를 설치하고, 하드웨어를 확인하고, 이미지, 영상, 오디오를 만드는 저장된 워크플로를 실행하도록 돕습니다. AI 이미지와 영상 생성을 세밀하게 제어하려는 창작자를 위한 스킬입니다.
사용하는 경우
- ✓ComfyUI 워크플로로 이미지나 영상을 만들고 싶을 때.
- ✓내 컴퓨터에서 ComfyUI를 실행할 수 있는지, 아니면 클라우드를 써야 하는지 확인해야 할 때.
- ✓워크플로에 모델이나 노드가 빠져 있어 고쳐야 할 때.
스킬 링크
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/comfyui/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 컴퓨터에 ComfyUI를 설정하고, 제 프롬프트로 제품 이미지를 만드는 워크플로를 실행해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 하드웨어를 확인하고, 공식 comfy-cli 도구를 설치하고, ComfyUI를 시작한 뒤 API로 워크플로를 실행합니다. 빠진 모델이나 노드를 나열하고 고칠 수도 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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— everycomfy ...command, with flagsrest-api.md— REST + WebSocket endpoints (local + cloud), payload schemasworkflow-format.md— API-format JSON, common node types, param mappingtemplate-integrity.md— convertingcomfyui-workflow-templatesfrom 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
자주 묻는 질문
로컬 버전과 클라우드 버전 중 무엇을 써야 하나요?
하드웨어 확인 스크립트가 그래픽카드와 디스크 공간을 기준으로 로컬 또는 Comfy Cloud를 추천합니다.
설정 스크립트는 무엇을 하나요?
하드웨어 확인을 실행하고, comfy-cli와 ComfyUI를 설치하고, 실행한 뒤 제대로 작동하는지 확인합니다.
워크플로에서 무엇을 바꿀 수 있는지 볼 수 있나요?
예. 워크플로에서 조절 가능한 매개변수를 나열하는 스크립트가 포함되어 있습니다.
상세 정보
인기도
- GitHub 스타
- 260k
- 순위
- #459
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-merge-conflict-arbiter
260k병렬로 작업한 두 에이전트 브랜치 사이의 git 병합 충돌을 중립적인 제3자로서 해결하고, 저장소에 하나의 병합 결과를 만듭니다.
antigravity-cli
260kAntigravity 명령줄 도구의 설치, 업데이트, 플러그인, 로그인, 샌드박스 문제를 해결하도록 단계별로 안내합니다.
blackbox
260k에이전트가 여러 AI 모델을 실행해 최선의 결과를 고르는 Blackbox AI 명령줄 도구에 코딩 작업을 맡기도록 돕습니다.
dynamic-workflow
260k많은 비슷한 작업을 저장된 스크립트로 실행하고, 검증된 결과만 메인 대화로 돌아오도록 에이전트에게 가르칩니다.