360 Secure SkillHub
360 安全技能中心

Comfy UI Complete Toolkit

为任意 ComfyUI 安装提供可移植的工作流与 API 指南,涵盖节点/模型发现、模型与 LoRA 接线、REST/WebSocket 提交、跨版本兼容、图结构排错和提示词构建,强调先发现目标环境再生成或修复工作流。

zambav
zambav
热度 58.33
最近更新 2026-05-11 17:37:34
分类:开发依赖:第三方 API / 读写文件 / 内部调用大模型应用场景:API 集成 / 调试排错 / 工作流 / 图像生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add comfyui-complete-toolkit-skill
Metadata
name
comfyui-skill-public
description
Portable ComfyUI workflow and API guidance for any install. Use when building, validating, or troubleshooting ComfyUI image/video workflows, discovering available nodes/models via /object_info, wiring loaders/encoders/VAEs/LoRAs correctly, submitting jobs through the REST or WebSocket APIs, or adapting a workflow to an unknown user machine without assuming specific checkpoints, paths, hardware, or custom nodes.

ComfyUI Portable Skill

Use this skill when the task is to work with ComfyUI in a reusable, installation-agnostic way.

Minimum trigger scope

Trigger on requests like:

  • "Build a ComfyUI workflow"
  • "Fix this ComfyUI workflow"
  • "Use the ComfyUI API"
  • "Why is this ComfyUI graph failing?"
  • "Add a LoRA / model / node to this ComfyUI setup"

Do not assume any particular machine, model inventory, file layout, GPU, or custom node pack.

First move: assume zero install knowledge

Before writing or editing any workflow:

  1. Read references/setup.md.
  2. If the install is unknown, collect the missing setup fields from the user or discover them from the running ComfyUI instance.
  3. Prefer discovery over assumptions:
    • use /object_info to detect node classes and model dropdown values
    • confirm checkpoints, VAEs, encoders, and LoRAs from the target install
    • stop and report missing requirements clearly

Read path by task

Global operating rules

  • Treat node classes as discoverable, not guaranteed constants.
  • Treat model filenames as examples until confirmed on the target install.
  • Use filename-only model references in workflow JSON unless the install explicitly requires a subdirectory path.
  • Use defensive parsing for /history and /object_info; schema details can vary by ComfyUI version and custom nodes.
  • Fail fast when a required node class, model, or custom node is missing.
  • Keep setup-specific notes out of this file; put them in a per-user config or setup reference.

Cold-read test

Before publishing or packaging changes, check that a fresh reader could answer:

  • What does this skill do?
  • When should it trigger?
  • What must be discovered first?
  • Where do install-specific values go?
  • Which reference file should be opened for the current task?