Run local ComfyUI workflows via the HTTP API. The agent edits workflow JSON (prompt, style, seed) then queues and polls using the bundled script.
- ComfyUI installed and runnable (e.g.
~/ComfyUIwith a venv). The skill can guide the user to install it if the server is not reachable. - Python 3 with the ComfyUI venv (use
~/ComfyUI/venv/bin/python; do not rely on barepythonon PATH).
- Instructs the agent to read workflow JSON, find prompt/style/sampler nodes, edit them, and write a temp workflow file.
- Runs
comfyui_run.pyto queue the workflow and poll until completion. - Tells the agent to send generated images back to the user and how to recover if the ComfyUI server is not running.
comfyui/
├── SKILL.md # Main instructions for the agent
├── README.md # This file
├── CONTRIBUTING.md # Where to report issues
├── .clawhub/
│ └── origin.json # ClawHub slug and version
├── scripts/
│ ├── comfyui_run.py # Queue workflow, poll, print images
│ └── download_weights.py # Download model weight URLs to ComfyUI/models/
└── assets/
├── default-workflow.json # Example workflow
└── tmp-workflow.json # Written by agent (editable)
The skill only appears on ClawHub after you publish it. Until then it exists only locally.
- Install the CLI:
npm i -g clawhub - Log in:
clawhub login(GitHub account must be at least one week old to publish) - From the workspace root (parent of
skills/):clawhub publish ./skills/comfyui --slug comfyui --name "ComfyUI" --version 1.0.1 --changelog "Describe changes"
- For later updates, bump the version (e.g.
1.0.2) and run the same command with a new--changelog.
Finding your skill: Open clawhub.ai, search for comfyui or ComfyUI, or check your profile for published skills. Install with: clawhub install comfyui