/comfyui-plugin:comfy-debug-previewfrom comfyui-plugin
Provides ComfyUI debug and preview nodes for inspecting values mid-graph without mutation: show text, numbers, JSON, tensor shapes, image previews, VRAM/CPU telemetry, and timing.
Ships in comfyui-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Inspect values mid-graph without changing them. Read / log / visualize / time / report. Nothing in this skill mutates the data flow — these nodes either pass through unchanged (Preview Bridge, TimerNodeKJ) or are pure sinks (ShowText, CConsoleAny).
The split:
| Pack | Niche |
|---|---|
comfyui-custom-scripts (pysssss) | ShowText — display text in node widget UI |
comfyui_essentials | DisplayAny, ConsoleDebug, DebugTensorShape, BatchCount |
comfyui-kjnodes | PreviewImageOrMask, FastPreview, VRAM_Debug, TimerNodeKJ, Sleep, Get(Image|Mask|Latent)SizeAndCount |
ComfyUI-Crystools | CConsoleAny, CConsoleAnyToJson, CUtilsStatSystem (CPU/GPU/RAM monitor), CImageLoadWithMetadata, CMetadataExtractor, CMetadataCompare |
bjornulf_custom_nodes | ShowFloat, ShowInt, ShowStringText, ShowJson, ImageDetails, VideoDetails |
comfyui-dream-project | DreamStringToLog, DreamIntToLog, DreamFloatToLog, DreamJoinLog, DreamLogFile |
comfyui_yvann-nodes | FloatsVisualizer (render a float array as a histogram image) |
comfyui-impact-pack | Preview Bridge (Image) / Preview Bridge (Latent) — tee inspection while passing through |
comfyui-easy-use | easy showAnything, easy showLoaderSettingsNames, imageCount, imagesCountInDirectory |
| Use this skill when... | Use instead when... |
|---|---|
| Inspecting a value mid-graph without changing it (show/log/preview nodes) | Extracting metadata from a finished output file -> comfy-metadata |
| Checking VRAM/CPU/timing during a run | Computing the value being displayed -> comfy-math-strings |
custom_nodes/comfyui-custom-scripts/py/show_text.py — pysssss ShowTextcustom_nodes/comfyui_essentials/misc.py — DisplayAny, ConsoleDebug, DebugTensorShapecustom_nodes/comfyui-kjnodes/nodes/nodes.py — VRAM_Debug, TimerNodeKJ, Sleep, Get*SizeAndCount, FastPreview, PreviewImageOrMaskcustom_nodes/ComfyUI-Crystools/crystools/nodes_*.py — CConsoleAny*, CUtilsStatSystem, metadata nodes| Value type | Best node | Why |
|---|---|---|
| STRING (short) | pysssss ShowText | Renders in the node widget; auto-resizes; persists in workflow JSON |
| STRING (long / multiline) | bjornulf ShowStringText or pysssss ShowText | Both wrap text; ShowText truncates after ~10 lines but expands on hover |
| ANY (don't know the type) | essentials DisplayAny or easy showAnything | Coerces to STRING and renders |
| FLOAT / INT | bjornulf ShowFloat / ShowInt | Specific formatters; cleaner display than DisplayAny |
| JSON / dict / list | bjornulf ShowJson or Crystools CConsoleAnyToJson | Pretty-prints with indentation |
| Tensor (latent / image) shape | essentials DebugTensorShape | Logs (B, C, H, W) to console; doesn't display in node UI |
| Float curve over a batch | yvann FloatsVisualizer | Renders the array as a histogram image |
| Console log (no widget) | essentials ConsoleDebug, Crystools CConsoleAny, dream DreamStringToLog | Output to server stdout/log only — invisible in editor; useful for batch jobs |
| Image (tee with passthrough) | impact Preview Bridge | Pass-through + preview in one node — see the data, keep the chain |
| Image (just preview, no passthrough) | ComfyUI core PreviewImage or kjnodes PreviewImageOrMask | The kjnodes variant auto-detects whether the input is image or mask |
ShowText,
ShowFloat, ShowInt, ShowStringText, ShowJson, DisplayAny,
easy showAnything. These render INSIDE the node's body, expanding
the node to fit the value.journalctl -u comfyui.service on this
install): ConsoleDebug, DebugTensorShape, CConsoleAny,
DreamStringToLog. No editor display — use these for batch jobs
running headless via comfy run.DreamLogFile appends to a configurable
file path; useful for cross-queue tracking.PreviewImageOrMask, FastPreview,
FloatsVisualizer. The preview shows in the standard preview pane.| Need | Node | Outputs |
|---|---|---|
| Image batch (B, H, W) | kjnodes GetImageSizeAndCount | width, height, batch_count |
| Mask (B, H, W) | kjnodes GetMaskSizeAndCount | width, height, batch_count |
| Latent (B, C, H, W) | kjnodes GetLatentSizeAndCount | width, height, batch_count |
| Just N (batch size) | essentials BatchCount | int |
| Image batch count (easy-use variant) | easy imageCount | int |
| Count image files in a directory | easy imagesCountInDirectory | int (with offset/limit) |
| Image file's metadata | bjornulf ImageDetails | width, height, channels, format, mode |
| Video file's metadata | bjornulf VideoDetails | width, height, fps, duration, codec |
Get*SizeAndCount is the canonical choice — it emits w/h/batch as
separate INTs that you can wire to math nodes or display.
For VRAM / CPU / RAM monitoring (CUtilsStatSystem, VRAM_Debug) and per-section wall-clock timing (TimerNodeKJ start/end pairs), see references/telemetry-and-profiling.md.
Impact's Preview Bridge (Image) / Preview Bridge (Latent) are the
workhorse "see this and pass it through" nodes. Wire an image in,
get the same image out, plus a preview in the editor.
Critical pitfall: Preview Bridge silently consumes
ExecutionBlocker sentinels. If a path through the bridge gets
blocked upstream, the bridge:
Consequence: if you tee Preview Bridge off a path that may be
blocked (e.g. behind an easy blocker), the downstream consumer of
the bridge's output silently sees a None — not a blocker — and
either errors with a type mismatch or proceeds with garbage.
Workaround: when blockers may appear in the path, use kjnodes
FastPreview downstream of the bridge — FastPreview passes
sentinels through correctly. Or branch the preview off BEFORE the
blocker, not after.
Reading the current image's PNG metadata inside a workflow (CImageLoadWithMetadata, CMetadataExtractor, CMetadataCompare): see references/inline-metadata.md. Offline / cross-directory analysis is comfy-metadata.
Hunting a slow node? references/telemetry-and-profiling.md lists what helps (timers, VRAM logging, the server log's per-node times), what doesn't (Sleep), and when to go to the model-family skill instead.
Worked graphs — show the resolved prompt string, a per-sampler time budget, a VRAM watch during a long batch, and surfacing batch counts before sampling — are in references/recipes.md.
When a display node shows nothing, a stale or truncated value, or a timer/logger misbehaves, check references/gotchas.md (ShowText updates after queue, CUtilsStatSystem polls only when consumed, DisplayAny truncation, Timer id pairing, Sleep blocks the queue, PNG-only Crystools metadata).
comfy-math-strings — formatting numeric / string values before
display (the math is in math-strings; the show is here).comfy-flow-control — Preview Bridge as a routing tee
(flow-control's gotcha list also covers the blocker pitfall).comfy-metadata — deep metadata extraction across output
directories: PNG tEXt / iTXt, WebP EXIF, MP4 container, kijai
WanVideoWrapper / VHS comment blobs, .latent safetensors.
When the question is "what produced this output file?" (offline /
retrospective), reach for comfy-metadata. When the question is
"what is this current image's PNG metadata?" (inline / live),
use the Crystools nodes documented here.comfy-conditionals — easy showAnything on a BOOLEAN to
confirm a predicate at queue time before trusting the branch
decision.comfy-metadata.wan,
z-image).comfy-workflow-layout.comfy-math-strings.simplify user-level skill (review changed code) — that's
a Claude Code agent skill, not a ComfyUI workflow skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
comfyui, debug-nodes, preview-nodes, graph-inspection, telemetry
17 skills in this plugin
/comfy-cliThe `comfy` CLI for ComfyUI: install/update/bisect custom nodes, snapshot/restore state, publish to the registry, run workflows headlessly. Use when the user runs `comfy`, `comfy node`, or `comfy run`./comfy-conditionalsComfyUI predicate/boolean nodes: compare, AND/OR/XOR/NOT, ternary, null/empty/type probes, ExecutionBlocker. Use when forming the boolean that drives a workflow switch or blocker./comfy-corpus-validationVerify ComfyUI sampler/scheduler facts: source-of-truth ladder, measured sigma curves, coverage gaps. Use when writing or auditing sampler corpus metadata.npx claudepluginhub laurigates/claude-plugins --plugin comfyui-pluginOther plugins' skills for the same job