Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ttflysky-comfyui
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
comfyui- Description
- Generate images, video, and audio via diffusion workflows.
- License
- MIT
- Compatibility
- Requires ComfyUI (local, Comfy Desktop, or Comfy Cloud) and comfy-cli (auto-installed via pipx/uvx by the setup script).
- Instructions
- 585 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Agent Skills spec issues
- body: 585 lines (spec recommends under 500)
Files (33)
- SKILL.md
- official-cli.md · references/
- rest-api.md · references/
- template-integrity.md · references/
- workflow-format.md · references/
- _common.py · scripts/
- auto_fix_deps.py · scripts/
- check_deps.py · scripts/
- comfyui_setup.sh · scripts/
- extract_schema.py · scripts/
- fetch_logs.py · scripts/
- hardware_check.py · scripts/
- health_check.py · scripts/
- run_batch.py · scripts/
- run_workflow.py · scripts/
- ws_monitor.py · scripts/
- README.md · tests/
- conftest.py · tests/
- pytest.ini · tests/
- test_check_deps.py · tests/
- test_cloud_integration.py · tests/
- test_common.py · tests/
- test_extract_schema.py · tests/
- test_run_workflow.py · tests/
- README.md · workflows/
- animatediff_video.json · workflows/
- flux_dev_txt2img.json · workflows/
- sd15_txt2img.json · workflows/
- sdxl_img2img.json · workflows/
- sdxl_inpaint.json · workflows/
- sdxl_txt2img.json · workflows/
- upscale_4x.json · workflows/
- wan_video_t2v.json · workflows/
SKILL.md (first lines)
---
name: comfyui
description: Generate images, video, and audio via diffusion workflows.
version: 5.1.0
author: [kshitijk4poor, alt-glitch, purzbeats]
license: MIT
platforms: [macos, linux, windows]
compatibility: "Requires ComfyUI (local, Comfy Desktop, or Comfy Cloud) and comfy-cli (auto-installed via pipx/uvx by the setup script)."
prerequisites:
commands: ["python3"]
setup:
help: "Run scripts/hardware_check.py FIRST to decide local vs Comfy Cloud; then scripts/comfyui_setup.sh auto-installs locally (or use Cloud API key for platform.comfy.org)."
metadata:
hermes:
tags:
- comfyui
- image-generation
- stable-diffusion
- flux
- sd3
- wan-video
- hunyuan-video
- creative
- generative-ai
- video-generation
related_skills: [stable-diffusion-image-generation, image_gen]
category: creative
---
# 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](https://github.com/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
```bash
# 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)
python3 scripts/hardware_check.py
```
If nothing is installed, see **Setup & Onboarding** below — but always run the
hardware check first.
### One-line health check
```bash
python3 scripts/health_check.pyFrom TTflysky/sirenhuisuo, MIT.
More from TTflysky/sirenhuisuo
- 0.568score
hermes-agent
TTflysky
Use, configure, theme, extend, and orchestrate Hermes Agent.
SkillBFreshness: B★ 4Claude Code +9 - 0.552score
document-delivery
TTflysky
生成结构清晰、可直接交付并经过内容核对的业务文档。
SkillBFreshness: B★ 4Claude Code +9 - 0.552score
code-review
TTflysky
按严重程度检查代码缺陷、回归风险、边界条件和测试缺口。
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 24, 2026 (3 months ago)
- Last release
- Aug 8, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/TTflysky/sirenhuisuo
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.624score
comfyui
Lexus2016
Generate images, video, and audio via diffusion workflows.
SkillAFreshness: A★ 15Claude Code +9 - 0.331score
comfyui
yadav-prakhar
Generate images, video, and audio via diffusion workflows.
SkillAFreshness: AClaude Code +9 - 0.320score
comfyui
debzroot
Generate images, video, and audio via diffusion workflows.
SkillBFreshness: B★ 1Claude Code +9 - 0.307score
comfyui
12103541
Generate images, video, and audio via diffusion workflows.
SkillBFreshness: BClaude Code +9 - 0.307score
comfyui
brotherzhafif
Generate images, video, and audio via diffusion workflows.
SkillBFreshness: BClaude Code +9
More from TTflysky
- 0.568score
hermes-agent
TTflysky
Use, configure, theme, extend, and orchestrate Hermes Agent.
SkillBFreshness: B★ 4Claude Code +9 - 0.552score
document-delivery
TTflysky
生成结构清晰、可直接交付并经过内容核对的业务文档。
SkillBFreshness: B★ 4Claude Code +9 - 0.552score
code-review
TTflysky
按严重程度检查代码缺陷、回归风险、边界条件和测试缺口。
SkillBFreshness: B★ 4Claude Code +9
Cite this page
comfyui skill. Agent Mart. https://agentmart.dev/skills/ttflysky-comfyui (last updated 2026-10-24)