comfyui

ComfyUI node-based Stable Diffusion. Use for image generation.

7 stars

Best use case

comfyui is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

ComfyUI node-based Stable Diffusion. Use for image generation.

Teams using comfyui should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/comfyui/SKILL.md --create-dirs "https://raw.githubusercontent.com/G1Joshi/Agent-Skills/main/skills/ai-ml/comfyui/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/comfyui/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How comfyui Compares

Feature / AgentcomfyuiStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

ComfyUI node-based Stable Diffusion. Use for image generation.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

- [ComfyUI GitHub](https://github.com/comfyanonymous/ComfyUI)