ComfyUI Skills for OpenClaw
Agent-friendly ComfyUI workflow skills for OpenClaw, Codex, Claude Code, and other agents.
Use this project to turn ComfyUI workflows into callable skills with an agent-friendly CLI as the primary interface,
plus a visual Web UI for easier configuration and testing.
🎬 Demo Video ·
📘 Docs ·
🧭 Quick Start ·
🖥️ Web UI ·
🛰️ Multi-Server
English ·
简体中文 ·
繁體中文 ·
日本語
---
## Overview
ComfyUI Skills for OpenClaw is an agent-friendly bridge that turns ComfyUI workflows into callable skills for agents.
Instead of asking an agent to manipulate raw ComfyUI graphs, this project gives each workflow a clean, controlled interface through a CLI and schema-based parameter mapping. It works with OpenClaw, Codex, Claude Code, and other agents that can run shell commands.
Use it when you want to import existing ComfyUI workflows, expose only the parameters that matter, run them from chat or agent tasks, and manage everything through one consistent workflow layer.
| Best for | What you get |
|----------|--------------|
| OpenClaw, Codex, and Claude Code users | A ComfyUI workflow layer that agents can call safely |
| Existing ComfyUI workflow owners | A clean way to reuse exported workflows without exposing the full graph |
| Multi-machine setups | One namespace for local and remote ComfyUI servers |
| Users who want visual setup and testing | An optional Web UI for configuring, previewing, and validating workflows before agents use them |
## Why This Project
Working with ComfyUI directly is powerful, but not ideal for agent-driven execution.
Raw workflow graphs are noisy, fragile, and difficult for an agent to use safely. Direct API calls also require you to manually manage parameter injection, workflow naming, server selection, dependency checks, and output handling. This project adds a stable abstraction layer on top of ComfyUI so agents can discover workflows, call them with structured arguments, and get predictable results.
Compared with working directly against ComfyUI workflows or lower-level tooling, the CLI in this project is designed to be more agent-friendly: clearer inputs, safer parameter exposure, better workflow discovery, and more predictable execution results.
This makes the project useful when you want to:
- Turn an existing ComfyUI workflow into an agent tool
- Expose a safe parameter contract instead of the full graph
- Run workflows across multiple ComfyUI servers
- Reuse the same workflow setup across OpenClaw, Codex, Claude Code, and similar agents
## Features
| Capability | Why it matters |
|------------|----------------|
| **Agent-friendly CLI** | Designed for agents, not just humans. It provides a cleaner and more reliable interface than working directly with raw ComfyUI graphs or lower-level ComfyUI interaction patterns. |
| **Schema-based parameter mapping** | Expose only the fields you want the agent to control, with clear aliases, types, and descriptions. |
| **ComfyUI workflow import** | Import workflow JSON files, auto-detect formats, and generate the mapping layer needed for agent use. |
| **Multi-server routing** | Manage local and remote ComfyUI servers under one namespace and route jobs to the right machine. |
| **Dependency management** | Check missing nodes and models before execution and install supported dependencies through the CLI. |
| **Optional Web UI** | A visual layer for configuration and testing. It does not replace the CLI, and agent-facing actions still map to the same CLI workflow. |