/comfyui-plugin:comfy-subgraphs-app-modefrom comfyui-plugin
Explains ComfyUI Subgraphs, Blueprints, and App Mode for packaging workflow stages. Covers creation, editing, nesting, publishing reusable Blueprints, and converting workflows to form UIs.
Ships in comfyui-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Three frontend features for reusing and simplifying workflows, each version-gated:
| Feature | Frontend gate |
|---|---|
| Subgraphs (group → super-node) | 1.24.3+ |
| Subgraph Parameters Panel ("Edit Subgraph Widgets") | 0.3.66+ |
| Subgraph Blueprints (publish to node library) | 1.27.7+ |
| App Mode (a.k.a. "linear mode") | 1.41.13+ |
Check the running frontend if any of these ever appear missing:
<venv>/bin/python -c "import comfyui_frontend_package as p; print(p.__version__)"
The editor-side mechanics (the JSON shape of definitions.subgraphs[] and
its internal link table) live in comfy-workflow-json — that skill is
the authority for programmatic subgraph edits. This skill is about the
interactive features and what they mean for reuse.
| Use this skill when... | Use instead when... |
|---|---|
| Deciding whether to package part of a workflow as a subgraph, Blueprint, or App Mode UI | Editing the JSON shape of a subgraph programmatically -> comfy-workflow-json |
A subgraph packages selected nodes into a single collapsible "super node" with exposed input/output slots. Authoring is interactive:
A plain subgraph lives inside one workflow's JSON
(definitions.subgraphs[]). Copy-pasting it into another workflow carries
the definition along — reuse-by-copy-paste, fine for one-off porting but
not a library.
This is the answer to "can I reuse a stage across many workflows." Blueprints promote a subgraph into the node library so it can be dragged or searched into any workflow like a built-in node.
Instances are isolated snapshots, not live references. Each placed instance is an independent copy you can edit freely; editing one does not affect the others — and crucially, editing the master blueprint does not propagate to instances already dropped into workflows. The docs are explicit that "link instances, synchronous editing" are not yet supported.
Practical consequences:
Publishing goes through the userdata API (POST /userdata/<file>/publish), so blueprints are stored server-side
(under user/default/ on a self-hosted install) — shared across every
browser and workflow hitting that install, not trapped in one browser's
local storage. They survive a service restart; they do not live in any
individual workflow's JSON.
App Mode (the frontend's internal name is linear mode) hides the node graph behind a purpose-built input/output panel: you pick which node inputs become user controls and which outputs get displayed, and end users just fill the form and hit Run. Available on both self-hosted and Comfy Cloud installs.
Ctrl/Cmd + S like any workflow.App Mode persists under extra.linearMode and extra.linearData in the
workflow JSON (alongside extra.ds, extra.frontendVersion, etc.). This
matters for programmatic edits: any transform script that round-trips
a workflow must preserve the extra block, or it silently strips the
app configuration. If you rebuild a workflow from scratch in a builder
script, the app config is gone and has to be reconfigured in the UI. See
comfy-workflow-json.
| Goal | Use |
|---|---|
| Reuse the same stage (sampler pass, edit core) across many workflows | Subgraph Blueprint (re-stamp; manual version bumps) |
| Tidy one big workflow into readable super-nodes | Subgraph (no publish) |
| Hand a non-graph user a fill-the-form UI on a finished workflow | App Mode |
| Share that app UI as a public URL | App Mode on Comfy Cloud (self-hosted can't mint share links) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub laurigates/claude-plugins --plugin comfyui-plugin17 skills in this plugin
/comfy-cliThe `comfy` CLI for ComfyUI: install/update/bisect custom nodes, snapshot/restore state, publish to the registry, run workflows headlessly. Use when the user runs `comfy`, `comfy node`, or `comfy run`./comfy-conditionalsComfyUI predicate/boolean nodes: compare, AND/OR/XOR/NOT, ternary, null/empty/type probes, ExecutionBlocker. Use when forming the boolean that drives a workflow switch or blocker./comfy-corpus-validationVerify ComfyUI sampler/scheduler facts: source-of-truth ladder, measured sigma curves, coverage gaps. Use when writing or auditing sampler corpus metadata./comfy-debug-previewComfyUI debug/preview nodes: show text/numbers/JSON/tensor shapes, image previews, counts, VRAM/CPU telemetry, timing. Use when inspecting a value mid-graph without changing it./comfy-flow-controlComfyUI routing nodes: typed switches, index switches, broadcast (Anything Everywhere), pipe/context bundles, for/while loops, ExecutionBlocker gates. Use when wiring where a signal routes in a workflow./comfy-image-utilsComfyUI non-inference image ops: resize/crop/pad/tile/batch/mask utilities, plus image-to-text captioners (Florence-2, WD14, BLIP, DeepDanbooru). Use when manipulating images or generating captions/tags in a workflow.Other plugins' skills for the same job