Skip to content
Agentmart
Submit a tool

comfy-ui

Use ComfyUI as a modular AI content-creation engine: launch and automate the server, submit API workflows, validate graph JSON, author custom nodes, and…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-comfy-ui

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use ComfyUI as a modular AI content-creation engine: launch and automate the server, submit API workflows, validate graph JSON, author custom nodes, and configure model paths/backends.

Use cases: design, backend, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/comfy-ui

What's inside

Skill name
comfy-ui
Description
Use ComfyUI as a modular AI content-creation engine: launch and automate the server, submit API workflows, validate graph JSON, author custom nodes, and configure model paths/backends.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
54 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (30)

  • SKILL.md
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • SKILL.md · sub-skills/custom-nodes/
  • api-nodes.md · sub-skills/custom-nodes/references/
  • node-authoring.md · sub-skills/custom-nodes/references/
  • public-node-api.md · sub-skills/custom-nodes/references/
  • troubleshooting.md · sub-skills/custom-nodes/references/
  • inspect_node_definitions.py · sub-skills/custom-nodes/scripts/
  • scaffold_custom_node.py · sub-skills/custom-nodes/scripts/
  • SKILL.md · sub-skills/models-config/
  • backend-and-memory.md · sub-skills/models-config/references/
  • model-families.md · sub-skills/models-config/references/
  • model-paths.md · sub-skills/models-config/references/
  • troubleshooting.md · sub-skills/models-config/references/
  • validate_extra_model_paths.py · sub-skills/models-config/scripts/
  • SKILL.md · sub-skills/server-api/
  • api-reference.md · sub-skills/server-api/references/
  • api-workflows.md · sub-skills/server-api/references/
  • cli-reference.md · sub-skills/server-api/references/
  • troubleshooting.md · sub-skills/server-api/references/
  • comfy_api_client.py · sub-skills/server-api/scripts/
  • comfy_websocket_monitor.py · sub-skills/server-api/scripts/
  • SKILL.md · sub-skills/workflow-execution/
  • blueprints-and-templates.md · sub-skills/workflow-execution/references/
  • execution-semantics.md · sub-skills/workflow-execution/references/
  • prompt-format.md · sub-skills/workflow-execution/references/
  • troubleshooting.md · sub-skills/workflow-execution/references/
  • validate_prompt_graph.py · sub-skills/workflow-execution/scripts/

SKILL.md (first lines)

# ComfyUI

Use this repo skill when a user asks for help with ComfyUI workflows, automation, server/API usage, custom nodes, model folder configuration, backend/memory flags, or prompt graph debugging.

ComfyUI is a node-graph AI creation engine for image, video, audio, 3D, and model-tooling workflows. Treat it as an application/runtime with a Python launch script, HTTP/websocket APIs, a node registry, JSON prompt graphs, model-folder conventions, optional hosted API nodes, and hardware-sensitive backend behavior.

## Start Here

1. Identify the task surface: server/API automation, prompt graph execution, node authoring, or model/backend setup.
2. If the user has a workflow JSON, decide whether it is API prompt JSON or UI workflow JSON before sending it to `/prompt`.
3. If the user has a model-loading error, separate graph-node input issues from model search path/backend issues.
4. If the user has a custom node problem, inspect mappings and node schemas before debugging prompt execution.
5. If the user is exposing a server, make network, CORS, TLS, credential, and API-node choices explicit.

## Routes

- `sub-skills/server-api/`: launch ComfyUI, choose server-facing CLI flags, queue API prompt JSON over HTTP, monitor websocket progress, fetch history/output files, use app/user/model/assets routes, and troubleshoot server/API failures.
- `sub-skills/workflow-execution/`: validate and debug API prompt JSON, distinguish UI workflow exports from executable prompts, reason about graph links, caching, async/lazy execution, blueprints/templates, and inference failure boundaries.
- `sub-skills/custom-nodes/`: implement, scaffold, inspect, and troubleshoot custom nodes using classic `INPUT_TYPES` classes, `NODE_CLASS_MAPPINGS`, hidden inputs, async validation, public `comfy_api` APIs, and API-provider nodes.
- `sub-skills/models-config/`: configure model folders and `extra_model_paths.yaml`, understand checkpoint/LoRA/VAE/controlnet categories, choose backend/VRAM flags, diagnose missing models, and reason about supported model families/quantization.

## Common Decisions

- **Launching locally:** start local-only unless remote access is required: `python main.py --listen 127.0.0.1 --port 8188`.
- **Submitting workflows:** use API-format prompt JSON for `/prompt`; normal UI workflow JSON contains canvas metadata and must be exported/converted first.
- **Getting outputs:** queue with `/prompt`, wait on `/ws` or poll `/history/{prompt_id}`, then download file outputs with `/view` using exact history metadata.
- **Using API nodes:** pass hosted Comfy API credentials through request `extra_data` or hidden node credentials; never hardcode API keys in workflow JSON or scripts.
- **Model placement:** put each model file in the category its loader node searches, or register shared paths through `extra_model_paths.yaml`.
- **Backend failures:** simplify to explicit CPU/CUDA/ROCm/MPS/DirectML flags, disable custom/API nodes while isolating startup failures, then re-enable pieces gradually.

## Bundled References

- `references/troubleshooting.md` covers cross-cutting install/import, launch, prompt, custom-node, model-path, backend, credential, and security failures.
- `references/repo-provenance.md` records the source snapshot and evidence paths used to create this skill for future staleness checks.

## Bundled Scripts

Most reusable scripts are owned by sub-skills because they operate on a specific surface:

- `sub-skills/server-api/scripts/comfy_api_client.py`: validate, queue, wait for history, and download outputs through REST.
- `sub-skills/server-api/scripts/comfy_websocket_monitor.py`: queue and monitor websocket progress while ignoring binary preview frames by default.
- `sub-skills/workflow-execution/scripts/validate_prompt_graph.py`: structurally validate API prompt JSON without importing ComfyUI or loading models.
- `sub-skills/custom-nodes/scripts/scaffold_custom_node.py`: generate a safe starter custom node package.
- `sub-skills/custom-nodes/scripts/inspect_node_definitions.py`: statically inspect classic node mappings and common schema mistakes.
- `sub-skills/models-config/scripts/validate_extra_model_paths.py`: validate `extra_model_paths.yaml` shape and referenced directories.

## Safety Notes

- Do not expose ComfyUI on a public interface with permissive CORS and no external authentication boundary.
- Do not run untrusted custom nodes or hosted API-node workflows without reviewing network, credential, and filesystem effects.
- Do not assume a workflow that validates structurally can execute: model files, node registry contents, optional dependencies, credentials, and backend hardware still matter.
- Do not embed local paths, API keys, generated output paths, or private server URLs in reusable workflows or scripts.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 28, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Cite this page

comfy-ui skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-comfy-ui (last updated 2026-10-24)