comfyui-node-basics
Skill by jtydhr88
Explains how to write ComfyUI custom nodes with the V3 API, covering node classes, schemas, inputs, outputs and registration. Aimed at developers creating new ComfyUI custom nodes or setting up a custom node project.
Install comfyui-node-basics
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jtydhr88/comfyui-custom-node-skills /tmp/comfyui-custom-node-skills && mkdir -p ~/.claude/skills && cp -r /tmp/comfyui-custom-node-skills/plugins/comfyui-custom-nodes/skills/comfyui-node-basics ~/.claude/skills/comfyui-node-basicsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jtydhr88/comfyui-custom-node-skills /tmp/comfyui-custom-node-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/comfyui-custom-node-skills/plugins/comfyui-custom-nodes/skills/comfyui-node-basics ~/.gemini/antigravity-cli/skills/comfyui-node-basicsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install comfyui-node-basics in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill describes how to build ComfyUI custom nodes using the V3 API, which the source calls the current recommended approach. A V3 node inherits from io.ComfyNode and defines two classmethods. define_schema returns an io.Schema with the node ID, display name, category, inputs and outputs. execute performs the computation and returns io.NodeOutput.
The skill also covers registration through ComfyExtension and a module-level comfy_entrypoint() function, lists the io.Schema fields, and includes a V1 legacy reference with a comparison table. It is written for developers creating new ComfyUI custom nodes, defining node classes, or setting up a custom node project. It points to related skills for data types, inputs, outputs, packaging and lifecycle.
Written from the project's SKILL.md and checked against it.
What it can do
- V3 node structureShows how to inherit from io.ComfyNode and define define_schema and execute classmethods.
- io.Schema fieldsLists the Schema options such as node_id, category, inputs, outputs and search_aliases.
- Node registrationExplains registering nodes with ComfyExtension and a comfy_entrypoint() function.
- Input and output definitionsShows io.Image, io.Float and io.String inputs and outputs with defaults and ranges.
- V1 vs V3 comparisonCompares base class, execute method, inputs, outputs, registration and state between the two APIs.
- Naming and category rulesCovers unique node_id values, matching execute parameters to input IDs, and category path syntax.
What you need
- ComfyUI with the comfy_api package (V3 API)
Try asking
- Write a ComfyUI V3 node that brightens an image by a float factor.
- Show me how to register a custom node with ComfyExtension and comfy_entrypoint.
- What fields can I set in an io.Schema for a ComfyUI node?
Good to know
- Covers node basics only. Data types, inputs, outputs, packaging and lifecycle are in related skills.
- The V1 section is a legacy reference, not the recommended approach.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/comfyui-custom-nodes/skills/comfyui-node-basics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to comfyui-node-basics
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
comfyui-node-basics: common questions
Which ComfyUI node API should new custom nodes use?
The source says the V3 API is the current recommended approach. V1 is included only as a legacy reference.
Where must comfy_entrypoint be defined?
It must be defined at module level, in the file that ComfyUI imports directly.
What rules apply to node_id?
The source says node_id must be globally unique across all nodes.
How do I install comfyui-node-basics?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is comfyui-node-basics free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is comfyui-node-basics safe to use?
It scores 71 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to comfyui-node-basics?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
