comfyui-studio
Drive a local ComfyUI 8188 server for image and short-clip generation. Use this Skill when the task involves a ComfyUI workflow, a local Stable Diffusion /…
от MiniMax-AI★ 30 звёзд на GitHub
Установить comfyui-studio в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ComfyUI Studio
A generic toolkit for driving a local ComfyUI server (default http://127.0.0.1:8188). It bundles
four Skills and two transport layers that work together.
Two parts, one Plugin
| Part | What it covers | Where |
|---|---|---|
| A. Basic control | The transport between the agent and a local ComfyUI server. Submit any workflow, poll the queue, download outputs. | comfyui-workflow Skill + the stdio MCP server + the Python CLI |
| B. Preset workflows | Six opinionated workflow templates that solve common recurring tasks, numbered 1–6 by the user's trigger scenario. | comfyui-character (scenarios 1–4) + comfyui-drama (scenarios 5–6) + the workflows/*.json presets |
The Plugin also ships a dependency-free stdio MCP server (see mcp.json + server.mjs) that
exposes the same Part-A primitives (submit_prompt, check_queue, get_image) to any MCP-capable
agent.
The 6 trigger scenarios (Part B)
This is the routing index. The number is the trigger scenario — read the user's intent, pick a number, and follow the pointer.
| # | Trigger | User typically says | Preset workflow | Pointer |
|---|---|---|---|---|
| 1 | 生图 (generate an image) | "用我的角色画一张自拍" / "生成一张 XX 风格的照片" / "draw my character at a beach" | workflows/selfie-text-to-image.json |
comfyui-character |
| 2 | 模仿 (mimic an image) | "照着这张照片再画一张同款" / "模仿这张图" / "use this photo as a reference" | workflows/selfie-mimicry.json |
comfyui-character |
| 3 | 改图 (edit an image) | "把背景换成办公室" / "衣服换成西装" / "edit this photo: change the background" | workflows/flux2-klein-image-edit.json |
comfyui-character |
| 4 | 融合 (fuse two images) | "把这张图里的人物放到那张图里" / "让她穿上这件衣服" / "put the person from this image onto that image" | workflows/flux2-klein-image-edit-dual.json |
comfyui-character |
| 5 | 首帧 (drama first frame) | "生成这部短剧第 X 镜的首帧" / "first frame of shot 3" | workflows/drama-first-frame.json |
comfyui-drama |
| 6 | 出片 (image to video) | "把这个首帧做成 4 秒视频" / "turn this first frame into a clip" | workflows/drama-image-to-video.json |
comfyui-drama |
If the user's request does not map cleanly to one of these six, fall through to Part A
(below) and use comfyui-workflow as a generic transport for any user-supplied workflow JSON.
Routing rules
- Numbers 1–4 → read
skills/comfyui-character/SKILL.mdfor the recipe (model stack, custom-node requirements, prompt structure, LoRA slots, knobs). Submit via Part A. - Numbers 5–6 → read
skills/comfyui-drama/SKILL.mdfor the 7-stage pipeline and the per-shot rules. Submit each shot via Part A. - Anything else ("submit this workflow", "check the queue", "what models do I have",
"use ComfyUI to ...", "run this JSON") → read
skills/comfyui-workflow/SKILL.mddirectly. The basic control layer handles all of these without reading a preset. - Health probes ("is ComfyUI running?") →
comfyui-workflow— its first step is always aGET /system_statsorsubmit_workflow.py --probe.
Do not duplicate behaviour: if you only need to submit a workflow, do not read this Skill, read
comfyui-workflow/SKILL.md directly. This Skill is the entry point for routing, not the
implementation.
Required environment
The Plugin assumes the user has:
- A running ComfyUI server (default
http://127.0.0.1:8188). Override with theCOMFYUI_URLenvironment variable or the--urlflag on the Python scripts. - The checkpoint / CLIP / VAE / ControlNet files referenced in each preset (see the Model
boundary section in
README.md). Edit loader fields if your install uses different filenames. - For scenarios 1 and 2 (
comfyui-characterselfie workflows): a face LoRA and a style LoRA inmodels/loras/. The workflow JSONs reference them asyour_face_lora.safetensorsandyour_style_lora.safetensors— replace these with your filenames before submitting. The Plugin does not bundle LoRAs. - For scenario 2 (
selfie-mimicry.json): the custom-node pack list incomfyui-character/SKILL.md(controlnet_aux, LLaMA-CPP, ModelPatchLoader, etc.). - For scenarios 5 and 6 (
comfyui-drama): two character LoRAs the user trained themselves (referenced ascharacter_a_lora.safetensors/character_b_lora.safetensors/any_motion_lora.safetensors— replace with your filenames).
The Plugin does not download or bundle model checkpoints, LoRAs, or any other binary asset. Each Skill instructs the user to place their own files in the standard ComfyUI directory layout.
Data and network
- Network access is local-only by default. The MCP server and the Python scripts both target
the address in
COMFYUI_URL. No telemetry, no remote calls, no analytics. - See
docs/security-notes.mdfor the threat model and the data the Plugin handles. - See
docs/troubleshooting.mdfor common failures (ComfyUI offline, missing model, OOM).
Trying it out
End-to-end smoke test (about 5 minutes,
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл comfyui-studio?
Drive a local ComfyUI 8188 server for image and short-clip generation. Use this Skill when the task involves a ComfyUI workflow, a local Stable Diffusion / Flux / Z-Image checkpoint, character-consistent generation with a LoRA, or producing deterministic outputs from a saved workflow JSON. Triggers on requests like "use ComfyUI to ...", "submit this workflow", "what models do I have", "generate an image with my LoRA", or "check the queue".
Как установить скилл comfyui-studio?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл comfyui-studio запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…