comfyui-generate

comfyui-generate is a skill for Claude Code, Codex from ssube/conclave. It costs 52 tokens per session (1,554 once invoked), scanned A, original, MIT.

A tool for generating images with ComfyUI, a visual workflow system, using Flux models and optional LoRA add-ons; it can also turn an image into a video with Wan 2.2.

In plain words
What is it for?
Use it to create images from text prompts, apply LoRAs, choose image sizes, run preset workflows, or generate short videos from a source image and motion description.
Why use it?
It removes the need to configure each image-generation workflow manually and supports reusable named workflows with adjustable settings.

Skill for Claude CodeCodex

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

Good fit Use it to create images from text prompts, apply LoRAs, choose image sizes, run preset workflows, or generate short videos from a source image and motion description.

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

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-generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/ssube/conclave/comfyui-generate/github.svg)](https://agentmods.dev/skills/ssube/conclave/comfyui-generate)
Your own site
<a href="https://agentmods.dev/skills/ssube/conclave/comfyui-generate"><img src="https://agentmods.dev/badge/skills/ssube/conclave/comfyui-generate/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-generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/ssube/conclave/comfyui-generate"><img src="https://agentmods.dev/badge/skills/ssube/conclave/comfyui-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,554 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00052 $0.01554
Opus 5.5 $0.00021 $0.00622
Sonnet 5.5 $0.00010 $0.00311
Haiku 4.5 $0.00005 $0.00155

Measured 3mo ago against content hash 6ba264ffe68b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

comfyui-generate scanned grade A with 1 finding 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 3mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (async_jobs.py, generate_image.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.

Makes network callslowCapability

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

- Verify ComfyUI server is running: `curl http://$COMFYUI_HOST:$COMFYUI_PORT/system_stats`
pi/skills/comfyui-generate/SKILL.md · 193 lines

How it starts

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

ComfyUI Generate Skill

Generate images using ComfyUI API with Flux text-to-image and Wan 2.2 image-to-video.

For detailed workflow node maps, see references/workflows.md.

Usage

Generate an image (custom workflow)

python3 {baseDir}/generate_image.py generate \
    --prompt "a gothic fantasy queen in dark armor" \
    --base flux \
    [--lora creature_lora:0.8] \
    [--size 832x1216] \
    [--output /path/to/output.png]

Generate using a named workflow

python3 {baseDir}/generate_image.py generate \
    --workflow flux-lora \
    --prompt "a woman in a dark fantasy setting, dramatic lighting"

Named workflows are pre-built ComfyUI pipelines with model, LoRA, sampler, and all settings already configured. Only the positive prompt text is changed. The --base, --lora, and --size options are ignored when using a named workflow.

Image-to-video

python3 {baseDir}/generate_image.py generate \
    --workflow wan22-i2v \
    --prompt "She turns slowly, silk shifting with the movement" \
    --image /path/to/source.png \
    --output video.webm

Override workflow parameters with --set

python3 {baseDir}/generate_image.py generate \
    --workflow flux-lora \
    --prompt "crystal queen" \
    --set '96.inputs.lora_name=my-models/my-lora.safetensors' \
    --set '96.inputs.strength_model=0.8'

List available named workflows

python3 {baseDir}/generate_image.py generate --workflow help

Check queue / history

python3 {baseDir}/generate_image.py queue
python3 {baseDir}/generate_image.py history <prompt-id>

Named Workflows

Name Model LoRA Slots Purpose
flux-lora Flux-dev fp8 2 (nodes 96, 200) Primary text-to-image, natural language prompt
wan22-i2v Wan 2.2 I2V (MoE) None Image-to-video with auto-captioning and 2x upscale

For detailed node maps, parameter injection points, and data flow diagrams, see references/workflows.md.

Read the full file on GitHub · 193 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 193 lines · 52 tokens per session scan A 6ba264ffe68b

Subscribe to this mod's changes

comfyui-generate is a skill published in the GitHub repository ssube/conclave (2 stars, last pushed 9mo ago), licensed MIT. It adds 52 tokens to every session and 1,554 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

comfyui-generate compared with skills from other repositories

comfyui-generate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
comfyui-generatessube/conclaveSkill29mo agoMITA52Claude Code, Codex
mempalace-recallMemPalace/mempalaceSkill61ktodayMITA94Claude Code
tiered-memoryAzure-Samples/eShopLiteSkill17410d agoMITA25Claude Code, Codex
st-full-workflowe0ipso/strikethrooSkill61yesterdayMITA90Claude Code
initmehrad-dm/mastermindSkill233d agoMITA75Claude Code
roadmapmehrad-dm/mastermindSkill233d agoMITA80Claude Code
cortex-evolveXBlueSky/cortexesSkill264d agoApache-2.0A58Claude Code