comfyui-node-datatypes

comfyui-node-datatypes is a skill for Claude Code from jtydhr88/comfyui-custom-node-skills. It costs 67 tokens per session (6,121 once invoked), scanned A, original, MIT.

A reference for the data types used by ComfyUI, a visual system for building AI image and media workflows from connected nodes. It describes inputs and outputs such as images, masks, models, audio, video, and other tensors.

In plain words
What is it for?
Defining node inputs and outputs, working with ComfyUI tensors and model data, and checking types such as IMAGE, LATENT, MASK, AUDIO, and VIDEO.
Why use it?
It helps prevent incompatible node connections and clarifies the shape and meaning of data passed through a ComfyUI workflow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the comfyui-custom-nodes plugin — 9 skills shipped together

Good fit Defining node inputs and outputs, working with ComfyUI tensors and model data, and checking types such as IMAGE, LATENT, MASK, AUDIO, and VIDEO.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jtydhr88/comfyui-custom-node-skills/comfyui-node-datatypes
Install

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.

Any agent
npx skills add jtydhr88/comfyui-custom-node-skills --skill comfyui-node-datatypes
Clone the repo
git clone --depth 1 https://github.com/jtydhr88/comfyui-custom-node-skills

Made for: Claude Code.

Or install comfyui-custom-nodes, the plugin that ships this one along with the rest of its 9 skills.

Wrote 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.

agentmods badge for comfyui-node-datatypes

README.md
[![agentmods](https://agentmods.dev/badge/skills/jtydhr88/comfyui-custom-node-skills/comfyui-node-datatypes/github.svg)](https://agentmods.dev/skills/jtydhr88/comfyui-custom-node-skills/comfyui-node-datatypes)
Your own site
<a href="https://agentmods.dev/skills/jtydhr88/comfyui-custom-node-skills/comfyui-node-datatypes"><img src="https://agentmods.dev/badge/skills/jtydhr88/comfyui-custom-node-skills/comfyui-node-datatypes/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.

agentmods 80×15 button for comfyui-node-datatypes

Your own site · 80×15
<a href="https://agentmods.dev/skills/jtydhr88/comfyui-custom-node-skills/comfyui-node-datatypes"><img src="https://agentmods.dev/badge/skills/jtydhr88/comfyui-custom-node-skills/comfyui-node-datatypes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,121 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.06121
Opus 5.5 $0.00027 $0.02448
Sonnet 5.5 $0.00013 $0.01224
Haiku 4.5 $0.00007 $0.00612

Measured 21d ago against content hash a841e700dd8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

comfyui-node-datatypes 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 21d 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.

plugins/comfyui-custom-nodes/skills/comfyui-node-datatypes/SKILL.md · 506 lines

How it starts

The opening of the file, as written. The whole thing — 506 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ComfyUI Data Types

ComfyUI uses specific data types for node inputs and outputs. Understanding tensor shapes and data formats is essential.

Complete Type Reference

Tensor/Data Types

Type V3 Class Format Description
IMAGE io.Image torch.Tensor [B,H,W,C] float32 0-1 Batch of RGB images
MASK io.Mask torch.Tensor [H,W] or [B,H,W] float32 0-1 Grayscale masks
LATENT io.Latent {"samples": Tensor[B,C,H,W] or [B,C,T,H,W], "noise_mask"?: Tensor, "batch_index"?: list[int], "type"?: str} Latent space (4D image / 5D video)
CONDITIONING io.Conditioning list[tuple[Tensor, PooledDict]] Text conditioning with pooled outputs
AUDIO io.Audio {"waveform": Tensor[B,C,T], "sample_rate": int} Audio data
VIDEO io.Video VideoInput ABC Video data (abstract base class)
SIGMAS io.Sigmas torch.Tensor 1D, length steps+1 Noise schedule
NOISE io.Noise Object with generate_noise() Noise generator
LORA_MODEL io.LoraModel dict[str, torch.Tensor] LoRA weight deltas
LOSS_MAP io.LossMap {"loss": list[torch.Tensor]} Loss map
TRACKS io.Tracks {"track_path": Tensor, "track_visibility": Tensor} Motion tracking data
WAN_CAMERA_EMBEDDING io.WanCameraEmbedding torch.Tensor WAN camera embeddings
LATENT_OPERATION io.LatentOperation Callable[[Tensor], Tensor] Latent transform function
TIMESTEPS_RANGE io.TimestepsRange tuple[int, int] Range 0.0-1.0
DICT io.Dict dict Generic dictionary
ARRAY io.Array list Generic list/array
LAYERS io.Layers {"version": int, "canvas"?: (w, h), "layers": list[LayerItem]} Layer stack (v0.31+); LayerItem: image tensor, type: "raster", z_index, optional x, y, mask, name, opacity, blend_mode (io.Layers.BlendMode), visible, flip_h/v, rotation, w, h

Model Types (opaque, typically pass-through)

Read the full file on GitHub · 506 lines

Changes

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.

  1. 21d ago Changed · +19 lines a841e700dd8f
  2. 2mo ago First seen · 487 lines · 67 tokens per session scan A 8ba4212ff5c8

Subscribe to this mod's changes

comfyui-node-datatypes is a skill published in the GitHub repository jtydhr88/comfyui-custom-node-skills (317 stars, last pushed 21d ago), licensed MIT. It adds 67 tokens to every session and 6,121 once invoked, about $0.0003 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.

Related

comfyui-node-datatypes compared with skills from other repositories

comfyui-node-datatypes next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
comfyui-node-datatypesjtydhr88/comfyui-custom-node-skillsSkill31721d agoMITA67Claude Code
agent-platform-model-registrygoogle/skillsSkill22kyesterdayApache-2.0A60Claude Code, Codex
foundry-config-setupmicrosoft/agent-frameworkSkill15kyesterdayMITA65Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill22kyesterdayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill19k3d agoMITA35Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code
finetuningmicrosoft/skillsSkill3.2kyesterdayMITA132Claude Code