assemble-from-template
Assembles a workflow on the basis of a brainbriefing JSON and a pre-selected template.
от szprivate★ 53 звезды на GitHub
Установить assemble-from-template в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
This skill is used whenever the assemble workflow agent needs to assemble and patch a workflow from a workflow template pre-selected by the query templates agent. Uses the brainbriefing JSON to retrieve input- and output nodes.
General constraints:
- Before every tool call, state what you are doing and why.
Follow these steps:
1. Load template
Load the workflow template specified in the brainbriefing. Constraints:
- You MUST call
get_workflow_template(brainbriefing.template_name)and record the returned file path. - You MUST NOT proceed if the template fails to load — report the error with
task_idand stop. - If the template is
Kling3_multiShot: you MUST activate thekling-multishotskill and follow its Brain assembly steps instead of the standard step 2 procedure below. - For a Nano Banana / Nano Banana Pro or z-Image variant: if a dedicated
nano-banana/zimage-turboskill is available, activate it for its special handling; otherwise proceed with step 2 —apply_brainbriefingassembles these correctly.
2. Apply the brainbriefing, then fix any errors
Assemble the workflow by applying the whole brainbriefing in ONE call, then correct only what it could not do mechanically.
Constraints:
- You MUST call
apply_brainbriefing(workflow_path, brainbriefing_json)with the full brainbriefing JSON. This single call patches every input node, the positive/negative prompt (into the exactprompt_nodesthe briefing names, using each node's real input slot — e.g.promptforGeminiNanoBanana2,textforCLIPTextEncode), the output node paths, and the resolution. Do NOT hand-build these patches yourself, and do NOT assume the prompt input is alwaystext. - You MUST NOT call
save_workflow()— that is only for building workflows from scratch. - If
apply_brainbriefingreturnsstatus: "ready"(or"ok"): the workflow is assembled — inspect itsappliedlist, then hand off. Do not re-patch anything it already applied. - If it returns
status: "error": readproblemsandserver_errorsand fix each with the smallest correction, then let it re-validate:- a wrong/missing node input or value →
update_workflow(workflow_path, patches), each patch{"node_id": "...", "input_name": "...", "value": ...}. If you are unsure of the exact input name, inspect the node first withget_node_schema. - a node that must be swapped →
replace_node(...). Repeat at most twice, then hand off.
- a wrong/missing node input or value →
- Excess input nodes: if
input_image_count< the number of image-load nodes → remove the extras viaupdate_workflow(workflow_path, remove_nodes=[...]). - Missing input nodes: if
input_image_count> the number of image-load nodes → add them viaupdate_workflow(workflow_path, add_nodes=[...]). - If the workflow has a ModelSamplingFlux node and
apply_brainbriefingleft its inputs incomplete: activate theflux-samplingskill and set all four required inputs viaupdate_workflow. - If
count_iter > 1ANDvariations == true: activate theimage-batchskill first (abatch_request: the same template run N times with substituted parameters — the structure does not change). - If you find a
BatchImagesNode: callreplace_node(workflow_path, <node_id>, "ImageBatch", remap_inputs=true)immediately (the slots have other names, so the wires are carried over by type). dead_nodesin any result is a defect, even whenstatusis"ok". Those nodes will never execute — ComfyUI runs a graph backwards from its output nodes, so a node whose output nothing reads is skipped silently, and validation passes. It usually means a wire you added is missing its other half: a decoded audio branch whoseCreateVideo.audiowas left unwired produced a silent video from an audio model. Wire each listed node into the branch that reaches the output node, or remove it withupdate_workflow(remove_nodes=[...]).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
apply_brainbriefing - 02
update_workflow - 03
replace_node - 04
get_node_schema - 05
get_workflow_template
FAQ
Что делает скилл assemble-from-template?
Assembles a workflow on the basis of a brainbriefing JSON and a pre-selected template.
Как установить скилл assemble-from-template?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл assemble-from-template запускает скрипты?
Нет, скилл состоит только из инструкций (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…