ComfyUI Painter for Openclaw

A professional-grade bridge for local ComfyUI image generation and automated CivitAI model lifecycle management within the Openclaw Skills ecosystem.

zeron-g
v2.0.0
Feb 27, 2026
0
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install comfyui-painter

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install comfyui-painter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ComfyUI Painter?

ComfyUI Painter is an advanced skill designed for the Openclaw Skills framework, enabling seamless control over local ComfyUI instances using high-performance hardware like the RTX 5090. It bridges the gap between raw AI generation power and automated workflow management by providing a robust Python API and CLI interface. This skill allows users to generate high-quality images and videos while maintaining a local library of models synchronized with CivitAI.

Beyond simple generation, the skill integrates deep automation features such as automatic prompt enhancement, parameter tuning based on community metadata, and intelligent resource management. Whether you are generating anime-style art with NoobAI or realistic renders with Flux, this integration ensures that your local environment is optimized and easily accessible through natural language commands.

ComfyUI Painter Use Cases

  • Automating high-fidelity image generation using local GPU resources via Openclaw Skills.
  • Discovering, downloading, and updating checkpoints and LoRAs directly from CivitAI using CLI commands.
  • Optimizing generation parameters like CFG and steps automatically based on model-specific recommendations.
  • Managing system resources through automated idle detection and shutdown of VRAM-intensive processes.
  • Integrating AI-generated art into communication platforms like Discord for automated sharing and feedback.

How ComfyUI Painter Works

  1. The user provides a natural language prompt or image generation request to the agent.
  2. The system checks the status of the local ComfyUI instance and launches it automatically if it is not running.
  3. The prompt is expanded and optimized with professional quality tags and semantic separators like BREAK.
  4. The skill queries the internal configuration or the CivitAI API to retrieve the most successful parameters for the chosen model alias.
  5. The generation script communicates with the ComfyUI API to execute the workflow and monitor progress.
  6. Upon completion, the resulting image is transferred to the workspace and dispatched to the designated Discord channel.
  7. An integrated heartbeat monitor tracks activity and triggers a shutdown of the ComfyUI process after 15 minutes of inactivity to free up system memory.

ComfyUI Painter Setup

To get started with this skill, ensure your local ComfyUI environment is accessible and follow these steps to integrate it with Openclaw Skills.

# 1. Configure your CivitAI API Token
echo "Token: your_api_key_here" > ~/.openclaw/workspace/credentials/civitai.md

# 2. Initialize the model configuration
# Edit config.json to map your local paths and preferred model aliases.

# 3. Synchronize model parameters
python3 scripts/auto_tune.py update-all

ComfyUI Painter Data Schema & Taxonomy

The skill organizes its data using a centralized configuration and a secure credential system to ensure smooth operation within Openclaw Skills.

Component Path Description
Configuration config.json Maps model aliases to local filenames and recommended default parameters.
Credentials credentials/civitai.md Securely stores the API token required for CivitAI integration.
Script Logic scripts/ Contains modular Python scripts for manager, generator, and tuning functions.
Output Buffer workspace/ Holds generated assets temporarily before they are shared or moved.

ComfyUI Painter Advanced Features

  • Auto-Tune Engine: Automatically extracts optimal generation settings from CivitAI sample metadata to minimize trial-and-error.
  • Smart Resource Management: Heartbeat-based auto-shutdown ensures your GPU is not held hostage by idle processes.
  • Batch Processing: Supports generating multiple variations in a single request with customizable batch sizes.
  • Checkpoint Integrity: Uses SHA256 hashing to check for model updates on CivitAI, ensuring you always have the latest versions.
  • Prompt Engineering: Built-in transformation of simple requests into complex Stable Diffusion prompts using industry-standard quality markers.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*