{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/comfy-ui",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=comfy-ui",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/comfy_gen.py",
      "workflows/Z-Image-BigLove.json",
      "workflows/Z-Image-Turbo.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/comfy-ui",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "ComfyUI Local Skill",
        "body": "This skill allows OpenClaw to generate images by connecting to a ComfyUI instance running on the local network."
      },
      {
        "title": "Setup",
        "body": "Server Address: Set the COMFYUI_SERVER_ADDRESS environment variable to your PC's IP and port (e.g., http://192.168.1.119:8189).\nAPI Mode: Ensure \"Enable Dev mode\" is turned on in your ComfyUI settings to allow API interactions."
      },
      {
        "title": "Generate an Image",
        "body": "Run the internal generation script with a prompt:\n\npython3 {skillDir}/scripts/comfy_gen.py \"your image prompt\" $COMFYUI_SERVER_ADDRESS"
      },
      {
        "title": "Use a Custom Workflow",
        "body": "Place your API JSON workflows in the workflows/ folder, then specify the path:\n\npython3 {skillDir}/scripts/comfy_gen.py \"your prompt\" $COMFYUI_SERVER_ADDRESS --workflow {skillDir}/workflows/my_workflow.json"
      },
      {
        "title": "Features",
        "body": "SDXL Default: Uses a high-quality SDXL workflow (Juggernaut XL) by default.\nAuto-Backup: Designed to save images to image-gens/ and can be configured to sync to local document folders.\nCustom 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."
      },
      {
        "title": "Implementation Details",
        "body": "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."
      },
      {
        "title": "ComfyUI Image Generation Notes:",
        "body": "Server Address:\n\nThe 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.\nExample: python3 ... \"Your prompt\" http://192.168.1.119:8189 ...\n\n\n\nWorkflow Paths:\n\nWhen 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.\nExample: --workflow '/path/to/your/workflow file name.json'\n\n\n\nLora Weight Control:\n\nThe 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.\n\n\n\nOutput Filenames:\n\nGenerated images might be saved with temporary names (e.g., ComfyUI_temp_...png) rather than more descriptive ones by default.\n\n\n\nComfyUI Setup:\n\nEnsure \"Enable Dev mode\" is turned on in ComfyUI settings for API interactions."
      }
    ],
    "body": "ComfyUI Local Skill\n\nThis skill allows OpenClaw to generate images by connecting to a ComfyUI instance running on the local network.\n\nSetup\nServer Address: Set the COMFYUI_SERVER_ADDRESS environment variable to your PC's IP and port (e.g., http://192.168.1.119:8189).\nAPI Mode: Ensure \"Enable Dev mode\" is turned on in your ComfyUI settings to allow API interactions.\nUsage\nGenerate an Image\n\nRun the internal generation script with a prompt:\n\npython3 {skillDir}/scripts/comfy_gen.py \"your image prompt\" $COMFYUI_SERVER_ADDRESS\n\nUse a Custom Workflow\n\nPlace your API JSON workflows in the workflows/ folder, then specify the path:\n\npython3 {skillDir}/scripts/comfy_gen.py \"your prompt\" $COMFYUI_SERVER_ADDRESS --workflow {skillDir}/workflows/my_workflow.json\n\nFeatures\nSDXL Default: Uses a high-quality SDXL workflow (Juggernaut XL) by default.\nAuto-Backup: Designed to save images to image-gens/ and can be configured to sync to local document folders.\nCustom 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.\nImplementation Details\n\nThe 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.\n\nComfyUI Image Generation Notes:\n\nServer Address:\n\nThe 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.\nExample: python3 ... \"Your prompt\" http://192.168.1.119:8189 ...\n\nWorkflow Paths:\n\nWhen 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.\nExample: --workflow '/path/to/your/workflow file name.json'\n\nLora Weight Control:\n\nThe 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.\n\nOutput Filenames:\n\nGenerated images might be saved with temporary names (e.g., ComfyUI_temp_...png) rather than more descriptive ones by default.\n\nComfyUI Setup:\n\nEnsure \"Enable Dev mode\" is turned on in ComfyUI settings for API interactions."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/dihan/comfy-ui",
    "publisherUrl": "https://clawhub.ai/dihan/comfy-ui",
    "owner": "dihan",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}