/comfypilot:comfypilot-corefrom comfypilot
Core patching discipline for working with ComfyUI through MCP tools. Use this skill whenever the user mentions ComfyUI, Stable Diffusion workflows, image generation pipelines (SDXL, SD 3.5, Flux 2, Qwen-Image, Ernie Image), video generation (Wan 2.2, LTX-2, HunyuanVideo), music generation (ACE-Step), image-to-3D (Hunyuan3D), super-resolution (SUPIR), frame interpolation (RIFE / FILM), segmentation (SAM 3.1), LoRA training, text-to-audio (Stable Audio), or wants to build, queue, monitor, or modify ComfyUI workflows.
Ships in comfypilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this when working with ComfyUI through ComfyPilot's 96 MCP tools (tested with ComfyUI v0.20.0-v0.31.1). v1.9.0 adds modern jobs, strict live-schema validation, Desktop-aware control, generic artifacts, worker observability, native global subgraphs, and expanded V3 widget/schema support.
comfy_get_system_stats (typed SystemStats) to verify GPU, VRAM, ComfyUI version.comfy_check_vram (typed VRAMStatus) for headroom before loading large models.comfy_search_techniques for saved patterns, or comfy_list_blueprints for blueprints (13 bundled; pass source="native" to read canonical ComfyUI global subgraphs).comfy_build_workflow(template=<intent>) auto-detects the installed checkpoint family and emits the right graph (SD 1.5 / SDXL / SD 3.5 / Flux 2 / Qwen / Wan 2.2 / LTX-2 / HunyuanVideo / Hunyuan3D / ACE-Step / Ernie Image). Family-agnostic intents (super_resolution, interpolate_frames, segment, train_lora, txt2audio) skip checkpoint detection and dispatch by intent name.comfy_insert_blueprint(name="flux2-txt2img") and override inputs. Bundled: flux2-txt2img, sd35-txt2img, sdxl-hires-fix, qwen-txt2img, wan22-txt2video, ltx2-txt2video, hunyuan-video-txt2video, hunyuan3d-image2_3d, acestep-txt2music, ernie-txt2img, supir-upscale, rife-interpolate, sam31-segment.comfy_validate_workflow (typed ValidationReport) runs 6 passes: schema / catalog / graph / anti_cycle / environment / execution_risk. Anti-cycle mirrors ComfyUI v0.20's execution-side cycle detection. Environment pass also runs a deprecated-model lint that warns on retired partner models.comfy_snapshot_workflow saves state. Set COMFY_SNAPSHOT_DIR to persist across restarts.comfy_queue_prompt (typed QueueAck) submits for execution. Preserves error/node_errors from ComfyUI.comfy_watch_progress (typed WatchProgressFrame) polls. comfy_describe_dynamics (typed DynamicsReport) for full queue + events + active jobs view.comfy_get_output_image returns image content blocks directly in chat.comfy_send_to_disk / comfy_send_to_td / comfy_send_to_blender - atomic writes with <filename>.json manifest sidecars (prompt_id, seeds, model refs, dimensions).confirm=False: comfy_clear_queue, comfy_clear_history, comfy_delete_history, comfy_delete_snapshot, comfy_emergency_stop. Pass confirm=True to skip the prompt when the agent has verified intent.comfy_emergency_stop is the last-resort: interrupts, clears queue, frees VRAM.diffusion_models, text_encoders, clip_vision, style_models, gligen, etc. - not just checkpoints.comfy://system/info - System statscomfy://server/capabilities - Profile, version, frontend_version, auth method, WS availability, openapi_version, cache_providercomfy://nodes/catalog - First-100 node previewcomfy://models/{folder} - Model listing by foldercomfy://embeddings - Embeddingscomfy://api/openapi - Optional OpenAPI 3.1 spec when /openapi.json is exposedTemplates (parameterized URIs):
comfy://nodes/catalog/{page} - Paginated catalog (100 per page)comfy://nodes/by-category/{category} - Filter by category prefixcomfy://templates/catalog - ComfyUI /workflow_templatescomfy://docs/{node_class} - Embedded Markdown docs with object_info fallback10 tools return typed Pydantic models: SystemStats, VRAMStatus, ModelList, TechniqueList, SnapshotList, DynamicsReport, QueueAck, ValidationReport, RunResult, WatchProgressFrame. Use attribute access on the return value rather than json.loads.
comfypilot --transport streamable-http --host 0.0.0.0 --port 8765.| Family | Intents |
|---|---|
| SD 1.5 | txt2img, img2img, upscale, inpaint, controlnet |
| SDXL | txt2img |
| SD 3.5 | txt2img |
| Flux 2 / Klein | txt2img |
| Qwen-Image | txt2img |
| Wan 2.2 | txt2video, img2video |
| LTX-2 | txt2video |
| HunyuanVideo 1.5 | txt2video, img2video |
| Hunyuan3D 2.1 | image2_3d |
| ACE-Step 1.5 XL | txt2music |
| Ernie Image | txt2img |
These bypass family detection and dispatch by intent name regardless of the detected checkpoint family.
| Intent | Purpose |
|---|---|
super_resolution | SUPIR image super-resolution / restoration (ComfyUI v0.20.0+) |
interpolate_frames | RIFE or FILM frame interpolation (`method="rife" |
segment | SAM 3.1 prompt-based segmentation |
train_lora | Native LoRA training (TrainLoraDataLoader + TrainLora + SaveLora, multi-resolution buckets) |
txt2audio | Stable Audio 2.5 / general text-to-audio (distinct from ACE-Step txt2music) |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dreamrec/comfypilot --plugin comfypilot