comfyui

comfyui is a skill for Claude Code, Codex from kevinnft/ai-agent-skills. It costs 46 tokens per session (6,275 once invoked), scanned B, a copy of comfyui, MIT.

A guide for using ComfyUI to generate images, video, audio, and 3D content through workflows, including setup, dependency checks, parameter changes, and output handling.

In plain words
What is it for?
Use it to check hardware, choose local or cloud execution, inspect workflow parameters, install dependencies, run single or batch workflows, and download results.
Why use it?
It helps developers install or launch ComfyUI, find missing models or nodes, and run workflows without manually managing every request detail.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: built for hermes-agent.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --output-dir ./outputs/batch.

Good fit Use it to check hardware, choose local or cloud execution, inspect workflow parameters, install dependencies, run single or batch workflows, and download results.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/kevinnft/ai-agent-skills
agentmods
npx agentmods add skills/kevinnft/ai-agent-skills/comfyui

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/kevinnft/ai-agent-skills/comfyui/github.svg)](https://agentmods.dev/skills/kevinnft/ai-agent-skills/comfyui)
Your own site
<a href="https://agentmods.dev/skills/kevinnft/ai-agent-skills/comfyui"><img src="https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/comfyui/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 comfyui

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinnft/ai-agent-skills/comfyui"><img src="https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/comfyui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,275 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod 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.00046 $0.06275
Opus 5 $0.00023 $0.03138
Sonnet 5 $0.00009 $0.01255
Haiku 4.5 $0.00005 $0.00628

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

Security

Grade B, and why

comfyui scanned grade B with 3 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 10d ago.

The scan reads SKILL.md. This mod also ships 17 executable files (scripts/_common.py, scripts/auto_fix_deps.py, scripts/check_deps.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Sends data to an external URLlowData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST http://127.0.0.1:8188/queue -d '{"clear": true}' # cancel pending

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s http://127.0.0.1:8188/queue | python3 -m json.tool

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://127.0.0.1:8188/system_stats 2>/dev/null && echo "server: running"
Origin

This is a copy

95% identical to comfyui — 63 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/creative/comfyui/SKILL.md · 612 lines

How it starts

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

ComfyUI

Generate images, video, audio, and 3D content through ComfyUI using the official comfy-cli for setup/lifecycle and direct REST/WebSocket API for workflow execution.

What's in this skill

Reference docs (references/):

  • official-cli.md — every comfy ... command, with flags
  • rest-api.md — REST + WebSocket endpoints (local + cloud), payload schemas
  • workflow-format.md — API-format JSON, common node types, param mapping

Scripts (scripts/):

Script Purpose
_common.py Shared HTTP, cloud routing, node catalogs (don't run directly)
hardware_check.py Probe GPU/VRAM/disk → recommend local vs Comfy Cloud
comfyui_setup.sh Hardware check + comfy-cli + ComfyUI install + launch + verify
extract_schema.py Read a workflow → list controllable params + model deps
check_deps.py Check workflow against running server → list missing nodes/models
auto_fix_deps.py Run check_deps then comfy node install / comfy model download
run_workflow.py Inject params, submit, monitor, download outputs (HTTP or WS)
run_batch.py Submit a workflow N times with sweeps, parallel up to your tier
ws_monitor.py Real-time WebSocket viewer for executing jobs (live progress)
health_check.py Verification checklist runner — comfy-cli + server + models + smoke test
fetch_logs.py Pull traceback / status messages for a given prompt_id

Example workflows (workflows/): SD 1.5, SDXL, Flux Dev, SDXL img2img, SDXL inpaint, ESRGAN upscale, AnimateDiff video, Wan T2V. See workflows/README.md.

When to Use

  • User asks to generate images with Stable Diffusion, SDXL, Flux, SD3, etc.
  • User wants to run a specific ComfyUI workflow file
  • User wants to chain generative steps (txt2img → upscale → face restore)
  • User needs ControlNet, inpainting, img2img, or other advanced pipelines
  • User asks to manage ComfyUI queue, check models, or install custom nodes
  • User wants video/audio/3D generation via AnimateDiff, Hunyuan, Wan, AudioCraft, etc.

Read the full file on GitHub · 612 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. 10d ago First seen · 612 lines · 46 tokens per session scan B 1ab2c0bf8f44

Subscribe to this mod's changes

comfyui is a skill published in the GitHub repository kevinnft/ai-agent-skills (14 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 6,275 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 3 findings (sends data to an external url, downloads and executes remote code, makes network calls). It is 95% identical to comfyui, differing in 63 lines, and is treated as a copy.

Related

Other skills, from other repositories

meshy-3d-generation

Generate 3D models, textures, images, rig characters, and animate them using the Meshy AI API. Handles API key detection, setup, and all generation workflows via direct HTTP calls. Use when the user asks to create 3D models, convert text/images to 3D, texture models, rig or animate characters, or interact with the…

meshy-dev/meshy-3d-agent · 101 tokens

meshy-openclaw

Generate 3D models, textures, images, rig characters, animate them, and prepare for 3D printing using the Meshy AI API. Handles API key detection, task creation, polling, downloading, and full 3D print pipeline with slicer integration. Use when the user asks to create 3D models, convert text/images to 3D, texture…

meshy-dev/meshy-3d-agent · 128 tokens

meshy-3d-printing

3D print models generated with Meshy AI, plus Creative Lab consumer products. Handles slicer detection, white model printing, multi-color printing via API, the Creative Lab pipeline (figure / lamp / keychain / fridge-magnet), and print-optimized download workflows. Use when the user mentions 3D printing, slicing…

meshy-dev/meshy-3d-agent · 155 tokens

is-this-photo-real

Verify whether an image or video is authentic, original and correctly captioned — provenance checks, error level analysis, noise and JPEG compression analysis, clone and copy-move detection, lighting and shadow consistency, C2PA Content Credentials, deepfake and AI-generation tells, and the honest limits of…

UseOSINT/Skills · 136 tokens

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens

render-cosmic-mythology-voiceover

Assemble a cosmic-mythology-voiceover reel from a config — a warm spoken voiceover carries the whole narrative while N curated cosmic stills are weighted beat-synced across the delivered VO duration (cutdur = VOdur times weight over the weight sum, so emotional beats hold longer), Ken-Burns-zoomed per still (scale 2x…

gooseworks-ai/goose-skills · 223 tokens