--- title: Getting Started description: Install ComfyUI Skills for OpenClaw, connect your first ComfyUI server, upload a workflow, and verify that the skill can generate images. permalink: /getting-started/ ---

Getting Started

Install the skill, connect ComfyUI, and run your first workflow.

This page is the shortest reliable path from cloning the repository to triggering a real ComfyUI workflow through OpenClaw or the local CLI.

Prerequisites

What you need before setup

Quick Install

Install into an OpenClaw workspace

cd ~/.openclaw/workspace/skills
git clone https://github.com/HuangYuChuh/ComfyUI_Skills_OpenClaw.git comfyui-skill-openclaw
cd comfyui-skill-openclaw
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
cp config.example.json config.json

If python3 --version is below 3.10, create the virtual environment with any installed python3.10+ interpreter, for example python3.12 -m venv .venv.

If your macOS Python blocks global package changes, keep everything inside the virtual environment above.

Recommended Flow

Use the local web dashboard first

  1. Start the UI with ./ui/run_ui.sh on macOS or Linux, or ui\run_ui.bat on Windows.
  2. Open http://localhost:18189.
  3. Add a ComfyUI server and confirm the server URL is correct.
  4. Upload a workflow exported from ComfyUI with Save (API Format).
  5. Select the parameters you want OpenClaw to expose and save the mapping.

Best practice: start with the UI once, then automate later with CLI or agent edits.

CLI Verification

Confirm the skill can see and call your workflow

First list the registered workflows:

python scripts/registry.py list

Then run a real generation test:

python scripts/comfyui_client.py \
  --workflow local/Default \
  --args '{"prompt":"A premium product photo"}'

Successful runs return a prompt_id and one or more local image paths in ./outputs.

Workflow Files

The minimum file layout

data/local/Default/
  workflow.json
  schema.json