ai-toolkit-trainer
Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM…
Core ComfyUI knowledge covering workflow format, node types, pipeline patterns, and MCP tool usage
Claude Code
$ npx -y skills add artokun/comfyui-mcp --skill comfyui-core --agent claude-code
Codex
$ npx skills add artokun/comfyui-mcp --skill comfyui-core -a codex -y
Cursor
$ npx skills add artokun/comfyui-mcp --skill comfyui-core -a cursor -y
Gemini CLI
$ npx skills add artokun/comfyui-mcp --skill comfyui-core -a gemini-cli -y
GitHub Copilot
$ npx skills add artokun/comfyui-mcp --skill comfyui-core -a github-copilot -y
OpenCode
$ npx skills add artokun/comfyui-mcp --skill comfyui-core -a opencode -y
Windsurf
$ npx skills add artokun/comfyui-mcp --skill comfyui-core -a windsurf -y
name: comfyui-core description: Core ComfyUI knowledge covering workflow format, node types, pipeline patterns, and MCP tool usage globs: - "**/*.json"
ComfyUI workflows are JSON objects mapping string node IDs to node definitions:
{
"1": {
"class_type": "CheckpointLoaderSimple",
"inputs": { "ckpt_name": "sd_xl_base_1.0.safetensors" },
"_meta": { "title": "Load Checkpoint" }
},
"2": {
"class_type": "CLIPTextEncode",
"inputs": { "text": "a cat", "clip": ["1", 1] },
"_meta": { "title": "Positive Prompt" }
}
}"model": ["1", 0] // Connect to node 1's first output (MODEL) "clip": ["1", 1] // Connect to node 1's second output (CLIP) "vae": ["1", 2] // Connect to node 1's third output (VAE) "positive": ["2", 0] // Connect to node 2's first output (CONDITIONING) "samples": ["5", 0] // Connect to node 5's first output (LATENT) "images": ["6", 0] // Connect to node 6's first output (IMAGE)
ComfyUI nodes pass typed data through connections:
| Type | Description | Common Source | |------|-------------|---------------| | `MODEL` | Diffusion model weights | CheckpointLoaderSimple (output 0) | | `CLIP` | Text encoder | CheckpointLoaderSimple (output 1) | | `VAE` | Variational autoencoder | CheckpointLoaderSimple (output 2) | | `CONDITIONING` | Encoded text prompt | CLIPTextEncode (output 0) | | `LATENT` | Latent space tensor | EmptyLatentImage, KSampler, VAEEncode | | `IMAGE` | Pixel image tensor (BHWC) | VAEDecode, LoadImage, SaveImage | | `MASK` | Single-channel mask | LoadImage (output 1) | | `UPSCALE_MODEL` | Upscaling model | UpscaleModelLoader |
CheckpointLoaderSimple → MODEL, CLIP, VAE ├─ CLIP → CLIPTextEncode (positive) → CONDITIONING ├─ CLIP → CLIPTextEncode (negative) → CONDITIONING │ EmptyLatentImage → LATENT │ KSampler (model, positive, negative, latent_image) → LATENT │ VAEDecode (samples, vae) → IMAGE │ SaveImage (images)
Node IDs typically: 1=Checkpoint, 2=Positive, 3=Negative, 4=EmptyLatent, 5=KSampler, 6=VAEDecode, 7=SaveImage
Same as txt2img but replace `EmptyLatentImage` with:
LoadImage → IMAGE VAEEncode (pixels, vae) → LATENT → KSampler.latent_image
Set `KSampler.denoise` to 0.5 to 0.8 (lower = closer to input image).
LoadImage → IMAGE UpscaleModelLoader → UPSCALE_MODEL ImageUpscaleWithModel
<img src="docs/images/demo-poster.jpg" width="760" alt="The Agent panel driving ComfyUI end to end. Click to watch the demo"> The Agent panel driving ComfyUI end to end. It reads what is installed locally, wires the graph, frees VRAM, and runs the render.
Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM…
Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT). Use for anime, manga, illustrated characters; accepts Danbooru tags…
Train a custom anime LoRA on the ANIMA base model with Citron's local Gradio trainer (kohya sd-scripts), <6GB VRAM,…
Discover Civitai models with the BUILT-IN download_model action:"search_civitai" and install/generate them locally. Find a…
Diagnose and fix video/image color OBJECTIVELY with the get_image (action:"analyze_color") tool (scopes/stats such as black/white…
Authoring ComfyUI v2 frontend extensions with @comfyorg/extension-api, covering defineNode/defineExtension/defineWidget, shell UI…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…