New to Claude Skills? Learn how to install them →

Ccalesthio on GitHub

ComfyUI Workflows

Free

Streamline your ComfyUI workflows in OpenMontage.

Get this skill

Free · Opens the source repo

What ComfyUI Workflows does

The ComfyUI Workflows skill is designed for developers and designers who are integrating ComfyUI into their OpenMontage projects. This skill provides a structured approach to utilizing ComfyUI's capabilities, particularly when working with image and video generation through comfyui_image and comfyui_video. Users can seamlessly convert community workflows into tool calls, ensuring compatibility and efficiency in their projects.

When using this skill, it's essential to have ComfyUI running on your server, typically at http://localhost:8188. The skill facilitates communication with ComfyUI's API, allowing for health checks, job submissions, and output retrieval. It emphasizes the importance of using the correct JSON format for workflows and provides guidance on selecting appropriate workflows based on the hardware capabilities of the local machine.

The skill also addresses common challenges such as model and LoRA setup, output node selection, and error handling. Users are guided on how to structure their workflows, ensuring that all necessary models are in place and that the correct output nodes are specified. This level of detail helps avoid issues during execution and enhances the reproducibility of results.

Overall, this skill is particularly useful for those who want to leverage community resources and optimize their use of ComfyUI in OpenMontage, making it a valuable addition to any developer's toolkit.

When to use it

Use this skill when you need to implement ComfyUI workflows in OpenMontage, especially for image and video processing tasks.

When not to use it

This skill is not suitable if you're not using ComfyUI or if you require features outside the scope of OpenMontage's integration with ComfyUI.

What you can build with it

Integrating Community Workflows

Easily convert community-generated ComfyUI workflows into OpenMontage tool calls for quick implementation.

Optimizing for Low-VRAM Environments

Select lower-footprint workflows specifically designed for machines with limited VRAM, ensuring efficient resource use.

Handling Missing Models

Receive structured guidance on addressing missing models during workflow execution, streamlining the setup process.

How to install ComfyUI Workflows

View source

1. Install with the skills CLI

npx skills add calesthio/openmontage/comfyui --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by calesthio

ComfyUI Workflows in OpenMontage

Use this skill before calling comfyui_image or comfyui_video, and when converting a community ComfyUI workflow into an OpenMontage tool call.

Server Contract

  • ComfyUI must be running before the tool can generate. The default server is http://localhost:8188; override it with COMFYUI_SERVER_URL.
  • Health and hardware status come from GET /system_stats.
  • Jobs are submitted to POST /prompt, completed outputs are read from GET /history/{prompt_id}, and artifact bytes are downloaded with GET /view.
  • Export workflows with ComfyUI's API-format JSON, not the UI layout format. If a downloaded workflow will not submit, re-export it from ComfyUI with API format enabled.

Choosing a Workflow

  • Use bundled workflows when the requested operation matches and the local machine has the required models and VRAM.
  • Use a custom workflow_json or workflow_path when the user needs a community recipe, a lower-VRAM model, a different style family, or custom nodes.
  • For 8GB-12GB GPUs, prefer lower-footprint workflows such as Wan 2.1 1.3B, LTXV FP8 or quantized workflows, or Wan 2.2 GGUF/quantized community workflows. The bundled Wan 2.2 14B FP8 video workflows are a 16GB-class path, not a provider-wide floor.
  • Do not promise that arbitrary custom workflows will fit a machine. The workflow, quantization, resolution, frame count, and offload settings determine the real resource envelope.

Output Node Contract

  • Custom workflows must pass output_node.
  • Pick the node that writes the artifact, usually SaveImage, SaveVideo, VHS_VideoCombine, or another terminal saver node.
  • Pass the node ID as a string, for example "108". Do not pass the class name.
  • If a workflow has multiple savers, choose the final deliverable node, not previews or intermediates.

Templated vs Fixed Nodes

  • Identify templated nodes before execution: prompt text, seed, dimensions, frame count, source image, sampler settings, and output filename prefix.
  • Fixed nodes are model loaders, VAEs, text encoders, LoRA loaders, schedulers, and graph wiring. Do not mutate those unless the workflow author intended that customization.
  • For community workflows, inspect each loader node and note every required model or custom node before running. Missing models should be handled through the tool's structured missing_models payload when available.

Model and LoRA Setup

  • Use ComfyUI Manager or the workflow author's model links when available, and respect model licenses.
  • Place models in the folders expected by the loader nodes: diffusion models under ComfyUI/models/diffusion_models/, text encoders under ComfyUI/models/text_encoders/, VAEs under ComfyUI/models/vae/, and LoRAs under ComfyUI/models/loras/.
  • For LoRA stacks, use LoraLoader or LoraLoaderModelOnly chains in the workflow. Record each LoRA name plus strength_model and strength_clip when applicable.
  • The current ComfyUI tools do not inject LoRAs into arbitrary graphs. To use LoRAs, provide a workflow that already contains the LoRA loader chain and pass model-stack provenance.

Provenance

  • For custom workflows, provide workflow_name and workflow_model when known.
  • Provide workflow_model_stack for reproducibility when the workflow is not bundled. Include base checkpoint or diffusion model, quantization, text encoder, VAE, LoRAs and strengths, sampler or scheduler, steps, and guidance if the workflow exposes them.
  • The tools record the final workflow hash. Treat that hash plus the model stack, seed, dimensions, and prompt as the reproducibility contract.

Failure Handling

  • If the server is unavailable, surface the structured setup offer. Starting ComfyUI or setting COMFYUI_SERVER_URL is the first fix.
  • If models are missing, read data.missing_models[]; each item should include the file name, role, destination hint, and download URL when OpenMontage knows it.
  • If custom nodes are missing, ask the user to install them through ComfyUI Manager or the workflow author's documented install path, then restart ComfyUI.
  • If a long render times out locally, check ComfyUI history before retrying from scratch; the server may still have completed the prompt.

Frequently asked questions about ComfyUI Workflows

Similar skills