Skip to content
Agentmart
Submit a tool

comfyui-node-installer

ComfyUI 缺失自定义节点自动检测与安装。 Use when AI needs to: (1) install missing custom nodes for a workflow, (2) check if required nodes are available, (3) search and…

Skill by IvanYangYangXi

IndexedMIT★ 36
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ivanyangyangxi-comfyui-node-installer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

ComfyUI 缺失自定义节点自动检测与安装。 Use when AI needs to: (1) install missing custom nodes for a workflow, (2) check if required nodes are available, (3) search and install node packages from ComfyUI registry. ComfyUI only (run_python).

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/comfyui-node-installer

What's inside

Skill name
comfyui-node-installer
Description
ComfyUI 缺失自定义节点自动检测与安装。 Use when AI needs to: (1) install missing custom nodes for a workflow, (2) check if required nodes are available, (3) search and install node packages from ComfyUI registry. ComfyUI only (run_python).
License
MIT
Instructions
370 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (4)

  • SKILL.md
  • node-package-mapping.md · references/
  • node_installer_impl.py · references/
  • usage_examples.py · references/

SKILL.md (first lines)

# ComfyUI 节点安装器

> 自动检测 workflow 所需的自定义节点,并从 ComfyUI-Manager 或 GitHub 安装。

---

## 预注入变量

`run_python` 已注入以下变量,**直接使用,无需 import**:

| 变量 | 类型 | 说明 |
|------|------|------|
| `S` | `[]` | 无选中概念 |
| `W` | `None` | 无当前文件概念 |
| `L` | ComfyUI Lib | `L.nodes`, `L.folder_paths` |
| `nodes` | module | 节点注册表 |
| `client` | ComfyUIClient | HTTP API 客户端(含 Manager API) |

---

## 核心功能

### 1. 检测缺失节点

```python
from comfyui_node_installer import diagnose_workflow

# 诊断当前 workflow
wf = {...}  # workflow JSON
report = diagnose_workflow(wf)

print(report)
# {
#   "status": "missing_found",
#   "missing_count": 3,
#   "missing": [
#     {
#       "node_id": "15",
#       "node_type": "ComfyrollStudio",
#       "package": "ComfyUI_Comfyroll_CustomNodes",
#       "install_url": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes"
#     },
#     ...
#   ],
#   "available": [...],
#   "suggestions": [...]
# }
```

### 2. 安装缺失节点

```python
from comfyui_node_installer import install_missing_nodes

# 自动安装所有缺失节点
result = install_missing_nodes(wf)
print(result)
# {
#   "success": True,
#   "installed": ["ComfyUI_Comfyroll_CustomNodes"],
#   "failed": [],
#   "reboot_required": True  # 需要重启 ComfyUI
# }
```

### 3. 搜索节点包

```python
from comfyui_node_installer import search_packages

# 搜索节点包
results = search_packages("controlnet")
print(results)
# [
#   {
#     "title": "ComfyUI ControlNet Aux",
#     "reference": "https://github.com/Fannovel16/comfyui_controlnet_aux",
#     "author": "Fannovel16",
#     "install_type": "git-clone",
#     "description": "Preprocessors for ControlNet"
#   },
#   ...
# ]
```

---

## 完整使用流程

### 场景1: 加载 workflow 时自动修复

```python
# 1. 加载 workflow
wf = load_template("marketplace/awesome-portrait-v2")

# 2. 诊断缺失节点
diagnosis = diagnose_workflow(wf)

if diagnosis["missing_count"] > 0:
    print(f"发现 {diagnosis['missing_count']} 个缺失节点:")
    for m in diagnosis["missing"]:
        print(f"  - {m['node_type']} (来自: {m['package']})")
    
    # 3. 询问用户是否安装(或自动安装)
    result = install_missing_nodes(wf, auto_install=True)
    
    if result["reboot_required"]:
        print("⚠️ 需要重启 ComfyUI 才能使用新节点")
        print("请重启后重新加载此 workflow")
```

### 场景2: 手动安装特定节点包

```python
from comfyui_node_installer import install_package

# 通过 Git URL 安装
result = install_package(
    url="https://github.com/Fannovel16/comfyui_controlnet_aux",

From IvanYangYangXi/artclaw_bridge, MIT.

More from IvanYangYangXi/artclaw_bridge

Signals

Stars
36
Forks
7
Open issues
1
Last commit (this folder)
Apr 25, 2026 (6 months ago)
Last release
Apr 15, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from IvanYangYangXi

Cite this page

comfyui-node-installer skill. Agent Mart. https://agentmart.dev/skills/ivanyangyangxi-comfyui-node-installer (last updated 2026-10-24)