# Send ComfyUI Skill to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "comfy-ui",
    "name": "ComfyUI Skill",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/dihan/comfy-ui",
    "canonicalUrl": "https://clawhub.ai/dihan/comfy-ui",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/comfy-ui",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=comfy-ui",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/comfy_gen.py",
      "workflows/Z-Image-BigLove.json",
      "workflows/Z-Image-Turbo.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "comfy-ui",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T17:31:01.349Z",
      "expiresAt": "2026-05-07T17:31:01.349Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=comfy-ui",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=comfy-ui",
        "contentDisposition": "attachment; filename=\"comfy-ui-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "comfy-ui"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/comfy-ui"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/comfy-ui",
    "downloadUrl": "https://openagent3.xyz/downloads/comfy-ui",
    "agentUrl": "https://openagent3.xyz/skills/comfy-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/comfy-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/comfy-ui/agent.md"
  }
}
```
## Documentation

### ComfyUI Local Skill

This skill allows OpenClaw to generate images by connecting to a ComfyUI instance running on the local network.

### Setup

Server Address: Set the COMFYUI_SERVER_ADDRESS environment variable to your PC's IP and port (e.g., http://192.168.1.119:8189).
API Mode: Ensure "Enable Dev mode" is turned on in your ComfyUI settings to allow API interactions.

### Generate an Image

Run the internal generation script with a prompt:

python3 {skillDir}/scripts/comfy_gen.py "your image prompt" $COMFYUI_SERVER_ADDRESS

### Use a Custom Workflow

Place your API JSON workflows in the workflows/ folder, then specify the path:

python3 {skillDir}/scripts/comfy_gen.py "your prompt" $COMFYUI_SERVER_ADDRESS --workflow {skillDir}/workflows/my_workflow.json

### Features

SDXL Default: Uses a high-quality SDXL workflow (Juggernaut XL) by default.
Auto-Backup: Designed to save images to image-gens/ and can be configured to sync to local document folders.
Custom Workflows: Supports external API JSON workflows saved in the workflows/ folder. The script will automatically try to inject your prompt and a random seed into the workflow nodes.

### Implementation Details

The skill uses a Python helper (scripts/comfy_gen.py) to handle the WebSocket/HTTP handshake with the ComfyUI API, queue the prompt, and download the resulting image.

### ComfyUI Image Generation Notes:

Server Address:

The ComfyUI server address needs to be passed as a direct argument to the comfy_gen.py script after the prompt, not just as an environment variable.
Example: python3 ... "Your prompt" http://192.168.1.119:8189 ...



Workflow Paths:

When specifying a workflow file path that contains spaces or special characters, it must be enclosed in single quotes to be parsed correctly by the script.
Example: --workflow '/path/to/your/workflow file name.json'



Lora Weight Control:

The current comfy_gen.py script does not appear to have a direct parameter for controlling Lora weights (e.g., setting 'l1lly' Lora to 0.90). This might need to be configured within the workflow JSON itself, or require modifications to the script or workflow.



Output Filenames:

Generated images might be saved with temporary names (e.g., ComfyUI_temp_...png) rather than more descriptive ones by default.



ComfyUI Setup:

Ensure "Enable Dev mode" is turned on in ComfyUI settings for API interactions.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dihan
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T17:31:01.349Z
- Expires at: 2026-05-07T17:31:01.349Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/comfy-ui)
- [Send to Agent page](https://openagent3.xyz/skills/comfy-ui/agent)
- [JSON manifest](https://openagent3.xyz/skills/comfy-ui/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/comfy-ui/agent.md)
- [Download page](https://openagent3.xyz/downloads/comfy-ui)