Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

workflow-execution

БесплатноБез исполняемых скриптовНе проверен

Build, validate, debug, and reason about ComfyUI API prompt JSON, graph execution, caching, async nodes, output metadata, blueprints, and inference failures.

lza6от lza6★ 19 звёзд на GitHub

Об этом скилле

Workflow Execution

Use this sub-skill when an agent needs to convert or check a ComfyUI API prompt, debug prompt graph errors, explain why nodes execute or are cached, validate workflow templates/blueprints, or reason about async/lazy execution behavior.

When to Use

  • Validate a prompt before sending it to ComfyUI's /prompt endpoint.
  • Explain the difference between exported UI workflow JSON and API prompt JSON.
  • Find missing node ids, malformed [node_id, output_index] links, absent class_type, or non-object inputs values.
  • Diagnose execution failures involving validation, lazy inputs, async nodes, progress messages, output metadata, cache reuse, or expensive inference runs.
  • Review a blueprint or reusable template for placeholder safety before filling model names or parameters.

For endpoint submission, queue/history/websocket handling, and live server transport, use ../server-api/SKILL.md. For node schema/class implementation details, use ../custom-nodes/SKILL.md. For model filenames, search paths, memory modes, and backend flags, use ../models-config/SKILL.md.

Fast Workflow

  1. Decide whether the file is API prompt JSON or UI workflow JSON; convert/export to API format before POSTing.
  2. Run python scripts/validate_prompt_graph.py prompt.json for structural checks that do not import ComfyUI or load models.
  3. Check every node has string id, class_type, and inputs; every link is ["upstream_id", output_index] or [upstream_id, output_index].
  4. Verify node-specific input names/types against the active node registry or docs; the bundled validator intentionally cannot know custom node schemas.
  5. Confirm output nodes such as save/preview nodes are reachable from intended generation nodes.
  6. If live execution fails, inspect ComfyUI validation errors first, then graph dependency/cycle errors, then async/runtime/model/backend errors.

References

  • references/prompt-format.md explains API prompt JSON shape, link syntax, and UI workflow differences.
  • references/execution-semantics.md explains validation order, topological execution, lazy inputs, async behavior, output metadata, and cache modes.
  • references/blueprints-and-templates.md explains blueprint/template handling and safe placeholder validation.
  • references/troubleshooting.md maps common prompt/execution failures to fixes.
  • scripts/validate_prompt_graph.py performs self-contained structural validation for prompts and template-like JSON.

Grounding Notes

This guidance is distilled from ComfyUI's execution engine, graph scheduler, cache implementation, async/progress behavior, inference patterns, API examples, and blueprint/template formats. Full live execution can require optional model/backend capabilities; validate prompt shape separately from model availability and hardware-specific runtime behavior.

Полный SKILL.md на GitHub

Установить workflow-execution в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/blueprints-and-templates.mdreferences/execution-semantics.mdreferences/prompt-format.mdreferences/troubleshooting.md

FAQ

Что делает скилл workflow-execution?

Build, validate, debug, and reason about ComfyUI API prompt JSON, graph execution, caching, async nodes, output metadata, blueprints, and inference failures.

Как установить скилл workflow-execution?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл workflow-execution запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить workflow-execution с