Tooluck logoTooluck
SKILL.md

debug-render

Agent skill fromartokun/comfyui-mcp

Debug a WRONG or imperfect render (not a hard error) by inspecting inputs and intermediate steps with run-to-node. Render one branch up to an output, preview-tap latents/masks/preprocessor maps, localize the first bad stage, then fix. Use when a final image/video completes but looks wrong, such as artifacts, wrong subject/pose/composition/color, blur, a ControlNet/IPAdapter/mask/LoRA not taking, or a two-stage refiner or upscale degrading the result. For errors/OOM/missing nodes use the troubleshooting skill.

How to install debug-render

install debug-render
# install the comfyui-mcp pack with the skills CLI
npx skills add artokun/comfyui-mcp

# or add only this skill to Claude Code: copy the folder

plugin/skills/debug-render/

# into

~/.claude/skills/debug-render/ (all projects)

.claude/skills/debug-render/ (one project)

plugin/skills/debug-render/SKILL.md

MITFull file
1# Debugging renders with run-to-node
2
3When a final asset looks wrong (not when it errors), don't re-roll the whole
4graph and hope. Localize the fault. Render only as far as one stage and look
5at what that stage actually produces. The wrong-looking output is downstream of a
6*first* bad step. Find that step, fix it there, and everything after it follows.
7
8The tool for this is `panel_run` with `to_node_id` ("run to node"), which uses
9ComfyUI's native partial execution. Only the target output node plus
10everything upstream of it renders; every other branch is skipped. That makes each
11probe fast and cheap, and the output is delivered to you automatically, same
12as any run. Don't poll.
13
14## When to reach for this
15
16- A final image/video is wrong: artifacts, wrong subject/pose/composition, off
17 color, soft/blurry, melted hands, wrong style.
18- A conditioner isn't "taking" (ControlNet, IPAdapter, a mask, an inpaint, a
19 LoRA) and you can't tell if the *input* to it is wrong or the *node* is wrong.
20- A multi-stage pipeline (base → refiner, txt2img → upscale, decode → post)
21 degrades, and you need to see which stage introduces the problem.
22- You only want to test one branch of a multi-output graph without paying for
23 the others.
24
25If instead the run fails (red error, OOM, missing node, black image from a
26crash), use the troubleshooting skill. This skill is for outputs that
27*complete* but look wrong.
28
29## The one hard rule: `to_node_id` must be an OUTPUT node
30…

Excerpt shown under the repository's MIT license.

More skills in comfyui-mcp

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates