custom-nodes
БесплатноБез исполняемых скриптовНе проверенImplement, inspect, test, and package ComfyUI custom nodes, including classic INPUT_TYPES nodes, public comfy_api nodes, hidden inputs, async/lazy behavior…
от lza6★ 19 звёзд на GitHubОб этом скилле
ComfyUI Custom Nodes
Use this sub-skill when the user wants to scaffold, diagnose, inspect, or package ComfyUI node definitions. It covers classic NODE_CLASS_MAPPINGS nodes, the public comfy_api.latest node API, API-provider nodes, and common execution metadata contracts.
Route First
- Use
references/node-authoring.mdfor classic custom nodes withINPUT_TYPES,RETURN_TYPES,FUNCTION,CATEGORY,NODE_CLASS_MAPPINGS, andNODE_DISPLAY_NAME_MAPPINGS. - Use
references/public-node-api.mdforcomfy_api.latest.IO.ComfyNode,IO.Schema, typed inputs/outputs,IO.NodeOutput, progress updates, node replacement, and public API caveats. - Use
references/api-nodes.mdfor provider-backed nodes that setis_api_node=True, use Comfy Org hidden credentials, call proxy endpoints, or need internet/API-key warnings. - Use
references/troubleshooting.mdwhen validation fails, a node is missing from the UI, output tuple lengths mismatch,ANYcauses type confusion, async/lazy validation fails, or API nodes are disabled. - Use
../workflow-execution/SKILL.mdfor prompt graph validation/execution behavior and../server-api/SKILL.mdfor HTTP/websocket transport, API-node server configuration, and credential routing.
Fast Authoring Checklist
- Create a Python package or module under ComfyUI's
custom_nodesloading area with an importable__init__.pywhen using a package. - Export
NODE_CLASS_MAPPINGS = {"StableNodeId": NodeClass}; addNODE_DISPLAY_NAME_MAPPINGSfor friendly names. - Define
INPUT_TYPESas a@classmethodreturningrequired, optionaloptional, and optionalhiddendictionaries. - Set
RETURN_TYPESto a tuple of output type strings;RETURN_NAMES,OUTPUT_IS_LIST, andOUTPUT_TOOLTIPSmust align by index when present. - Set
FUNCTIONto the exact method name and return a tuple with one item perRETURN_TYPES, or a dict withresult/ui/expandonly when using the supported execution form. - Add
CATEGORY,DESCRIPTION, and flags such asOUTPUT_NODE,EXPERIMENTAL,DEPRECATED, orDEV_ONLYonly when they match behavior. - Avoid
IO.ANY/"*"unless the node genuinely accepts arbitrary types; prefer concrete types or multi-types likeFLOAT,INT. - Use hidden inputs deliberately:
PROMPT,UNIQUE_ID,EXTRA_PNGINFO, andDYNPROMPTare injected by execution and should not be user widgets.
Bundled Helpers
scripts/scaffold_custom_node.pywrites a safe classic custom-node package with required image input, optional strength widget, optional hidden prompt metadata, class mappings, and a tuple-length self-check.scripts/inspect_node_definitions.pystatically inspects one or more Python files for classic node mappings, missing attributes, input/return schema issues,ANYusage, hidden inputs, and probable return tuple mismatches.
Both scripts are standalone and safe by default. Run python scripts/scaffold_custom_node.py --help or python scripts/inspect_node_definitions.py --help from this sub-skill directory for options.
Установить custom-nodes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл custom-nodes?
Implement, inspect, test, and package ComfyUI custom nodes, including classic INPUT_TYPES nodes, public comfy_api nodes, hidden inputs, async/lazy behavior, output metadata, and API-node credentials.
Как установить скилл custom-nodes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл custom-nodes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic