workflows

workflows is a skill for Claude Code, Codex from hybridindie/comfyui_mcp. It costs 31 tokens per session (1,438 once invoked), scanned A, original, MIT.

A guide to ComfyUI workflow files, which describe connected processing steps as JSON data. It explains node IDs, node types, inputs, connections, and common chains such as text-to-image and image-to-image.

In plain words
What is it for?
It helps create or inspect workflows involving image loading, model sampling, ControlNet guidance, LoRA model additions, decoding, and image saving.
Why use it?
It makes ComfyUI workflow data easier to build, modify, and understand when you need to work with the underlying JSON.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create or inspect workflows involving image loading, model sampling, ControlNet guidance, LoRA model additions, decoding, and image saving.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hybridindie/comfyui_mcp/workflows
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hybridindie/comfyui_mcp --skill workflows
Clone the repo
git clone --depth 1 https://github.com/hybridindie/comfyui_mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/workflows.svg)](https://agentmods.dev/skills/hybridindie/comfyui_mcp/workflows)
Your own site
<a href="https://agentmods.dev/skills/hybridindie/comfyui_mcp/workflows"><img src="https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.01438
Opus 5 $0.00015 $0.00719
Sonnet 5 $0.00006 $0.00288
Haiku 4.5 $0.00003 $0.00144

Measured 7d ago against content hash 8820ef893441, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

workflows scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/workflows/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ComfyUI Workflow Building Guide

API Format

ComfyUI workflows use a JSON format where each node is a key-value pair:

{
  "1": {
    "class_type": "KSampler",
    "inputs": {
      "seed": 42,
      "steps": 20,
      "cfg": 7.0,
      "sampler_name": "euler",
      "scheduler": "normal",
      "denoise": 1.0,
      "model": ["2", 0],
      "positive": ["3", 0],
      "negative": ["4", 0],
      "latent_image": ["5", 0]
    }
  }
}
  • Keys are string node IDs (e.g., "1", "2")
  • class_type is the ComfyUI node type name
  • inputs contains parameters and connections
  • Connections use the format ["source_node_id", output_index]

Common Node Chains

txt2img (text to image)

CheckpointLoaderSimple -> CLIPTextEncode (positive) -> KSampler -> VAEDecode -> SaveImage

img2img (image to image)

LoadImage -> VAEEncode -> KSampler (with denoise < 1.0) -> VAEDecode -> SaveImage

ControlNet

LoadImage -> ControlNetLoader + ControlNetApply -> feed into KSampler positive conditioning

LoRA Stacking

CheckpointLoaderSimple -> LoraLoader (chain multiple) -> KSampler

Key Nodes Reference

Node Purpose Key Inputs
CheckpointLoaderSimple Load a model checkpoint ckpt_name
CLIPTextEncode Encode text prompt text, clip
KSampler Run diffusion sampling model, positive, negative, latent_image, steps, cfg, seed
VAEDecode Decode latent to image samples, vae
VAEEncode Encode image to latent pixels, vae
SaveImage Save output image images, filename_prefix
LoadImage Load input image image (filename)
LoraLoader Apply LoRA weights model, clip, lora_name, strength_model, strength_clip
ControlNetLoader Load ControlNet model control_net_name
ControlNetApply Apply ControlNet conditioning, control_net, image, strength

Using the Workflow Tools

Read the full file on GitHub · 93 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 93 lines · 31 tokens per session scan A 8820ef893441

Subscribe to this mod's changes

workflows is a skill published in the GitHub repository hybridindie/comfyui_mcp (2 stars, last pushed 4d ago), licensed MIT. It adds 31 tokens to every session and 1,438 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

local-gpu-imagegen

Use when a user asks to create, generate, draw, render, transform, restyle, or revise a visual asset on the local GPU.

ChevalGrand520/local-gpu-imagegen · 35 tokens

AI Image & Video Generator — GPT Image 2, Seedance, ComfyUI

Generate images and videos from text with multi-provider routing — supports GPT Image 2.0 (near-perfect text rendering), Nanobanana 2, Seedream 5.0, Midjourney V8.1 (unified photorealistic + anime), Flux 2 Klein (cheap drafts), Seedance 2.0 / Veo 3.1 / Grok Video / Agnes Video, and local ComfyUI workflows. Includes…

jau123/MeiGen-AI-Design-MCP · 177 tokens

MeiGen Visual Creative Expert

This skill should be used when the user asks to "generate an image", "create artwork", "design a logo", "make a poster", "draw something", "find inspiration", "search for reference images", "enhance my prompt", "improve prompt", "brand design", "product mockup", "batch generate images", "multiple variations"…

jau123/MeiGen-AI-Design-MCP · 183 tokens

comfyui-skill-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. Use this Skill when: (1) The user requests to "generate an image", "draw a picture", or "execute a ComfyUI workflow". (2) The user has…

HuangYuChuh/ComfyUI_Skills_OpenClaw · 125 tokens

Product Photoshoot Workflow

A workflow for turning one product photo into a set of four e-commerce images from different visual directions.

jau123/MeiGen-AI-Design-MCP · 112 tokens

Social Thumbnail Workflow

A workflow for creating vertical images for short-video platforms and mobile social feeds, where content is usually viewed in a 9:16 portrait layout.

jau123/MeiGen-AI-Design-MCP · 123 tokens