Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

workflow-layout

Skill by artokun

Lays out and organizes a ComfyUI workflow on the live panel canvas using dependency-layered placement, colored groups, and subgraphs. Built for users who want clean, overlap-free workflows.

  • Score 74
  • 960 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install workflow-layout

Built from the published package, never by AI.

git clone --depth 1 https://github.com/artokun/comfyui-mcp /tmp/comfyui-mcp && mkdir -p ~/.claude/skills && cp -r /tmp/comfyui-mcp/plugin/skills/workflow-layout ~/.claude/skills/workflow-layout

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install workflow-layout in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The workflow-layout skill tidies and organizes a ComfyUI workflow on the live panel canvas. It reads node positions, sizes, groups and subgraph rails first, then arranges nodes into left-to-right columns based on their dependencies. Vertical spacing uses each node's full rendered height so nodes do not overlap.

It also creates colored group boxes, wraps complex stages into subgraphs, and re-pins subgraph input and output rails after interior nodes move. The source says it fits requests to tidy, clean up, organize or arrange a workflow, add groups or subgraphs, or fix overlapping nodes. It recommends saving the workflow so changes persist, and keeping input and output nodes visible.

Written from the project's SKILL.md and checked against it.

What it can do

  • panel_query_graphReads node positions, sizes, full heights, groups and subgraph rails before any layout.
  • panel_edit_nodeMoves, resizes, retitles, collapses or color-codes a single node.
  • panel_create_groupWraps nodes or a bounding box in a colored group box without moving the nodes.
  • panel_move_groupMoves an existing group on the canvas.
  • panel_create_subgraphNests selected nodes into one collapsible subgraph node.
  • panel_enter_subgraphOpens a subgraph so its inner nodes can be laid out.
  • panel_move_railPositions the input or output boundary rail inside a subgraph.
  • panel_expose_subgraph_outputExposes an interior output on the subgraph's output rail.
  • panel_unpack_subgraphExpands a subgraph back into the parent graph.
  • panel_save_workflowSaves the workflow so positions, titles and groups persist.

What you need

  • ComfyUI
  • The comfyui-mcp panel layout tools

Try asking

  • Tidy up my ComfyUI workflow so nodes don't overlap.
  • Organize this workflow into stage groups with colored boxes.
  • Wrap the sampler and decoder stages in a subgraph and align its rails.

Good to know

  • Node positions, titles and groups persist only after the workflow is saved.
  • Image and video nodes report a short height until media loads, so extra space is needed below them.
  • Over-subgraphing can hurt readability, so the source advises against subgraphing everything.
  • The skill should confirm before a big reorganization of a graph still being built.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugin/skills/workflow-layout/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to workflow-layout

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

workflow-layout: common questions

Does this skill stop ComfyUI nodes from overlapping?

Yes. The source says it stacks nodes using each node's full rendered height, including the title bar, so the gap between nodes is exact.

Do subgraph rails need to be moved after a layout?

Yes. The source says moving inner nodes leaves the input and output rails behind, so both rails must be re-pinned to the node band.

Should every stage of a workflow become a subgraph?

No. The source says not to subgraph everything, since a stage of two or three nodes rarely needs it and too many subgraphs hurt readability.

How do I install workflow-layout?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is workflow-layout free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is workflow-layout safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to workflow-layout?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

workflow-layout Install

Add to stack

Loading.