Agent skill

Reorganise Comfy Workflow

by peteromallet in peteromallet/VibeComfy

Reorganise an existing ComfyUI workflow layout without changing runtime behavior.

MITAuto-check passedAI & LLM Engineering

Install Reorganise Comfy Workflow

skills CLI
$ npx skills add peteromallet/VibeComfy --skill reorganise-comfy-workflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install peteromallet/VibeComfy reorganise-comfy-workflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/peteromallet/VibeComfy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/agent-skill/skills/reorganise-comfy-workflow .claude/skills/reorganise-comfy-workflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
reorganise-comfy-workflow
GitHub stars
150
Token cost
~1.4k tokens
SKILL.md length
582 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Reorganise an existing ComfyUI workflow layout without changing runtime behavior.

  • The user asks to clean up a messy graph
  • SKILL.md covers CLI Path, Agent Route, Main-Flow Suggestions and Review Discipline
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Make it readable

What it does

Reorganise Comfy Workflow is an agent skill from peteromallet/VibeComfy. Reorganise an existing ComfyUI workflow layout without changing runtime behavior. Use when the user asks to clean up a messy graph, make it readable, regroup or align nodes, or run the explicit /reorganisecomfyworkflow agent route.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Diffusion and image models. It works with ComfyUI. The licence is MIT.

When your agent uses it

  • The user asks to clean up a messy graph
  • Make it readable
  • Run the explicit /reorganisecomfyworkflow agent route

Example prompts

  • “/reorganise-comfy-workflow”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit b1429c6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Reorganise Comfy Workflow loads about 1.4k tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 582 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from peteromallet/VibeComfy at commit b1429c6, republished under its MIT licence (© peteromallet). 582 words, ~1,406 tokens.

Download SKILL.mdSave it as .claude/skills/reorganise-comfy-workflow/SKILL.md (or your agent's skills folder).
name
reorganise-comfy-workflow
description
Reorganise an existing ComfyUI workflow layout without changing runtime behavior. Use when the user asks to clean up a messy graph, make it readable, regroup or align nodes, or run the explicit `/reorganise_comfy_workflow` agent route.

Reorganise Comfy Workflow

Use this when the graph should become easier to review, share, or maintain, but the workflow semantics must stay unchanged. A JSON canvas is an input or presentation artifact; load the canonical Python bundle before judging semantic equivalence. This is a layout-only path: it may move, resize, group, color, flag, or annotate UI furniture, but it must not edit topology, node classes, links, widget values, prompts, runtime payloads, or generated graph state.

The explicit route is available now. Automatic main-flow integration is conservative: the default mode can suggest this skill after a successful functional edit, but it does not silently reorganise, auto-apply, or start a second edit phase.

CLI Path

Start with deterministic offline evidence:

bash
vibecomfy reorganise workflow.json --assess

Create a preview candidate before any write to the source workflow:

bash
vibecomfy reorganise workflow.json --preview --out cleaned.json

Preview writes sibling artifacts next to cleaned.json:

  • reorganisation_plan.json
  • reorganisation_report.md
  • reorganisation_metrics.json
  • structural_noop_evidence.json
  • reorganisation_preview_manifest.json

Apply only an existing preview manifest:

bash
vibecomfy reorganise workflow.json --apply --manifest reorganisation_preview_manifest.json --out cleaned.json

Replacing the source workflow is deliberately explicit:

bash
vibecomfy reorganise workflow.json --apply --manifest reorganisation_preview_manifest.json --replace-original

In-place apply preserves a sibling .bak. Apply refuses stale source graphs by checking the preview manifest source hashes and writes the exact previewed candidate instead of recomputing a new layout.

Useful options:

bash
vibecomfy reorganise workflow.json --preview --out cleaned.json --spacing compact
vibecomfy reorganise workflow.json --preview --out cleaned.json --existing-group-policy preserve
vibecomfy reorganise workflow.json --preview --out cleaned.json --force-regroup
vibecomfy reorganise workflow.json --preview --out cleaned.json --sidecar workflow.layout.json

Agent Route

For Comfy app agent turns, use the explicit route:

text
/reorganise_comfy_workflow

or send route="reorganise".

The route runs after normal durable turn allocation. It should produce a reviewable layout candidate, report, metrics, structural no-op evidence, and candidate UI artifact when gates pass. It must use the existing candidate, idempotency, accept/reject, and apply-eligibility flow; do not introduce a parallel apply path.

Explicit organisational prompts such as "organise this workflow", "clean up the canvas", and "make this readable" canonicalize to route="reorganise" with task="layout_reorganise". Unknown explicit routes still fail closed through the normal clarify path.

Main-Flow Suggestions

Post-edit reorganisation is controlled by:

text
VIBECOMFY_REORGANISE_AUTO=off|suggest|candidate
  • off: default. Do not inspect successful edits for a follow-up layout offer.
  • suggest: After a successful applyable functional candidate, attach compact layout_reorganisation advisory metadata and mention /reorganise_comfy_workflow when deterministic before/after layout evidence shows the result may be harder to review. The functional candidate remains unchanged.
  • candidate: experimental rollout mode. Only after a successful applyable functional candidate, prepare a layout-only reorganise candidate through the same durable candidate lifecycle. If preview, structural no-op, or apply eligibility checks fail, keep the functional candidate and fail closed.

Invalid config values fail closed to off with visible config metadata. In all modes, functional user intent stays on the functional route; compact layout hints must not override a concrete edit request.

Show full SKILL.md (183 more words)Show less

Review Discipline

  • Treat the result as a candidate, not an applied edit.
  • Confirm layout_only_structural_noop is true before presenting an apply path.
  • Confirm the structural/topology hash is unchanged apart from UI-only layout fields. Reorganisation must never add, remove, rewire, or retarget runtime nodes, links, widgets, prompts, or generated API payloads.
  • Use reorganisation_report.md for the user-facing summary and structural_noop_evidence.json for safety evidence.
  • After a successful preview, tell the user where the organised .json and artifacts were written, and offer to open that output folder for review.
  • Also offer a manifest-backed replace-original option. Make clear that replacing the original requires --apply --manifest reorganisation_preview_manifest.json --replace-original; this writes the exact previewed candidate and creates a sibling .bak backup of the original workflow. Do not describe replacement as happening by omission of --out.
  • If parse, validation, compile, stale-source, invalid-ref, duplicate-ownership, or structural-drift checks fail, report that no candidate is available.
  • Do not call semantic providers for CLI assessment or default preview. Provider-backed planning is an explicitly injected orchestration path, not the default skill behavior.
  • If the user asks for functional graph changes after layout cleanup, hand off to edit-comfy-workflow.

© peteromallet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/agent-skill/skills/reorganise-comfy-workflow of peteromallet/VibeComfy.

Open the folder on GitHubat commit b1429c6

Compare with similar skills

Reorganise Comfy Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Reorganise Comfy Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reorganise Comfy Workflow this skillpeteromallet/VibeComfy150—~1.4kAutomated safety check: PassMIT
Comfyui AnimatoolShiroEirin/comfyui-good-anima481—~4.6kAutomated safety check: PassGPL-3.0
Comfyui Agent Skill MieMieMieeeee/comfyui-agent-skill116—~3.9kAutomated safety check: PassApache-2.0
Comfyui Node Addernixified-ai/flake841—~806Automated safety check: PassAGPL-3.0
Importing SubgraphsComfy-Org/workflow_templates1.3k—~1.5kAutomated safety check: PassMIT
Headroommomori777/Artemis380—~562Automated safety check: PassMIT

Similar skills

  • Comfyui Animatool

    ShiroEirin/comfyui-good-anima

    Route ALL Anima image generation: validate Danbooru hard anchors, form visual brief, assemble English prompts and args, then load comfyui-manager for workflow execution.

    481 GitHub stars~4.6k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Comfyui Agent Skill Mie

    MieMieeeee/comfyui-agent-skill

    Agent skill for running registered ComfyUI workflows through a stable CLI, and for importing a user's own ComfyUI workflow into their private registry after review.

    116 GitHub stars~3.9k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Comfyui Node Adder

    nixified-ai/flake

    Adds new custom nodes to the ComfyUI Nix project, including npins fetching, dependency resolution in package.nix, disabling impure pip installs, and verifying the Nix build.

    841 GitHub stars~806 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Importing Subgraphs

    Comfy-Org/workflow_templates

    Imports and registers subgraph blueprints into the ComfyUI workflowtemplates repository.

    1.3k GitHub stars~1.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Headroom

    momori777/Artemis

    SmartCrusher + CCR context compression — crunch large JSON arrays, tool outputs, and search results to save tokens.

    380 GitHub stars~562 tokensUpdated 10 days ago
    AI & LLM EngineeringAuto-check passed
  • Comfyui Animatool

    ShiroEirin/comfyui-good-anima

    A skill your agent uses for Anima / ComfyUI-AnimaTool image generation.

    481 GitHub stars~3.4k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed

More from peteromallet/VibeComfy

All 9 skills in this repo
  • Add Comfy Workflow Template

    peteromallet/VibeComfy

    Add a durable VibeComfy ready workflow/template from a ComfyUI source workflow.

    150 GitHub stars~700 tokensUpdated 10 days ago
    Auto-check passed
  • Debug Comfy Workflow

    peteromallet/VibeComfy

    Diagnose a VibeComfy or ComfyUI workflow that fails validation, conversion, node/model resolution, runtime execution, or output production.

    150 GitHub stars~609 tokensUpdated 10 days ago
    Auto-check passed
  • Edit Comfy Workflow

    peteromallet/VibeComfy

    Edit an existing VibeComfy or ComfyUI workflow, ready template, recipe, scratchpad, or target graph.

    150 GitHub stars~2.2k tokensUpdated 10 days ago
    Auto-check passed
  • Explain Comfy Workflow

    peteromallet/VibeComfy

    Explain an existing VibeComfy or ComfyUI workflow, ready template, recipe, scratchpad, target graph, node chain, model path, prompt path, or runtime result.

    150 GitHub stars~806 tokensUpdated 10 days ago
    Auto-check passed
  • Run Comfy Workflow

    peteromallet/VibeComfy

    Execute an existing VibeComfy/ComfyUI workflow, ready template, recipe, or scratchpad and collect outputs.

    150 GitHub stars~1.8k tokensUpdated 10 days ago
    Auto-check passed
  • Search Comfy Workflows

    peteromallet/VibeComfy

    Search for ComfyUI workflow precedents, VibeComfy ready templates, node wiring examples, Banodoco/Hivemind community workflow knowledge, and concrete graph patterns before editing or adding a…

    150 GitHub stars~966 tokensUpdated 10 days ago
    Auto-check passed

Works with

Questions about Reorganise Comfy Workflow

What does Reorganise Comfy Workflow do?

Reorganise an existing ComfyUI workflow layout without changing runtime behavior. Reorganise Comfy Workflow is an agent skill from peteromallet/VibeComfy. Reorganise an existing ComfyUI workflow layout without changing runtime behavior.

When should I use Reorganise Comfy Workflow?

Reorganise Comfy Workflow fits situations like: the user asks to clean up a messy graph; make it readable; run the explicit /reorganisecomfyworkflow agent route.

How do I install Reorganise Comfy Workflow in Claude Code?

Run `npx skills add peteromallet/VibeComfy --skill reorganise-comfy-workflow -a claude-code`. Or copy the skill folder (docs/agent-skill/skills/reorganise-comfy-workflow in peteromallet/VibeComfy) into .claude/skills/reorganise-comfy-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Reorganise Comfy Workflow in Codex?

Run `npx skills add peteromallet/VibeComfy --skill reorganise-comfy-workflow -a codex`. Or copy the skill folder (docs/agent-skill/skills/reorganise-comfy-workflow in peteromallet/VibeComfy) into .agents/skills/reorganise-comfy-workflow in your project. Codex loads it when a task matches its description.

Can I use Reorganise Comfy Workflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add peteromallet/VibeComfy --skill reorganise-comfy-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reorganise-comfy-workflow, .gemini/skills/reorganise-comfy-workflow, .github/skills/reorganise-comfy-workflow and .opencode/skills/reorganise-comfy-workflow in your project.

What does Reorganise Comfy Workflow need to run?

SKILL.md names no scripts, command-line tools or credentials: Reorganise Comfy Workflow is instructions for the agent only. Our summary lists: Python 3.

Does Reorganise Comfy Workflow access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Reorganise Comfy Workflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Reorganise Comfy Workflow use?

Reorganise Comfy Workflow is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Reorganise Comfy Workflow use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Reorganise Comfy Workflow?

Skills that share tags, products or a category with Reorganise Comfy Workflow: Comfyui Animatool (ShiroEirin/comfyui-good-anima, 481 stars), Comfyui Agent Skill Mie (MieMieeeee/comfyui-agent-skill, 116 stars), Comfyui Node Adder (nixified-ai/flake, 841 stars) and Importing Subgraphs (Comfy-Org/workflow_templates, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Reorganise Comfy Workflow?

peteromallet (a GitHub user) maintains it in peteromallet/VibeComfy, which has 150 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 1, 2026.

Source: peteromallet/VibeComfy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.