yutianxiao6/comfyui-mcp / skills/comfyui-workflow
comfyui-workflow
VerifiedBuild, inspect, modify, validate, run, and troubleshoot ComfyUI workflows through ComfyUI MCP tools. Use for requests involving ComfyUI nodes, models, workflow JSON, graph connections, queue execution, generated outputs, canvas synchronization, LoRA, ControlNet, inpainting, upscaling, image-to-image, video, audio, 3D, or custom nodes.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.8 KB |
| agents/openai.yaml | config | 236 B |
| references/execution-and-files.md | markdown | 2.6 KB |
| references/graph-contract.md | markdown | 2.4 KB |
| references/troubleshooting.md | markdown | 2.7 KB |
| references/workflow-patterns.md | markdown | 2.7 KB |
references/workflow-patterns.md
View on GitHub# Workflow patterns
These are planning patterns, not fixed node recipes. Search and inspect the live node classes before implementing them.
## Text to image
Typical data flow:
```text
checkpoint loader ─┬─ model ───────────────┐
├─ clip ─ positive text ├─ sampler ─ VAE decode ─ save/preview
│ negative text ─┤
└─ vae ──────────────────────────────┘
empty latent ──────────────────────────────┘
```
Verify which loader provides MODEL, CLIP, and VAE outputs, and which sampler inputs are required on this installation.
## Image to image
Upload or select an input image, encode it to latent space with the selected VAE, and feed that latent to the sampler. Confirm how the installed sampler expresses denoise strength. Keep the original aspect ratio unless the user requests resizing or the model requires specific dimensions.
## LoRA
Load the base checkpoint first, then apply the discovered LoRA loader to the model and, when supported, the text encoder. Use an installed LoRA filename from `comfyui_list_models`. Do not assume model and clip strengths share the same meaning or range.
## ControlNet or other conditioning
Build the base positive and negative conditioning first. Add the discovered preprocessor if required, load the matching control model, and apply it to the conditioning in the order required by live schemas. Check the model family and preprocessor compatibility before running.
## Inpainting
Upload or select both image and mask inputs, inspect the installation's mask polarity and latent preparation nodes, then route the prepared latent and conditioning into the sampler. State which region is expected to change if mask semantics are ambiguous.
## Upscaling
Distinguish latent upscaling from pixel/model upscaling. For pixel upscaling, discover and select an installed upscale model. For tiled or multi-pass workflows, validate dimensions, tile overlap, VRAM impact, and final save path.
## Video, audio, and 3D
Custom packs vary substantially. Start from `comfyui_list_templates` and installed node discovery. Verify frame, duration, codec, sampling, and output-node contracts from live schemas. Never translate an image workflow pattern into these media types by guessing node names.
## Reusable construction strategy
For any pattern:
1. identify the desired final output and its output node;
2. work backward through required input types;
3. discover one or more providers for each type;
4. inspect every candidate schema;
5. build forward in small, revision-guarded edits;
6. validate live before execution.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |