Comfyui logo

Comfyui

CommunityPopular
calesthio
comfyui

Use when working with ComfyUI workflows in OpenMontage, including comfyui_image/comfyui_video/comfyui_music, custom workflow_json/workflow_path inputs, output_node selection, missing model setup, LoRAs, low-VRAM workflow choices, and community workflow imports.

Overview

Publishercalesthio
RepositoryOpenMontage
Skill namecomfyui
Stars
67K
Forks
8.5K
Bundled files
Instructions only
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by calesthio on GitHub. Read the source before you install it.

Installation

Install the Comfyui AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/calesthio/OpenMontage/tree/main/.agents/skills/comfyui
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/calesthio/OpenMontage.git /tmp/OpenMontage
mkdir -p .claude/skills
cp -r /tmp/OpenMontage/.agents/skills/comfyui .claude/skills/comfyui
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Comfyui in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Comfyui on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Comfyui is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ComfyUI Workflows in OpenMontage

Use this skill before calling comfyui_image, comfyui_video, or comfyui_music, 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.
  • Running separate ComfyUI instances per capability (different GPU, different model set)? COMFYUI_IMAGE_SERVER_URL / COMFYUI_VIDEO_SERVER_URL / COMFYUI_MUSIC_SERVER_URL each override COMFYUI_SERVER_URL for that one tool only. Optional -- a single-server setup needs none of these.
  • 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.
  • Long waits (video, music) prefer ComfyUI's websocket feed for immediate completion/error detection and transparently fall back to REST polling if websocket-client isn't installed. Either way, a timeout is recoverable: pass the error's prompt_id back in as resume_prompt_id to resume waiting on the same job instead of resubmitting it.
  • 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.

Partner Nodes are hosted

  • gemini_omni_flash, seedance_2.5, and minimax_h3_api in comfyui_video are official ComfyUI Partner Nodes. They call hosted APIs and require network access, a logged-in Comfy account, and prepaid credits.
  • Do not describe Partner Nodes as local, offline, or free merely because the graph runs in a local ComfyUI process.
  • minimax_h3_local is a separate open-weight path. It requires the official MiniMax H3 workflow exported in API format, its output_node, and the model stack reported by the tool.

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.

Video workflows need a temporal latent

  • A video workflow's empty-latent node must be a video latent -- EmptyHunyuanLatentVideo for Wan 2.2 t2v, Wan22ImageToVideoLatent or WanImageToVideo for the image-conditioned variants. The frame count goes in length; batch_size is how many separate clips to generate and stays at 1.
  • EmptyLatentImage with batch_size set to the frame count is a trap: it asks for N unrelated images, and the resulting MP4 has the right frame count, duration and codec and passes ffprobe cleanly -- it just strobes. Check the latent node before running any unfamiliar video workflow.

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 -- or just call again with resume_prompt_id set to the prompt_id from the timeout error.

Music (comfyui_music)

  • Bundled default is ACE-Step v1 (3.5B) text-to-audio, built from ComfyUI's native TextEncodeAceStepAudio/EmptyAceStepLatentAudio nodes (core, not a third-party pack) -- unlike ACE-Step 1.5 or other custom node packs, v1's interface is standardized enough to bundle safely.
  • prompt maps to the bundled workflow's tags field (style/genre/mood, e.g. "upbeat electronic pop, female vocals"), matching the same "prompt = music description" convention suno_music uses. lyrics is a separate optional field -- leave empty for instrumental, or use [verse]/[chorus]/[bridge] structure tags and [zh]/[ja]/[ko]-style language-code prefixes for non-English lines.
  • duration_seconds, steps, cfg, lyrics_strength, and seed are patchable on the bundled workflow. Missing ace_step_v1_3.5b.safetensors surfaces through the same data.missing_models[] contract as image/video.
  • Need ACE-Step 1.5, a different node pack, or a non-ACE-Step audio model? Fall back to workflow_json/workflow_path + output_node, exactly like a custom image/video workflow -- in that mode prompt becomes provenance/logging only again and must already be baked into the graph.
  • output_node (bundled or custom) should be the node that writes the final audio -- the bundled workflow's is SaveAudioMP3. The client reads artifacts from that node's "audio" output key (parallel to "images" for image/video savers).
  • For custom workflows, provide workflow_name/workflow_model/workflow_model_stack for provenance exactly as you would for a custom image/video workflow.

Frequently asked questions

What does the Comfyui AI skill do?

Use when working with ComfyUI workflows in OpenMontage, including comfyui_image/comfyui_video/comfyui_music, custom workflow_json/workflow_path inputs, output_node selection, missing model setup, LoRAs, low-VRAM workflow choices, and community workflow imports.

Why use Comfyui on TypingMind?

Because you install it once and use it with any model. Comfyui is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Comfyui in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/calesthio/OpenMontage/tree/main/.agents/skills/comfyui. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Comfyui?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Comfyui?

As many as you like. As long as a model supports skills, you can use Comfyui with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Comfyui AI skill free?

Yes. It is published on GitHub by calesthio under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇