Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add IvanYangYangXi/artclaw_bridge --skill comfyui-node-installergit clone --depth 1 https://github.com/IvanYangYangXi/artclaw_bridgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/comfyui-node-installer)<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/comfyui-node-installer"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/comfyui-node-installer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/comfyui-node-installer"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/comfyui-node-installer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.02452 |
| Opus 5 | $0.00035 | $0.01226 |
| Sonnet 5 | $0.00014 | $0.00490 |
| Haiku 4.5 | $0.00007 | $0.00245 |
Grade A, and why
comfyui-node-installer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 385 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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. 检测缺失节点
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. 安装缺失节点
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. 搜索节点包
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 时自动修复
# 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")
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 385 lines · 70 tokens per session scan A 1db667354c78
comfyui-node-installer is a skill published in the GitHub repository IvanYangYangXi/artclaw_bridge (35 stars, last pushed 4mo ago), licensed MIT. It adds 70 tokens to every session and 2,452 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
dcc-mcp-core
Foundation library for the DCC Model Context Protocol (MCP) ecosystem. Provides Rust-powered action management, skills system, IPC transport, MCP Streamable HTTP server (2025-03-26 spec, with 2025-06-18 and 2025-11-25 awareness), sandbox security, shared memory, screen capture, USD scene support, and telemetry for…
maya-pipeline
Domain skill — Maya asset pipeline orchestration: set up project directory structures, export scenes to USD, and coordinate multi-step DCC workflows. Use when initialising a Maya project or exporting assets for a downstream pipeline. Not for raw geometry editing — use maya-geometry for that. Not for low-level USD file…
imagemagick-tools
Infrastructure skill — image processing and manipulation via ImageMagick: resize, composite, convert formats, add watermarks. Use when batch-processing textures, thumbnails, or rendered images at the file level. Not for in-DCC texture or material editing — use a domain skill bound to the specific DCC for that.
asset-source
Gateway skill for cross-DCC asset import — search and resolve assets into a validated AssetDescriptor (local path + attribution). Demo source returns static catalog entries; production sources can add download or remote resolution without changing the contract.
ffmpeg-media
Infrastructure skill — media conversion and processing via FFmpeg: convert video/audio formats, extract frames, resize, and transcode. Use when manipulating raw media files (mp4, mov, wav, image sequences) regardless of DCC context. Not for DCC-specific render output handling — use a domain pipeline skill for…
maya-geometry
Domain skill — Maya geometry primitives: create spheres, cubes, cylinders; bevel, extrude, and merge polygon components. Use for individual geometry creation or editing operations inside Maya. Not for full asset export pipelines — use maya-pipeline for that. Not for USD scene inspection — use usd-tools for that.