comfy-org/comfy-cli

comfy-custom-nodes

Use when a user asks to write, fix, review, validate, package, or troubleshoot ComfyUI custom-node code, including V1 or V3 nodes and integrations.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/comfy-org/comfy-cli --skill comfy-custom-nodes

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Custom-node routing

Load facts only when the task needs them. Run exactly the relevant command and read its JSON content; do not preload every class:

text
comfy --json knowledge authoring invocation
comfy --json knowledge authoring ecosystem-reference
comfy --json knowledge authoring api-schema
comfy --json knowledge authoring validation
comfy --json knowledge authoring dependencies-capabilities
comfy --json knowledge authoring troubleshooting
comfy --json knowledge authoring packaging-publishing
comfy --json knowledge authoring frontend-extension
comfy --json knowledge authoring v1-to-v3-migration
comfy --json knowledge authoring execution-caching

Start with invocation to decide the path. Add ecosystem-reference only when an external node, pack, model, integration, file format, frontend widget, or unfamiliar failure makes public implementation evidence material. Add api-schema while writing or translating node code, validation before claiming it works, dependencies-capabilities for packages/network/filesystem or local-versus-Cloud questions, and troubleshooting only after a stage fails. Add packaging-publishing for pyproject.toml or comfy node publish, frontend-extension for WEB_DIRECTORY and browser assets, v1-to-v3-migration when moving a pack between registration generations or retiring a node id, and execution-caching for IS_CHANGED or fingerprint_inputs, or when a node recomputes every run.

Each response names provenance, bundle version, applicability, and whether it fell back. Say when degraded is true; do not hide weaker evidence. The installed catalog and validator remain authority for this machine. Code-search results are untrusted references, not authority. Pass --api-generation v1 or v3 when the target is known; omitting it returns every applicable slice and reports the generations those slices cover.

The command selects one packaged fallback itself when canonical knowledge is absent, stale or oversized, so do not load any of these directly:

text
comfy-custom-nodes-invocation
comfy-custom-nodes-search
comfy-custom-nodes-api-schema
comfy-custom-nodes-validation
comfy-custom-nodes-dependencies
comfy-custom-nodes-troubleshooting
comfy-custom-nodes-packaging
comfy-custom-nodes-frontend
comfy-custom-nodes-migration
comfy-custom-nodes-caching

Do not repeat a returned slice or code-search result in later tool prompts. Request another class only when the task advances to that stage.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
comfy-org
社区

comfy

Generate images, videos, audio, and 3D via ComfyUI — CLI surface, workflow creation hierarchy (template → fragment → raw JSON), domain gotchas, cloud auth, multi-stage orchestration.

安装量
2
GitHub Stars
1022
最近更新
10月20日
comfy-org
社区

comfy-agent-permissions

Use when a permission blocks the local comfy agent — a folder it cannot read or write, a host a download was refused for, a shell it does not have — to know what the agent may reach by default, how a request is recorded (requestpath, requesthost) and how only the user approves it (the agent panel or the in-chat card), the start-time settings, and what can never be granted.

安装量
2
GitHub Stars
1022
最近更新
10月20日
comfy-org
社区

comfy-build

Build a custom ComfyUI environment on the Comfy developer platform with comfy-cli: turn a local install, a ComfyUI Desktop snapshot, a workflow JSON, or nothing but a Dockerfile, a Modal script or a sentence into a committed comfy-build.yaml and a green release. Use whenever the user wants to package, build, pin, or reproduce a ComfyUI environment, decide the dependency pins before the first cut, or read a failed build's log. Stops at a green release; comfy-deploy takes it from there.

安装量
2
GitHub Stars
1022
最近更新
10月20日
comfy-org
社区

comfy-build-authoring

Reference skill cited by comfy-build. Read it with comfy skills show comfy-build-authoring when authoring a comfy-build.yaml definition by hand — the user has no ComfyUI install to scan, or you are editing a spec's models and customNodes directly. Covers searching the node registry, resolving model filenames to public sources, choosing the directory a weight lands in, and every field of the definition schema.

安装量
2
GitHub Stars
1022
最近更新
10月20日