{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-comfyui",
    "name": "OpenClaw ComfyUI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/SalmonRK/openclaw-comfyui",
    "canonicalUrl": "https://clawhub.ai/SalmonRK/openclaw-comfyui",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-comfyui",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-comfyui",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "comfy_client.py",
      "manifest.json",
      "workflows/image_z_image_turbo.json",
      "workflows/qwen_image_edit_2511.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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/openclaw-comfyui"
    },
    "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/openclaw-comfyui",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-comfyui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-comfyui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-comfyui/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "ComfyUI-OpenClaw Skill 🎨✨",
        "body": "A professional, token-saving agent skill for connecting and controlling ComfyUI via API. Designed for high efficiency, automatic asset handling, and seamless integration with OpenClaw."
      },
      {
        "title": "🏗️ Skill Structure",
        "body": "Host Address: 192.168.1.38:8190 (Configured in TOOLS.md)\nWorkflow Directory: skills/comfyui/workflows/ (Self-contained within the skill folder)\nOutput Directory: outputs/comfy/ (Relative to workspace root)\nCore Script: skills/comfyui/comfy_client.py (Handles prompt injection, image uploads, and result polling)"
      },
      {
        "title": "🛠️ Tools (CLI)",
        "body": "Invoke via the exec command:\npython3 skills/comfyui/comfy_client.py <template_id> \"<prompt>\" [input_image_path/orientation] [orientation]"
      },
      {
        "title": "Parameters:",
        "body": "template_id:\n\ngen_z: Text-to-Image (uses image_z_image_turbo.json)\nqwen_edit: Image-to-Image / Editing (uses qwen_image_edit_2511.json) - Supports automatic image upload.\n\n\nprompt: The description of the image to generate or edits to perform.\ninput_image_path: (Optional) Local path for image-to-image tasks.\norientation: (Optional) Set to portrait (720x1280) or landscape (1280x720). Defaults to portrait."
      },
      {
        "title": "💡 How to Add New Workflows",
        "body": "You can expand this skill easily:\n\nPlace your new API-formatted JSON workflow in skills/comfyui/workflows/.\nUpdate the WORKFLOW_MAP dictionary in skills/comfyui/comfy_client.py with a new ID and the file path.\n(Optional) If the workflow uses unique node types, adjust the injection logic in the script's main() function."
      },
      {
        "title": "🚀 Token-Saving Strategy",
        "body": "Template Mapping: Never send full workflow JSONs in the chat. Refer to them by template_id.\nVision-Saving Strategy: To minimize token usage, the agent should prioritize using the file path from metadata instead of analyzing image content via vision capabilities unless explicitly asked to describe or analyze the image.\nDirect Delivery: Deliver images directly to users via messaging plugins (e.g., Telegram) or local file openers (open) to avoid bloating the LLM's context window with base64 data."
      }
    ],
    "body": "ComfyUI-OpenClaw Skill 🎨✨\n\nA professional, token-saving agent skill for connecting and controlling ComfyUI via API. Designed for high efficiency, automatic asset handling, and seamless integration with OpenClaw.\n\n🏗️ Skill Structure\nHost Address: 192.168.1.38:8190 (Configured in TOOLS.md)\nWorkflow Directory: skills/comfyui/workflows/ (Self-contained within the skill folder)\nOutput Directory: outputs/comfy/ (Relative to workspace root)\nCore Script: skills/comfyui/comfy_client.py (Handles prompt injection, image uploads, and result polling)\n🛠️ Tools (CLI)\n\nInvoke via the exec command: python3 skills/comfyui/comfy_client.py <template_id> \"<prompt>\" [input_image_path/orientation] [orientation]\n\nParameters:\ntemplate_id:\ngen_z: Text-to-Image (uses image_z_image_turbo.json)\nqwen_edit: Image-to-Image / Editing (uses qwen_image_edit_2511.json) - Supports automatic image upload.\nprompt: The description of the image to generate or edits to perform.\ninput_image_path: (Optional) Local path for image-to-image tasks.\norientation: (Optional) Set to portrait (720x1280) or landscape (1280x720). Defaults to portrait.\n💡 How to Add New Workflows\n\nYou can expand this skill easily:\n\nPlace your new API-formatted JSON workflow in skills/comfyui/workflows/.\nUpdate the WORKFLOW_MAP dictionary in skills/comfyui/comfy_client.py with a new ID and the file path.\n(Optional) If the workflow uses unique node types, adjust the injection logic in the script's main() function.\n🚀 Token-Saving Strategy\nTemplate Mapping: Never send full workflow JSONs in the chat. Refer to them by template_id.\nVision-Saving Strategy: To minimize token usage, the agent should prioritize using the file path from metadata instead of analyzing image content via vision capabilities unless explicitly asked to describe or analyze the image.\nDirect Delivery: Deliver images directly to users via messaging plugins (e.g., Telegram) or local file openers (open) to avoid bloating the LLM's context window with base64 data."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/SalmonRK/openclaw-comfyui",
    "publisherUrl": "https://clawhub.ai/SalmonRK/openclaw-comfyui",
    "owner": "SalmonRK",
    "version": "1.0.4",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-comfyui",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-comfyui",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-comfyui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-comfyui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-comfyui/agent.md"
  }
}