assemble-new-workflow
Build a ComfyUI workflow from scratch when no template matches (template.name == "build_new"). Builds to the standard in the recipe database (task -> model ->…
от szprivate★ 53 звезды на GitHub
Установить assemble-new-workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Assemble New Workflow from Scratch
Activate when brainbriefing.template.name == "build_new". Build the workflow to the standard described by the recipe database (task -> model -> node clusters). The recipe tells you which nodes are required, how they connect, the boundary ports, and which existing templates implement this task+model so you can start from one rather than from nothing.
Trust the recipe — never refuse or substitute. The recipe's required_nodes are the correct, standard ComfyUI node classes for this exact task+model, and its node_defaults are the template-verified widget params. Every model in the recipe DB (Qwen Image, Z-Image, Flux, LTX, WAN, ...) runs on these standard nodes — do NOT claim it "needs a custom node / diffusers integration", do NOT say it is "unsupported", and do NOT substitute a different model (Flux/SDXL/etc.). Build exactly what the recipe specifies. The only legitimate stop is when get_node_schema reports a required class truly absent from this ComfyUI instance.
Step 1 — Fetch the recipe
Call get_workflow_recipe(task=<brainbriefing task type>, model=<brainbriefing model>).
- task: the brainbriefing task type — a shorthand (
video_i2v,video_flf,video_v2v,image_generation,image_edit,controlnet,inpaint,upscale,audio,3d) or a canonical name ("Image to Video", "Image Edit with ControlNet"). - model: the requested model family (
WAN 2.2,LTX-2,Flux,Qwen Image,Z-Image, ...). If you do not know the exact model, omit it — the response includesmodels_in_task; pick the closest and call again with thatmodel.
The returned recipe gives you:
| field | use |
|---|---|
execution |
local (local models), api (remote partner-node generation), or hybrid (local + a remote helper). See note below. |
member_workflows |
concrete templates that already implement this task+model — your scaffold (Step 2) |
build_nodes |
the COMPLETE node set to create (class + count), taken from reference_member |
reference_wiring |
the wiring — reference_member's own edges as <class>#<instance>:<out slot> -> <class>#<instance>.<input>. This is what you build from. |
load_bearing_inputs |
inputs the schema calls optional and this recipe needs wired anyway |
node_defaults |
template-verified widget params (weight_dtype, model-file variant, …) |
required_nodes |
node classes that MUST be present, with min_instances (e.g. UNETLoader x2 for a high/low-noise model pair) |
node_clusters |
the required structure grouped by function (model loading, conditioning, sampling, decoding, output) |
connection_patterns |
role-level triples (model_loader -> sampler [MODEL]). Orientation only — they cannot say which instance, which input or which output slot, and on a recipe with several members they are usually empty. Never build from these when reference_wiring is present. |
boundary_ports |
the inputs/outputs the finished workflow must expose |
Local vs remote (execution) determines what the workflow needs:
execution: "api"— generation runs remotely on a partner service (Kling, Veo, Magnific, ...). There are no local model files to set; configure the partner node's parameters (model name, prompt, input image) instead. Local model checks/downloads do not apply.execution: "local"— runs on the local ComfyUI; wire the local model loaders (the brainbriefing model paths are Query Templates-verified).execution: "hybrid"— local generation plus a remote helper node (e.g. a Gemini prompt expander); set up both.
If get_workflow_recipe returns {"error": "recipe database not found"}, skip to the Fallback section at the end of this skill.
Step 2 — Load a scaffold from the recipe
Pick the closest entry in member_workflows — it already matches the task and model — and call get_workflow_template(<member_name>). Record workflow_path and the existing node IDs in io.nodes.
- Prefer the member whose inputs match the brainbriefing (e.g. an i2v member when the user supplied a start image; a multi-image member when
input_image_count > 1). - If
member_workflowsis empty, use the Fallback generic-scaffold table.
This scaffold is already close to correct — you reshape it in Step 3, not rebuild it.
Step 3 — Conform the scaffold to the recipe
Treat the recipe as a build checklist against the scaffold:
- Required nodes: every
required_nodesentry must be present with at leastmin_instancescopies. Add any that are missing. Pay attention to paired nodes (min_instances >= 2, e.g. two model loaders / two samplers) — both must exist. - Connections: reproduce
reference_wiring. Each line reads<class>#<instance>:<output slot> -> <class>#<instance>.<input name>, e.g.CheckpointLoaderSimple#0:2 -> VAEDecode#0.vae— instances are numbered per class in node order, so#0is the first `LoadIm
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
get_workflow_recipe - 02
list_workflow_recipes - 03
get_workflow_catalog - 04
get_workflow_template - 05
update_workflow - 06
get_node_schema - 07
search_nodes
FAQ
Что делает скилл assemble-new-workflow?
Build a ComfyUI workflow from scratch when no template matches (template.name == "build_new"). Builds to the standard in the recipe database (task -> model -> node clusters), starting from a recipe member template.
Как установить скилл assemble-new-workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл assemble-new-workflow запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…