comfyui-troubleshooter
npx skills add https://github.com/mckruz/comfyui-expert --skill comfyui-troubleshooter
Agent 安装分布
Skill 文档
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:
- Error message (exact text)
- Workflow being executed (or description)
- Models involved (checkpoint, LoRA, ControlNet, etc.)
- Settings (CFG, steps, resolution, sampler)
- Hardware (from
foundation/hardware-profile.md) - 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 1024×1024 â Use 1016×1016 or 1020×1020 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:
- Check ComfyUI GitHub Issues for known bugs
- Check specific node package’s Issues
- Search r/comfyui for community solutions
- Suggest posting in ComfyUI Discord with error details
Reference
references/troubleshooting.md– Full error database with solutionsstate/inventory.json– Current installation statereferences/models.md– Model download links and paths