comfyui
Fungsinya
Skill ini membantu Anda memasang ComfyUI, memeriksa perangkat keras, dan menjalankan alur kerja tersimpan yang membuat gambar, video, atau audio. Skill ini ditujukan bagi kreator yang menginginkan kendali rinci atas pembuatan gambar dan video AI.
Kapan dipakai
- βSaat Anda ingin membuat gambar atau video dengan alur kerja ComfyUI.
- βKetika Anda perlu memeriksa apakah komputer Anda bisa menjalankan ComfyUI secara lokal atau sebaiknya memakai cloud.
- βKetika sebuah alur kerja kekurangan model atau node dan perlu diperbaiki.
Link skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/comfyui/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βSiapkan ComfyUI di komputer saya dan jalankan alur kerja yang membuat gambar produk dari prompt saya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memeriksa perangkat keras Anda, memasang alat resmi comfy-cli, menjalankan ComfyUI, dan menjalankan alur kerja melalui API-nya. Agent juga dapat mendaftar dan memperbaiki model atau node yang hilang.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Sebaiknya saya memakai versi lokal atau cloud?
Skrip pemeriksaan perangkat keras merekomendasikan lokal atau Comfy Cloud berdasarkan kartu grafis dan ruang disk Anda.
Apa yang dilakukan skrip penyiapan?
Skrip menjalankan pemeriksaan perangkat keras, memasang comfy-cli dan ComfyUI, meluncurkannya, lalu memverifikasi bahwa semuanya berfungsi.
Bisakah saya melihat apa yang bisa saya ubah dalam sebuah alur kerja?
Bisa. Skill menyertakan skrip yang mendaftar parameter yang dapat dikendalikan dalam alur kerja.
Detail
Deskripsi asli dari pembuat
Generate images, video, and audio via diffusion workflows.
Popularitas
- Bintang GitHub
- 260k
- Peringkat
- #459
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-merge-conflict-arbiter
260kMenyelesaikan konflik merge git antara cabang dua agent sebagai pihak ketiga yang netral, menghasilkan satu hasil gabungan untuk repo.
antigravity-cli
260kMemandu Anda memasang, memperbarui, dan memecahkan masalah alat baris perintah Antigravity, termasuk plugin, login, dan sandbox-nya.
blackbox
260kMemungkinkan agent Anda menyerahkan tugas pemrograman ke alat baris perintah Blackbox AI, yang menjalankan beberapa model AI dan memilih hasil terbaik.
dynamic-workflow
260kMengajari agent Anda menjalankan pekerjaan sejenis dalam jumlah besar sebagai skrip tersimpan, sehingga hanya hasil terverifikasi yang kembali ke percakapan utama.
Skill serupa
gifgrep
394kMemungkinkan agent Anda mencari GIF, melihat pratinjau hasil, mengunduh GIF, dan mengambil satu bingkai diam atau lembar kontak darinya.
meme-maker
394kMemungkinkan agent Anda memilih templat meme, menambahkan teks sendiri, dan membuat meme sebagai gambar SVG atau PNG.
ios-icon-gen
280kMemungkinkan agent Anda membuat ikon untuk aplikasi iOS. Menggunakan simbol Apple atau ikon dari sumber lain untuk membuat file yang tepat.