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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workflows

Your own site · 80×15
<a href="https://agentmods.dev/skills/hybridindie/comfyui_mcp/workflows"><img src="https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/workflows.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00012 $0.00575
Sonnet 5.5 $0.00006 $0.00288
Haiku 4.5 $0.00003 $0.00144

Measured 1mo ago against content hash 8820ef893441, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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. 1mo 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 (3 stars, last pushed 12d ago), licensed MIT. It adds 31 tokens to every session and 1,438 once invoked, about $0.0001 per session on Opus 5.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

b123d-modeling

Use this skill when asked to model, build, or modify a 3D part or assembly with build123d — from a text description, a technical drawing (image or PDF), dimensions in a spec, or an existing STEP/STL file.

pzfreo/build123d-mcp · 0 tokens

b123d-edit

Use this skill when the task is to change an existing build123d model or script: "make this bracket 5 mm taller", "move the holes inward", "add a counterbore", "remove this rib", "make it fit this mating part", or "repair the code so the intended edit remains parametric".

pzfreo/build123d-mcp · 0 tokens

browser-forms

Fill a whole web form, post a comment or reply, or read a long thread in Safari or Chrome with the fewest Mac MCP browser calls.

bulutarkan/mac-mcp · 34 tokens

video-to-skill

Author an ordinary host skill from retained video or demonstration observations, then validate its source provenance, timestamped evidence, assets, rights declarations and retained task-run bindings before producing a local deterministic .skill archive. Use when deriving reusable instructions from a recording; task…

Galbaz1/video-research-mcp · 65 tokens

gemini-visualize

Generates interactive HTML visualizations (concept maps, evidence networks, knowledge graphs) from Gemini analysis results. Use when the user requests a concept map, evidence network, or knowledge graph from completed analysis.

Galbaz1/video-research-mcp · 46 tokens