← 返回 Skills 市场
edward-hsiao

Comfyskill

作者 edward-hsiao · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
332
总下载
0
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install comfyskill
功能描述
Send prompts to a local ComfyUI instance to generate images based on user descriptions.
使用说明 (SKILL.md)

ComfyUI 生成技能

描述

此技能可將提示詞發送至本地 ComfyUI 並生成圖片。

指令

  • generate_image(prompt: string): 接收使用者的描述並發送到 ComfyUI。

設定

  • endpoint: http://127.0.0.1:8188
  • workflow: workflow.json
安全使用建议
This skill looks like a small ComfyUI helper but contains clear inconsistencies and coding errors. Before installing or using it: (1) verify and set WORKFLOW_PATH or update the code to use the included workflow.json (currently the code expects text2image-1.json in WORKFLOW_PATH); (2) fix the implementation to use the provided prompt argument (the code references an undefined prompt variable); (3) ensure COMFYUI_ENDPOINT is set to a trusted local address (default is localhost:8188) — otherwise the skill could send workflow data to a remote host; (4) review the workflow.json contents to ensure no sensitive local paths are exposed (it references a checkpoint filename). If you don't control the environment variables or cannot audit/patch the code, treat this skill as risky and avoid installing it.
功能分析
Type: OpenClaw Skill Name: comfyskill Version: 1.0.3 The skill is designed to interface with a local ComfyUI instance for image generation. While the code contains functional bugs—specifically referencing an undefined 'prompt' variable (likely intended to be 'args.prompt') and looking for 'text2image-1.json' instead of the provided 'workflow.json'—there is no evidence of malicious intent. The use of 'fs.readFileSync' and 'fetch' to a local endpoint (127.0.0.1:8188) is consistent with the stated purpose of the skill in index.js and SKILL.md.
能力评估
Purpose & Capability
The skill claims to send prompts to a local ComfyUI instance and includes a bundled workflow.json — that aligns with its purpose. However, the runtime code expects an environment variable WORKFLOW_PATH and a file named text2image-1.json (process.env.WORKFLOW_PATH + 'text2image-1.json'), while SKILL.md references workflow.json and lists no required env vars. This inconsistency means the code likely won't use the included workflow.json unless the environment is set up to match the code.
Instruction Scope
SKILL.md describes a simple generate_image(prompt) API and a default endpoint, but the actual index.js reads a local file (workflow) from an env path and POSTs workflow JSON to the endpoint. The SKILL.md does not declare that the agent must have WORKFLOW_PATH or that the code will read local files. Also the code uses an undefined variable prompt instead of the function argument, which is a logic bug and could cause runtime errors.
Install Mechanism
No install spec and only small code files are included. Nothing is downloaded or written during install — lowest install risk.
Credentials
The skill metadata declares no required environment variables, but index.js reads process.env.COMFYUI_ENDPOINT (with a sensible default) and process.env.WORKFLOW_PATH (no default) — the missing declaration for WORKFLOW_PATH is a mismatch. Also COMFYUI_ENDPOINT can be set to a non-local endpoint, which would cause the skill to send workflow/prompt data to a remote host if misconfigured.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence or modify other skills. It simply reads files and posts to an endpoint at runtime.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install comfyskill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /comfyskill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Bumped package version to 1.0.3 in package.json. - No functional or documentation changes in SKILL.md.
v1.0.2
- Minor update with no user-facing changes. - Internal code modified in index.js; SKILL.md unchanged.
v1.0.1
Initial release of comfyskill. - Added core files: index.js and package.json. - Provides the ability to generate images by sending prompts to a local ComfyUI instance. - Exposes the generate_image(prompt: string) command.
v1.0.0
comfyskill v1.0.0 - 初始发布版本。 - 实现将用户提示词发送到本地 ComfyUI 并生成图片。 - 提供 generate_image 指令,支持描述性文本输入。 - 支持配置 endpoint 和 workflow 参数。
元数据
Slug comfyskill
版本 1.0.3
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 4
常见问题

Comfyskill 是什么?

Send prompts to a local ComfyUI instance to generate images based on user descriptions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 332 次。

如何安装 Comfyskill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install comfyskill」即可一键安装,无需额外配置。

Comfyskill 是免费的吗?

是的,Comfyskill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Comfyskill 支持哪些平台?

Comfyskill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Comfyskill?

由 edward-hsiao(@edward-hsiao)开发并维护,当前版本 v1.0.3。

💬 留言讨论