comfyui-node-advanced

Create dynamic, type-safe ComfyUI nodes with validation hooks and safe execution.

265|28|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/jtydhr88/comfyui-custom-node-skills --skill comfyui-node-advanced
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: comfyui-node-advanced
Source: https://github.com/jtydhr88/comfyui-custom-node-skills/tree/main/plugins/comfyui-custom-nodes/skills/comfyui-node-advanced
Command: npx skills add https://github.com/jtydhr88/comfyui-custom-node-skills --skill comfyui-node-advanced

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Advanced patterns enable you to design dynamic, type-safe ComfyUI nodes that scale with complex workflows.

Core Features & Use Cases

  • MatchType ensures that inputs and outputs sharing a template maintain the same type at connection time.
  • Autogrow adds inputs dynamically as users connect data, supporting multi-slot pipelines.
  • DynamicCombo reveals contextual sub-inputs based on a selector, enabling configurable behavior.
  • Node Expansion allows subgraphs to be injected and expanded at runtime for advanced pipelines.
  • MultiType supports handling several data types within a single input, simplifying heterogeneous data flows.

Quick Start

Build a dynamic, multi-type node using MatchType and Autogrow to expand inputs as needed.

Frequently Asked Questions about comfyui-node-advanced

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create dynamic ComfyUI nodes that adapt to different input types?

MatchType ensures ComfyUI node inputs and outputs sharing a template maintain the exact same type at connection time. This guarantees type-safe data flows by preventing incompatible connections across complex pipelines.

Can ComfyUI nodes automatically add new input slots when users connect data?

Yes, the Autogrow pattern enables ComfyUI nodes to dynamically add inputs as users connect data. This supports scalable multi-slot pipelines by automatically expanding input capacity without manual reconfiguration.

How do I implement contextual sub-inputs based on a selector in a ComfyUI node?

You implement contextual sub-inputs using the DynamicCombo pattern in ComfyUI. It reveals specific sub-inputs dynamically based on a selector value, enabling configurable node behavior for complex workflows.

Does ComfyUI support injecting and expanding subgraphs at runtime?

ComfyUI supports runtime subgraph injection and expansion through the Node Expansion pattern. This allows developers to inject advanced subgraphs dynamically, enabling highly configurable and complex node pipelines.

What are the limitations when handling multiple data types in a single ComfyUI input?

Handling multiple data types in a single ComfyUI input requires clear schemas and validation hooks to maintain safe execution. The MultiType pattern simplifies heterogeneous data flows but requires strict validation to prevent type mismatches.