一键导入
workflows
Knowledge about ComfyUI workflow API format, node connections, and common patterns. Use when helping users build, modify, or understand workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Knowledge about ComfyUI workflow API format, node connections, and common patterns. Use when helping users build, modify, or understand workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Generate an image with ComfyUI from a text prompt
Show recent ComfyUI generation history
List available ComfyUI models, optionally filtered by type
Show execution progress for a ComfyUI job
Show ComfyUI queue status with running and pending jobs
Troubleshooting guide for ComfyUI MCP connection issues, model errors, workflow failures, and security warnings. Use when users encounter errors or unexpected behavior.
基于 SOC 职业分类
| name | workflows |
| description | Knowledge about ComfyUI workflow API format, node connections, and common patterns. Use when helping users build, modify, or understand workflows. |
ComfyUI workflows use a JSON format where each node is a key-value pair:
{
"1": {
"class_type": "KSampler",
"inputs": {
"seed": 42,
"steps": 20,
"cfg": 7.0,
"sampler_name": "euler",
"scheduler": "normal",
"denoise": 1.0,
"model": ["2", 0],
"positive": ["3", 0],
"negative": ["4", 0],
"latent_image": ["5", 0]
}
}
}
"1", "2")class_type is the ComfyUI node type nameinputs contains parameters and connections["source_node_id", output_index]CheckpointLoaderSimple -> CLIPTextEncode (positive) -> KSampler -> VAEDecode -> SaveImage
LoadImage -> VAEEncode -> KSampler (with denoise < 1.0) -> VAEDecode -> SaveImage
LoadImage -> ControlNetLoader + ControlNetApply -> feed into KSampler positive conditioning
CheckpointLoaderSimple -> LoraLoader (chain multiple) -> KSampler
| Node | Purpose | Key Inputs |
|---|---|---|
CheckpointLoaderSimple | Load a model checkpoint | ckpt_name |
CLIPTextEncode | Encode text prompt | text, clip |
KSampler | Run diffusion sampling | model, positive, negative, latent_image, steps, cfg, seed |
VAEDecode | Decode latent to image | samples, vae |
VAEEncode | Encode image to latent | pixels, vae |
SaveImage | Save output image | images, filename_prefix |
LoadImage | Load input image | image (filename) |
LoraLoader | Apply LoRA weights | model, clip, lora_name, strength_model, strength_clip |
ControlNetLoader | Load ControlNet model | control_net_name |
ControlNetApply | Apply ControlNet | conditioning, control_net, image, strength |
Quick decision guide — pick the tool by what you need to do:
| Goal | Tool |
|---|---|
| Build a new workflow from scratch | comfyui_create_workflow |
| Modify an existing workflow | comfyui_modify_workflow |
| Understand a workflow (human-readable text or Mermaid) | comfyui_summarize_workflow |
| Understand a workflow (machine-readable dict) | comfyui_analyze_workflow |
| Check a workflow for errors before running | comfyui_validate_workflow |
| Execute a workflow | comfyui_run_workflow |
comfyui_create_workflow — Start from a built-in template. Accepted template names are listed in the tool's docstring: txt2img, img2img, upscale, inpaint, txt2vid_animatediff, txt2vid_wan, controlnet_canny, controlnet_depth, controlnet_openpose, ip_adapter, lora_stack, face_restore, flux_txt2img, sdxl_txt2img. The params argument defaults to "", which applies the predefined settings for the selected template (e.g., default dimensions, steps, and cfg values baked into that template); pass a JSON string when you want overrides. (Note: comfyui_list_workflows returns server-side /workflow_templates from front-end packages — a different set, not these MCP-built-in templates.)comfyui_modify_workflow — Add/remove nodes, change connections, update parameters on an existing workflow. Operations: add_node, remove_node, set_input, connect, disconnect. The docstring spells out each op's exact field shape. The call is atomic — if any operation fails, the call raises and the input workflow is unmodified.comfyui_validate_workflow — Returns {valid, errors, warnings, node_count, pipeline}. errors (list[str]) are blocking; warnings (list[str]) are non-blocking concerns like missing model files or suspicious inputs.comfyui_summarize_workflow — Human-readable overview. Pass output_format="text" (default) or "mermaid" for diagram markup.comfyui_analyze_workflow — Returns the analysis as a structured dict (node_count, class_types, flow, models, parameters, pipeline, prompt_nodes, negative_nodes). Use this when you want to read fields like pipeline programmatically; use comfyui_summarize_workflow for the human-readable rendering.comfyui_run_workflow — Submit a workflow for execution. Use wait=True to block until done. The response is always a dict envelope: {status, prompt_id, outputs, elapsed_seconds, warnings?} where status is one of submitted / completed / interrupted / error / timeout. With wait=False you get just {status: "submitted", prompt_id, warnings?} — poll comfyui_get_progress or comfyui_get_job to follow up.comfyui_list_nodes to check what node types are available on the connected ComfyUI instance.comfyui_get_node_info to get detailed input/output specs for a specific node type.seed parameter controls reproducibility. Use a fixed seed for consistent results, or -1 for random.