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.
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-layoutRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/artokun/comfyui-mcp /tmp/comfyui-mcp && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/comfyui-mcp/plugin/skills/workflow-layout ~/.gemini/antigravity-cli/skills/workflow-layoutAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
