Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add MCKRUZ/ComfyUI-Expert --skill comfyui-troubleshootergit clone --depth 1 https://github.com/MCKRUZ/ComfyUI-ExpertWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mckruz/comfyui-expert/comfyui-troubleshooter)<a href="https://agentmods.dev/skills/mckruz/comfyui-expert/comfyui-troubleshooter"><img src="https://agentmods.dev/badge/skills/mckruz/comfyui-expert/comfyui-troubleshooter/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mckruz/comfyui-expert/comfyui-troubleshooter"><img src="https://agentmods.dev/badge/skills/mckruz/comfyui-expert/comfyui-troubleshooter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.01384 |
| Opus 5.5 | $0.00020 | $0.00554 |
| Sonnet 5.5 | $0.00010 | $0.00277 |
| Haiku 4.5 | $0.00005 | $0.00138 |
Grade A, and why
comfyui-troubleshooter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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 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
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 157 lines · 51 tokens per session scan A 80e91f25b7bf
comfyui-troubleshooter is a skill published in the GitHub repository MCKRUZ/ComfyUI-Expert (95 stars, last pushed 8mo ago), licensed MIT. It adds 51 tokens to every session and 1,384 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
comfyui-troubleshooter compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| comfyui-troubleshooterMCKRUZ/ComfyUI-Expert | Skill | 95 | 8mo ago | MIT | A | 51 | Claude Code |
| troubleshootingartokun/comfyui-mcp | Skill | 971 | today | MIT | A | 28 | Claude Code |
| debug-renderartokun/comfyui-mcp | Skill | 971 | today | MIT | A | 117 | Claude Code |
| report-bugartokun/comfyui-mcp | Skill | 971 | today | MIT | A | 83 | Claude Code |
| seedance-debuggercclank/lanshu-awesome-ai-video-kit | Skill | 470 | 1mo ago | MIT | A | 146 | Claude Code, Codex |
| bug-analyzerevent4u-app/agent-config | Skill | 20 | today | MIT | A | 39 | Claude Code, Codex |
| code-refactoringevent4u-app/agent-config | Skill | 20 | today | MIT | A | 44 | Claude Code, Codex |