comfyui-node-packaging
Skill by jtydhr88
Explains how to structure, register, and publish a ComfyUI custom node package. It is aimed at developers setting up a new custom node project or publishing one to the ComfyUI Registry.
Install comfyui-node-packaging
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-packaging ~/.claude/skills/comfyui-node-packagingRun 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-packaging ~/.gemini/antigravity-cli/skills/comfyui-node-packagingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install comfyui-node-packaging in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill is a reference guide for building ComfyUI custom node packages. It covers the recommended project layout, the __init__.py entry point with both V3 and legacy V1 registration, and a node definitions file. It also covers requirements.txt, pyproject.toml, frontend JavaScript extensions loaded from WEB_DIRECTORY, per-node help pages in docs/, and i18n translations in locales/.
The skill also explains publishing to the ComfyUI Registry with comfy node publish, including a GitHub Actions example and scaffolding with comfy-cli. It lists node ID best practices and deployment constraints such as disabled node configs and governed builds. It is intended for developers creating or publishing ComfyUI custom nodes.
Written from the project's SKILL.md and checked against it.
What it can do
- Project structureShows the directory layout for a custom node package, including js, docs and locales folders.
- Entry point registrationExplains V3 ComfyExtension registration and the legacy V1 NODE_CLASS_MAPPINGS approach.
- Dependencies guidanceLists which packages ComfyUI already includes so only extra requirements are declared.
- Registry publishingDescribes pyproject.toml settings and running comfy node publish, with a CI example.
- Frontend and help pagesCovers WEB_DIRECTORY JavaScript extensions, per-node markdown docs and i18n translation files.
What you need
- Python
- ComfyUI
Try asking
- Set up a new ComfyUI custom node project with the right folder layout
- Write an __init__.py that registers my V3 nodes with ComfyExtension
- Help me prepare a pyproject.toml and publish my nodes to the ComfyUI Registry
Good to know
- Governed builds accept only source files and refuse packs containing __pycache__, .pyc files or symlinks.
- Node IDs that collide with a core node are ignored entirely.
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-packaging/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to comfyui-node-packaging
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-packaging: common questions
Does this skill cover both V3 and V1 node registration?
Yes. The source shows a V3 registration pattern marked as recommended and a V1 legacy pattern using NODE_CLASS_MAPPINGS.
How do I publish a custom node to the ComfyUI Registry?
The source says to add a pyproject.toml with a tool.comfy PublisherId, then run comfy node publish. A GitHub Actions workflow example uses a COMFY_API_KEY secret.
Which dependencies does ComfyUI already include?
The source lists torch, torchvision, numpy, transformers, safetensors, Pillow, requests and others. It says torchaudio and accelerate are not included.
How do I install comfyui-node-packaging?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is comfyui-node-packaging free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is comfyui-node-packaging safe to use?
It scores 68 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-packaging?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
