comfyui

comfyui is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 18 tokens per session (309 once invoked), scanned A, original, MIT.

A node-based interface for Stable Diffusion, an image-generation system. It lets you connect image-processing steps into workflows for generation, editing, control, upscaling, and some video tasks.

In plain words
What is it for?
Use it to build and save workflows for text-to-image generation, inpainting, ControlNet, upscaling, animation, and video-to-video processing.
Why use it?
It makes complex image-generation pipelines visible and reusable instead of hiding every step behind a single prompt.

Skill for Claude CodeCodex

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

Good fit Use it to build and save workflows for text-to-image generation, inpainting, ControlNet, upscaling, animation, and video-to-video processing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/comfyui
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 G1Joshi/Agent-Skills --skill comfyui
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

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 comfyui

README.md
[![agentmods](https://agentmods.dev/badge/skills/g1joshi/agent-skills/comfyui.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/comfyui)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/comfyui"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/comfyui.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 309 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.00018 $0.00309
Opus 5 $0.00009 $0.00154
Sonnet 5 $0.00004 $0.00062
Haiku 4.5 $0.00002 $0.00031

Measured 8d ago against content hash c0b569357e6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

comfyui 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 8d 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/ai-ml/comfyui/SKILL.md · 45 lines

What it actually says

ComfyUI

ComfyUI is a node-based GUI for Stable Diffusion. It gives you infinite control over the generation pipeline. 2025 update (UI Overhaul) makes it more accessible.

When to Use

  • Complex Workflows: Hires.fix, Inpainting, ControlNet, and Upscaling in one pipeline.
  • Video: AnimateDiff and video-to-video workflows.
  • Optimization: Runs on lower VRAM than WebUI (A1111).

Core Concepts

Nodes & Noodles

Connect "Load Checkpoint" -> "CLIP Text Encode" -> "KSampler" -> "VAE Decode" -> "Save Image".

Workflow Format

Workflows are saved as PNG metadata. Drag a PNG into ComfyUI to load its workflow.

Custom Nodes

Community plugins (thousands available via ComfyUI Manager).

Best Practices (2025)

Do:

  • Use ComfyUI Manager: Essential for installing missing custom nodes.
  • Use XY Plot: To test different parameters (CFG vs Steps) grid.
  • Save Workflows: Organize your JSON/PNG workflows.

Don't:

  • Don't fear the spaghetti: It looks complex, but logic is linear.

References

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. 8d ago First seen · 45 lines · 18 tokens per session scan A c0b569357e6e

Subscribe to this mod's changes

comfyui is a skill published in the GitHub repository G1Joshi/Agent-Skills (12 stars, last pushed 7mo ago), licensed MIT. It adds 18 tokens to every session and 309 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

image-describe

Describe the contents of an image file or URL in structured detail.

n24q02m/imagine-mcp · 16 tokens

9router-video

Generate videos via 9Router /v1/videos/generations using xAI Grok Imagine (grok-imagine-video). Async job flow - submit, poll requestid until done, download MP4. Use when the user wants to create, generate, or render a video, text-to-video (txt2vid), or image-to-video.

decolua/9router · 74 tokens

9router-image

Generate images via 9Router /v1/images/generations using OpenAI / Gemini Imagen / DALL-E / FLUX / MiniMax / SDWebUI / ComfyUI / Codex models. Use when the user wants to create, generate, draw, or render an image, picture, or text-to-image (txt2img).

decolua/9router · 74 tokens

9router-tts

Text-to-speech via 9Router /v1/audio/speech using OpenAI / ElevenLabs / Deepgram / Edge TTS / Google TTS / Hyperbolic / Inworld voices. Use when the user wants to convert text to speech, generate audio, voiceover, narrate, or read text aloud.

decolua/9router · 70 tokens

peon-ping-create-pack

Internal — invoked headlessly by peon create; humans should run peon create instead. Author and render a brand-new PeonPing draft pack — invoked headlessly as: "Use the peon-ping-create-pack skill to draft a pack: name= flavor= vibe= draftroot= . Follow the skill exactly." Authors all 7 CESP categories honoring the…

PeonPing/peon-ping · 134 tokens

peon-ping-use

Set which voice pack (character voice) plays for the current chat session. Automatically enables sessionoverride rotation mode if not already set. Use when user wants a specific character voice like GLaDOS, Peon, or Kerrigan for this conversation.

PeonPing/peon-ping · 55 tokens