/comfyui-plugin:comfy-clifrom comfyui-plugin
Manages ComfyUI custom nodes, snapshots, and headless workflow execution via the `comfy` CLI. Use for installing/updating/bisecting nodes, saving/restoring snapshots, and running API workflows.
Ships in comfyui-plugin. 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.
Read when SKILL.md points to them.
comfy (comfy-cli) is the upstream Comfy Org Python CLI. Installed here via
uv tool at ~/.local/share/uv/tools/comfy-cli/ (binary symlink at
~/.local/bin/comfy). The default workspace is already pinned to
your ComfyUI install's root — never pass --workspace, never run set-default once it's pinned.
The service runs via systemd on 0.0.0.0:8188 (see project CLAUDE.md). The
CLI's lifecycle commands assume it owns the process. Most don't apply here.
The useful surface is custom-node management, headless API execution,
and snapshots. Almost everything else is either a no-op or actively
conflicts with the systemd unit.
| Use this skill when... | Use instead when... |
|---|---|
The user asks to use the comfy CLI - install/update/bisect nodes, snapshot/restore, publish, run workflows headlessly | Managing custom nodes via the ComfyUI-Manager UI directly |
Running a workflow via comfy run --workflow ... --port ... | Running headlessly over the raw HTTP API -> comfyui-pack-live-smoke |
| Task | Command |
|---|---|
| List installed custom nodes | comfy node simple-show installed |
| Install a custom node by registry name | comfy node install <name> |
| Install a node directly from the comfy registry by ID (use when Manager's curated list lags or the node was just published) | comfy node registry-install <node-id> |
| Install all custom nodes referenced by an imported workflow | comfy node install-deps --workflow path/to/workflow.json |
| Update one or more nodes | comfy node update <name> [<name> ...] |
| Update every custom node + Comfy core | comfy node update all |
Reinstall a node's requirements.txt (after a venv rebuild or import error) | comfy node fix <name> |
| Snapshot current node state to JSON | comfy node save-snapshot --output snapshots/$(date -I).json |
| Restore a snapshot | comfy node restore-snapshot snapshots/<file>.json |
| Bisect which custom node is breaking startup | comfy node bisect start then good/bad |
| Generate a dep manifest for a workflow you're sharing | comfy node deps-in-workflow --workflow X.json --output X.deps.json |
| Run an API-format workflow against the running server | comfy run --workflow path.json --port 8188 --timeout 600 --verbose |
| Show installed models in a table | comfy model list |
| Inspect workspace / running-server state | comfy which, comfy env |
| Command | Why not |
|---|---|
comfy launch [--background] | Spawns a second ComfyUI process competing for port 8188 and the GPU against the systemd unit. Use sudo systemctl start/stop comfyui.service instead — the project CLAUDE.md covers this. |
comfy stop | Only stops a comfy launch --background process — has no effect on the systemd-managed instance. |
comfy install | Already installed. The directory is the install. |
comfy update comfy / comfy update all | These do git pull + pip install -r requirements.txt inside .venv/. Functionally identical to the manual recipe in project CLAUDE.md, but update all ALSO mass-updates every custom node (often breaks pinned workflows). Prefer the manual git pull + .venv/bin/python -m pip install -r requirements.txt, then comfy node update <specific> only when needed. |
comfy standalone | Builds a portable Python interpreter — irrelevant; we have .venv/. |
comfy set-default | Already pinned to your install root — re-running it is a no-op at best. |
comfy manager enable-gui / disable-gui / clear | Operates on ComfyUI-Manager's reserved-startup-action state. The Manager web UI handles this fine; the CLI flags are rarely needed. |
Before a multi-step task — importing a workflow with unknown nodes, a headless comfy run, a mass comfy node update (its post-install pip targets the wrong venv), bisecting a startup IMPORT FAILED, or comfy node fix after a venv rebuild — follow the matching recipe in references/recipes.md.
Read references/pitfalls.md before running comfy run, comfy node install/update/fix, comfy model download/remove, or upgrading comfy-cli itself, and whenever a command fails or a node won't load. It covers the API-format and --port requirements for comfy run, registry-only installs and registry-install for Pending versions, Pending vs Flagged status, the wrong-venv pip step, the transformers 5.x break, tarball-snapshot packs, CamelCase dir names, and reading the right service boot in journalctl.
What SKILL.md sets; muted values are Claude Code's defaults
17 skills in this plugin
/comfy-conditionalsComfyUI predicate/boolean nodes: compare, AND/OR/XOR/NOT, ternary, null/empty/type probes, ExecutionBlocker. Use when forming the boolean that drives a workflow switch or blocker./comfy-corpus-validationVerify ComfyUI sampler/scheduler facts: source-of-truth ladder, measured sigma curves, coverage gaps. Use when writing or auditing sampler corpus metadata./comfy-debug-previewComfyUI debug/preview nodes: show text/numbers/JSON/tensor shapes, image previews, counts, VRAM/CPU telemetry, timing. Use when inspecting a value mid-graph without changing it./comfy-flow-controlComfyUI routing nodes: typed switches, index switches, broadcast (Anything Everywhere), pipe/context bundles, for/while loops, ExecutionBlocker gates. Use when wiring where a signal routes in a workflow./comfy-image-utilsComfyUI non-inference image ops: resize/crop/pad/tile/batch/mask utilities, plus image-to-text captioners (Florence-2, WD14, BLIP, DeepDanbooru). Use when manipulating images or generating captions/tags in a workflow./comfy-math-stringsComfyUI compute/string nodes: constants, sliders, math expressions, string concat/split/replace/regex, type conversion, JSON/list utilities. Use when computing a value or assembling a string in a workflow.npx claudepluginhub laurigates/claude-plugins --plugin comfyui-pluginOther plugins' skills for the same job