Agent skill

Vibecomfy

by peteromallet in peteromallet/VibeComfy

Drive the VibeComfy package to discover ComfyUI workflows, load ready Python templates, edit and compose them in a VibeWorkflow IR, validate, and execute either embedded locally, against an existing…

MITAuto-check passedAI & LLM Engineering

Install Vibecomfy

skills CLI
$ npx skills add peteromallet/VibeComfy --skill vibecomfy -a claude-code

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

GitHub CLI
$ gh skill install peteromallet/VibeComfy vibecomfy --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 .claude/skills/vibecomfy && 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
vibecomfy
GitHub stars
150
Token cost
~3.5k tokens
SKILL.md length
1,528 words
Files
4
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Drive the VibeComfy package to discover ComfyUI workflows, load ready Python templates, edit and compose them in a VibeWorkflow IR, validate, and execute either embedded locally, against an existing…

  • The user wants to generate images/video/audio/edits from ComfyUI workflows
  • SKILL.md covers First Moves, Automatic Local Preparation, Authoring Model and Rules, plus 3 more sections
  • Calls python and node
  • Tweak templates

What it does

Vibecomfy is an agent skill from peteromallet/VibeComfy. Drive the VibeComfy package to discover ComfyUI workflows, load ready Python templates, edit and compose them in a VibeWorkflow IR, validate, and execute either embedded locally, against an existing ComfyUI server, or on RunPod. Use whenever the user wants to generate images/video/audio/edits from ComfyUI workflows, tweak templates, build recipes, compose graphs in Python, or run existing readytemplates end-to-end.

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `README.md` and `REFERENCE.md`).

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

When your agent uses it

  • The user wants to generate images/video/audio/edits from ComfyUI workflows
  • Tweak templates
  • Compose graphs in Python
  • Run existing readytemplates end-to-end

Example prompts

  • “/vibecomfy”

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

    Shell commands in SKILL.md call:

    • python
    • node

    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

Vibecomfy loads about 3.5k tokens when it runs. Until then it costs about 108 tokens; SKILL.md has 1,528 words of instructions outside code blocks.

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

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). 1,528 words, ~3,491 tokens.

Download SKILL.mdSave it as .claude/skills/vibecomfy/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
vibecomfy
description
Drive the VibeComfy package to discover ComfyUI workflows, load ready Python templates, edit and compose them in a `VibeWorkflow` IR, validate, and execute either embedded locally, against an existing ComfyUI server, or on RunPod. Use whenever the user wants to generate images/video/audio/edits from ComfyUI workflows, tweak templates, build recipes, compose graphs in Python, or run existing `ready_templates` end-to-end.

VibeComfy

VibeComfy is this package: a Python-first way to drive ComfyUI without hand-editing JSON. The center of gravity is VibeWorkflow: load a workflow, edit it in Python, validate it, then compile to ComfyUI API JSON and run it.

Use this umbrella skill for orientation and package rules. For real work, route to the smallest focused skill:

User wantsUse
Configure ComfyUI paths, server URL, custom nodes, or modelsvibecomfy-setup
Find a workflow, precedent, node wiring, or Hivemind evidencesearch-comfy-workflows
Explain what a workflow does or answer questions about itexplain-comfy-workflow
Clean up, regroup, or align a ComfyUI workflow layout without changing runtime behaviorreorganise-comfy-workflow
Tweak or rewrite a workflow without running itedit-comfy-workflow
Execute a ready template, recipe, scratchpad, server run, or RunPod smokerun-comfy-workflow
Diagnose validation, conversion, node/model, or runtime failuresdebug-comfy-workflow
Add a durable package ready templateadd-comfy-workflow-template

The operating path is:

text
discover -> load_bundle -> edit/compose -> validate -> compile("api") -> run -> collect outputs

Custom Python functions use @python_node and lower to visible, executable vibecomfy.exec nodes. Complete modules/projects use python_node.from_source with a bounded source capsule; worker-installed packages use python_node.from_installed. Route authoring and source edits to edit-comfy-workflow, execution and queue evidence to run-comfy-workflow, and dependency/import failures to vibecomfy-setup or debug-comfy-workflow. Read custom Python workflow nodes for the canonical syntax and validation boundaries.

For a reusable source-to-Python onboarding path, including provenance and honest import/runtime blockers, see workflow onboarding.

First Moves

Work from the user's project directory so relative import destinations and recipe paths are predictable. Repository maintenance commands may require the VibeComfy repo root. Prefer the vibecomfy ... console entrypoint; if an editable checkout has no console script, use python -m vibecomfy.cli ....

For a runnable starting point:

bash
vibecomfy workflows list --ready
vibecomfy inspect image/z_image
vibecomfy copy-to-recipe image/z_image --out recipes/my_run.py
vibecomfy validate recipes/my_run.py
vibecomfy run recipes/my_run.py --runtime server --server-url http://127.0.0.1:8188

For raw JSON:

bash
vibecomfy import workflow.json
vibecomfy inspect workflows/workflow --json
vibecomfy edit workflows/workflow set sampler.steps 30
vibecomfy validate workflows/workflow --json
vibecomfy doctor workflows/workflow --json

For a community workflow, obtain workflow.json by searching Hivemind through the deployed Astrid pack and fetching the selected accepted revision. Pull it only when needed, then import it into workflows/. Do not bulk-download or maintain a second local copy of Hivemind's workflow catalogue.

import creates an editable folder with workflow.py, workflow.vibe.json, and a byte-identical source.json; provenance stays in the bundle metadata. Use --out <directory>, --dry-run, or --json as needed. This prepares authoring files but does not install dependencies or run the workflow. Use validate and doctor for checks, and templates create for intentional ready-template promotion. A ready_templates/ entry is a curated executable adapter, not a replacement for the Hivemind source or the local workflows/ ingestion bundle. This standalone route is local and untracked by default. Add --project <name> to import and edit to opt those transitions into an existing Astrid project. If the workflow is already being handled by Astrid, use its native astrid media import plus astrid tasks create --capability vibecomfy.import route instead; it inherits the admitted project/task context and does not use VibeComfy's --project flag. The workflow onboarding guide explains the three routes, atomic batch edits, direct Python capture, validation, and Astrid history.

For node details, use vibecomfy node <ClassType>. Its default view includes inputs, outputs, schema provenance, and locally available implementation class source. Use --inputs, --outputs, or --source to focus the result, combine filters when useful, and add --json for machine-readable output. Treat source unavailability separately from a missing schema; never substitute a generated wrapper for the underlying node implementation.

For setup trouble:

bash
vibecomfy config show --json
vibecomfy runtime doctor

Automatic Local Preparation

Local canonical Python workflows are statically reconciled after load. Missing model URLs, node repositories, destinations, and class accounting gaps are reported together; the run stops before compilation, session changes, package or node installation, model transfer, or queueing. Common unresolved entries are written back to the same workflow source for the user to complete.

Once the dependency report is resolved, vibecomfy run uses the existing model fetch, node-pack, lockfile, session, and bounded download plumbing automatically. --deps reuse is the default: it only compares the declared runtime target and emits one actionable drift warning; missing or demonstrably incompatible fields block before queueing. --deps sync is explicit and managed-target-only, and uses the existing preparation/install seams. Set VIBECOMFY_OFFLINE=1 to make sync fail closed instead of attempting network access. Managed sync requires an existing VibeComfy-owned runtime_root/.venv or runtime_root/venv plus the .vibecomfy-managed marker written by the managed setup path; it never installs into an unrelated caller interpreter. --runtime-root, --session, --keep-warm, --restart-session, --download-workers, and --json remain available on the normal run command. Explicit --server-url runs are remote and non-mutating; unverifiable target fields are reported as such.

The typed requirements.runtime declaration records the tested ComfyUI commit/version, Python version, package constraints, launch flags, model identities, and custom-node versions/commits. Legacy metadata.python_env and metadata.comfy_commit are normalized for compatibility; contradictory values fail at ingest rather than silently choosing one.

The local repair loop is canonical and same-file: authored ModelAsset rows and requirements.custom_node_refs are the only dependency declarations. URL-only models use the current URL bytes and leave an observed SHA-256/size/ effective-URL receipt; optional hf_revision, sha256, and node version/tag/branch/commit pins remain explicit. Matching model receipts and custom_nodes.lock entries are reused exactly. Before any setup or queueing, root and nested graph classes are checked against core classes, declared classes/class_set, and an unambiguous local pack catalog. Gaps are reported with source locations and actionable same-file placeholders; dynamic forms remain manual-edit diagnostics. Warm sessions and bounded concurrency are preserved after reconciliation. Live RunPod/GPU acceptance remains an explicitly separate validation and is not claimed from local structural tests.

Authoring Model

Use one loader by default:

python
from vibecomfy.cli_loader import load_bundle

def build():
    wf = load_bundle("image/z_image").workflow
    wf.set_prompt("a glass teapot on basalt")
    wf.set_seed(42)
    wf.set_steps(20)
    return wf.finalize_metadata()

Choose the lightest edit shape:

ShapeUse when
VibeWorkflow setters/direct methodsYou are changing existing prompt, seed, steps, widgets, edges, or metadata.
PatchesYou are decorating an existing graph without changing the public handle shape.
BlocksYou are adding graph structure that produces new handles.
RecipesYou are making a user-specific composition or chaining logic.
Ready templatesYou are adding a durable package starting point by id.

Keep ComfyUI's terms precise: a workflow is any graph; a template is a curated starting-point workflow under ready_templates/.

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

Rules

  • Treat raw UI/API JSON as import evidence. Use vibecomfy import <workflow.json> for a local bundle, then load the folder through load_bundle() before editing or running. The folder is accepted by inspect, analyze info, validate, doctor, and run.
  • Treat the worktree as shared. Do not revert, overwrite, or clean up edits you did not make.
  • Keep changes scoped to the requested workflow, command, template, or doc surface.
  • Do not bulk-create a workflow corpus. Local workflow files belong in the ignored workflows/ ingestion store; generated snapshots and template manifests change only during an explicit ready-template promotion.
  • Never invent node class names, sockets, widget fields, or model layouts. Use inspect, analyze info, node <ClassType>, local precedents, or search-comfy-workflows.
  • Sync indexes only when needed: vibecomfy sources sync.
  • Add focused tests when changing command routing, parser behavior, conversion, validation, search, runtime-facing code, or template coverage.
  • Keep tests deterministic; avoid requiring ComfyUI, RunPod, network, or local model files unless the test is explicitly marked for that environment.

Agent-Edit Policy

  • Prefer normal static graph edits first.
  • Use vibecomfy.loop only for bounded visible sweeps that cannot lower cleanly to ordinary nodes. Keep iteration counts bounded and metadata typed.
  • Use vibecomfy.code only for inspectable typed logic when no shipped shape fits. Default to sandboxed modes. Never emit unrestricted execution from agent-authored code.
  • Reject side-effecting, unbounded, runtime-only, external-I/O, or otherwise unrepresentable requests at policy level.
  • Editor-only intent nodes may be valid for Canvas Apply, but they are Queue blockers until lowered to normal runtime nodes.
  • When emitting an intent node programmatically, build metadata with intent_node_properties(...).

When You Need More Detail

Schema Capture and Preflight (Batch E)

Missing schema captures block preflight — the harness fails closed and tells you exactly how to provision:

bash
vibecomfy schemas ensure --manifest <comparison-manifest.json>

What the command does (no parallel schema system, compose only):

  • Registry → ephemeral clone → extraction ladder → cache + provenance tier. Registry resolves the owning pack (pack_resolver), a shallow clone is materialized in the LRU-bounded sandbox ~/.cache/vibecomfy/schema-sandbox (max 64 packs / 2 GiB), then extract_pack_schemas runs rung 1 (static AST) and rung 2 (stubbed-subprocess INPUT_TYPES — always on for this command). Rung 3 (embedded comfy-as-library) is deferred; the command fails closed if a class needs it.
  • Persist with honest tier. persist_on_demand_pack stamps source_kind as on_demand_static (rung 1) or on_demand_import (rung 2), writes Pack@on_demand_*-{sha7}.json (never @runpod-snapshot or @stub.json), and attests provenance.json with repo, locked_commit (clone HEAD), extraction_rung, registry_pack_version, source_kind, schema_sha256.

How preflight accepts it:

  • Declarations accepted: authoritative_object_info | on_demand_static | on_demand_import | on_demand_embedded. Preflight requires the declared source to match the cache entry's source_kind exactly — no silent upgrades (on_demand_static does not satisfy authoritative_object_info, on_demand_import does not satisfy on_demand_static).
  • @stub.json / workflow_json_stub never counts as evidence (filtered and stub-rejected even if indexed).
  • Campaign-grade strict lane: VIBECOMFY_OBLIGATION_RUNTIME_ONLY=1 rejects any on_demand_* declaration — runtime-family captures only.

Discovering the command:

  • vibecomfy schemas validate-coverage --manifest <m> --json reports missing_classes and ensure_command (vibecomfy schemas ensure --manifest <m>); it exits 1 when --manifest and gaps exist (template positional keeps exit 0 for back-compat).
  • vibecomfy doctor <workflow.py> on unknown_class_type / missing schema prints vibecomfy schemas ensure <workflow.py> and the generic vibecomfy schemas ensure --manifest <comparison.json> hint. Doctor never clones or extracts — reporting only.

Read REFERENCE.md for the API surface, layer model, command catalog, plugin hooks, known limitations, RunPod environment, and durable-template checklist.

In-repo references:

  • docs/authoring.md — blocks, patches, handles, opaque subgraphs, recipes
  • docs/vibeworkflow.md — IR contract
  • docs/api/m6-public-api.md — public imports and compatibility aliases
  • docs/custom_nodes.md — node packs, install/lock/restore
  • docs/runtime/lifecycle.md, docs/runtime/surface.md — embedded vs server runtime
  • docs/errors_and_doctor.md — what doctor flags and how to fix it
  • docs/templates/adding_templates_models.md — full ready-template addition process

When in doubt, stay in Python and descend only as far as needed:

text
op -> Artifact -> preview_workflow -> VibeWorkflow -> compile("api") -> run

© 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

SKILL.md and 3 other files in docs/agent-skill of peteromallet/VibeComfy.

  • SKILL.md
  • README.md
  • REFERENCE.md
  • skills

Open the folder on GitHubat commit b1429c6

Compare with similar skills

Vibecomfy 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.

Vibecomfy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vibecomfy this skillpeteromallet/VibeComfy150—~3.5kAutomated safety check: PassMIT
Setupguaardvark/guaardvark257—~1.2kAutomated safety check: PassMIT
Comfyui Skill OpenclawHuangYuChuh/ComfyUI_Skills_OpenClaw413—~2.7kAutomated safety check: PassApache-2.0
ComfyUI Custom Node BuilderConstantineB6/comfy-pilot230—~897Automated safety check: PassMIT
Workflow Template BuilderMooshieblob1/MooshieUI207—~640Automated safety check: PassAGPL-3.0
Add Generation ParamMooshieblob1/MooshieUI207—~417Automated safety check: PassAGPL-3.0

Similar skills

  • Setup

    guaardvark/guaardvark

    Connect this agent to a running Guaardvark (self-hosted AI studio) and check what it can do right now.

    257 GitHub stars~1.2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Comfyui Skill Openclaw

    HuangYuChuh/ComfyUI_Skills_OpenClaw

    Run registered ComfyUI workflows through the fast comfyui-skill CLI, and use the official local Comfy MCP for live template, node, model, validation, and orchestration capabilities.

    413 GitHub stars~2.7k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • ComfyUI Custom Node Builder

    ConstantineB6/comfy-pilot

    Helps an agent write ComfyUI custom nodes in Python, including wrapping an existing script, mapping data types and handling image batches.

    230 GitHub stars~897 tokensUpdated 7 mo ago
    AI & LLM EngineeringAuto-check passed
  • Workflow Template Builder

    Mooshieblob1/MooshieUI

    Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates).

    207 GitHub stars~640 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Add Generation Param

    Mooshieblob1/MooshieUI

    Adds a generation parameter across MooshieUI's Svelte store, TypeScript types, Rust GenerationParams, and workflow templates.

    207 GitHub stars~417 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Iib

    zanllp/infinite-image-browsing

    Interact with IIB (Infinite Image Browsing) service for searching, browsing, tagging, and organizing AI-generated images.

    1.4k GitHub stars~3.3k tokensUpdated today
    Media & CreativeAuto-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 7 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 7 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 7 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 7 days ago
    Auto-check passed
  • Reorganise Comfy Workflow

    peteromallet/VibeComfy

    Reorganise an existing ComfyUI workflow layout without changing runtime behavior.

    150 GitHub stars~1.4k tokensUpdated 7 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 7 days ago
    Auto-check passed

Works with

Questions about Vibecomfy

What does Vibecomfy do?

Drive the VibeComfy package to discover ComfyUI workflows, load ready Python templates, edit and compose them in a VibeWorkflow IR, validate, and execute either embedded locally, against an existing…. Vibecomfy is an agent skill from peteromallet/VibeComfy. Drive the VibeComfy package to discover ComfyUI workflows, load ready Python templates, edit and compose them in a VibeWorkflow IR, validate, and execute either embedded locally, against an existing ComfyUI server, or on RunPod.

When should I use Vibecomfy?

Vibecomfy fits situations like: the user wants to generate images/video/audio/edits from ComfyUI workflows; tweak templates; compose graphs in Python; run existing readytemplates end-to-end.

How do I install Vibecomfy in Claude Code?

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

How do I install Vibecomfy in Codex?

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

Can I use Vibecomfy 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 vibecomfy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vibecomfy, .gemini/skills/vibecomfy, .github/skills/vibecomfy and .opencode/skills/vibecomfy in your project.

What does Vibecomfy need to run?

Going by SKILL.md and its folder, Vibecomfy needs the command-line tools its instructions call (python and node). Our summary lists: Python 3.

Does Vibecomfy 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 Vibecomfy 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 Vibecomfy use?

Vibecomfy 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 Vibecomfy use?

About 3.5k tokens (SKILL.md is roughly 14k 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 Vibecomfy?

Skills that share tags, products or a category with Vibecomfy: Setup (guaardvark/guaardvark, 257 stars), Comfyui Skill Openclaw (HuangYuChuh/ComfyUI_Skills_OpenClaw, 413 stars), ComfyUI Custom Node Builder (ConstantineB6/comfy-pilot, 230 stars) and Workflow Template Builder (Mooshieblob1/MooshieUI, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vibecomfy?

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.