comfyui-troubleshooter
Diagnose ComfyUI errors, workflow failures, and quality issues. Suggests fixes based on error patterns, missing dependencies, and community-known workarounds. Use when ComfyUI workflows fail or produce unexpected results.
What this skill does
# ComfyUI Troubleshooter
Diagnoses and resolves ComfyUI issues across four categories: server errors, workflow errors, quality issues, and performance problems.
## Diagnosis Process
### Step 1: Classify the Error
| Category | Symptoms | First Check |
|----------|----------|-------------|
| **Server** | Connection refused, timeouts, crashes | Is ComfyUI running? Check `/system_stats` |
| **Workflow** | Node errors, missing inputs, type mismatches | Validate workflow against inventory |
| **Quality** | Artifacts, wrong identity, blurry output | Check settings (CFG, weights, resolution) |
| **Performance** | OOM, slow generation, VRAM errors | Check VRAM usage, model sizes |
### Step 2: Gather Context
Collect before diagnosing:
1. **Error message** (exact text)
2. **Workflow** being executed (or description)
3. **Models** involved (checkpoint, LoRA, ControlNet, etc.)
4. **Settings** (CFG, steps, resolution, sampler)
5. **Hardware** (from `foundation/hardware-profile.md`)
6. **Inventory** (from `state/inventory.json`)
### Step 3: Match Error Pattern
See `references/troubleshooting.md` for the full error database.
## Quick Fix Reference
### Top 10 Most Common Errors
**1. "CUDA out of memory"**
→ Use FP8: `--fp8_e4m3fn-unet`
→ Enable tiled VAE
→ Reduce resolution
→ Restart ComfyUI (clears fragmentation)
**2. "Node type not found: {name}"**
→ Install the custom node package via ComfyUI-Manager
→ Check `comfyui-inventory` node-to-package mapping
**3. "Expected scalar type BFloat16 but found Float"**
→ Precision mismatch. Add `--force-fp16` or use matching precision nodes
**4. Burned/overexposed faces**
→ Lower CFG to 4-5 (InstantID)
→ Reduce identity method weight
→ Add noise to negative embeds (35%)
**5. "No model found at path"**
→ Check filename spelling (exact match required)
→ Verify file is in correct subdirectory
→ Run inventory scan to confirm
**6. Watermark artifacts at 1024x1024**
→ Use 1016x1016 or 1020x1020 instead
**7. Identity doesn't match reference**
→ Use higher quality reference image (clear, front-facing)
→ Increase IP-Adapter weight to 0.8+
→ Verify InsightFace antelopev2 is installed
**8. Video flickering**
→ Lower FaceDetailer denoise to 0.3
→ Add deflicker post-processing
→ Increase AnimateDiff context overlap to 4+
**9. Queue stuck/not processing**
→ POST `/interrupt` to cancel
→ POST `/free` to unload models
→ Restart ComfyUI
**10. Slow generation**
→ Check if `--lowvram` is enabled (remove it on RTX 5090)
→ Use `--highvram` instead
→ Update cuDNN to 8800+
→ Enable SageAttention for Wan models
## Decision Tree: Quality Issues
```
OUTPUT LOOKS WRONG
|
|-- Faces look wrong
| |-- Too smooth/plastic → Add skin texture LoRA (0.2-0.4)
| |-- Wrong identity → Increase identity weight, check reference quality
| |-- Burned/hot → Lower CFG to 4-5, reduce InstantID weight
| |-- Deformed → Add "bad anatomy, deformed" to negative
| |-- Different every time → Fix seed, add LoRA for consistency
|
|-- Colors wrong
| |-- Oversaturated → Lower CFG, add "oversaturated" to negative
| |-- Washed out → Check VAE is loaded, try different scheduler
| |-- Color shift in video → Add color correction post-processing
|
|-- Resolution/sharpness
| |-- Blurry → Increase steps (25-30), check resolution matches model
| |-- Pixelated → Use proper upscaler (4x-UltraSharp), not resize
| |-- Artifacts → Lower denoise, check for model corruption
|
|-- Composition
| |-- Ignoring prompt → Increase CFG slightly, simplify prompt
| |-- Extra limbs/objects → Add to negative prompt, use ControlNet
| |-- Wrong pose → Add ControlNet OpenPose with reference
```
## Missing Dependency Resolution
When a workflow references something not in inventory:
### Missing Custom Node
```
1. Identify package from class_type (see inventory skill's mapping)
2. Suggest: "Open ComfyUI-Manager → Search → Install {package_name}"
3. Alternative: "cd {ComfyUI}/custom_nodes && git clone {repo_url}"
4. Remind: Restart ComfyUI after installation
```
### Missing Model
```
1. Look up in references/models.md for download link
2. Provide: exact filename, download URL, target directory
3. For large models (>10GB): suggest HF CLI for reliability
"huggingface-cli download {repo} {file} --local-dir {path}"
```
### Version Incompatibility
```
1. Check ComfyUI version vs node package requirements
2. Suggest: "cd {ComfyUI} && git pull" for ComfyUI update
3. Or: pin specific node version if newest breaks things
```
## Escalation
If troubleshooting doesn't resolve the issue:
1. Check ComfyUI GitHub Issues for known bugs
2. Check specific node package's Issues
3. Search r/comfyui for community solutions
4. Suggest posting in ComfyUI Discord with error details
## Reference
- `references/troubleshooting.md` - Full error database with solutions
- `state/inventory.json` - Current installation state
- `references/models.md` - Model download links and paths
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.