← 返回 Skills 市场
henrybao91

Image Generator

作者 Hongz · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
381
总下载
2
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install zhipu-image-generator
功能描述
Generate images via BigModel APIs and send them as chat images (e.g. Feishu). Invoke when user asks to create a single picture with specific style/size.
安全使用建议
This skill appears to implement the advertised image-generation behavior, but review before enabling: 1) Set ZHIPU_API_KEY explicitly in the agent/tool config rather than relying on the script's undocumented TOOLS.md search — the script will try to read TOOLS.md files in parent/workspace locations which could expose local secrets. 2) Be aware the script expects the requests Python package; ensure the runtime has it. 3) There's a minor bug (missing import re) which will cause the fallback file-read code to fail; that reduces risk of hidden key extraction but also indicates the code was not fully reviewed. 4) If you will run this in a production environment, inspect any TOOLS.md files in your workspace for sensitive data or remove that fallback behavior. 5) If you need greater assurance, ask the publisher for source provenance or a homepage and request they remove or document the TOOLS.md fallback. If you are uncomfortable with the undocumented file access, do not install or run the skill until it's fixed/documented.
功能分析
Type: OpenClaw Skill Name: zhipu-image-generator Version: 1.0.0 The skill bundle is a functional tool for generating images via the Zhipu/BigModel API. The Python script (scripts/generate.py) correctly implements the API call to 'open.bigmodel.cn' and handles image downloads as described. While the script contains minor bugs (a missing 'import re' and an unexpanded tilde in a file path), there is no evidence of malicious intent, data exfiltration, or prompt injection attacks in the SKILL.md instructions.
能力评估
Purpose & Capability
Name/description match the implementation: the script calls https://open.bigmodel.cn/api/paas/v4/images/generations and requires ZHIPU_API_KEY. That credential is the only declared requirement and is appropriate for the described purpose. Minor mismatch: SKILL.md only documents using an environment variable, whereas the script includes an undocumented fallback that reads TOOLS.md files to find the API key.
Instruction Scope
SKILL.md instructs the agent to run scripts/generate.py and then parse stdout for the saved image path — which is consistent with the script output. However, the script also attempts to read TOOLS.md from multiple locations (including several parent directories) to extract ZHIPU_API_KEY if the env var is not set. That file-reading behavior is not declared in SKILL.md and could access unexpected local files containing secrets. Also note a coding bug: the script uses re.search but does not import the re module, so the fallback path will likely error if used.
Install Mechanism
This is an instruction-only skill with a bundled Python script and no install spec. That minimizes installer risk. The script uses the requests library but the skill does not declare or install Python or requests; ensure runtime has Python and requests available. No remote install downloads or obscure URLs are used.
Credentials
The only required env var declared is ZHIPU_API_KEY (appropriate). But the script additionally searches for ZHIPU_API_KEY inside TOOLS.md files in multiple locations (an undocumented credential fallback). Reading arbitrary TOOLS.md files increases the chance of accidental secret exposure and is not justified or declared in SKILL.md. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request permanent/always-on privileges (always:false). It writes generated images to disk (workspace paths) and prints the saved path for the agent to attach — this is expected and limited in scope. The skill does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install zhipu-image-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /zhipu-image-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Generate images via BigModel APIs and send them as chat images (e.g. Feishu). Invoke when user asks to create a single picture with specific style/size.(智谱免费API生成图像)
元数据
Slug zhipu-image-generator
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Image Generator 是什么?

Generate images via BigModel APIs and send them as chat images (e.g. Feishu). Invoke when user asks to create a single picture with specific style/size. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 381 次。

如何安装 Image Generator?

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

Image Generator 是免费的吗?

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

Image Generator 支持哪些平台?

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

谁开发了 Image Generator?

由 Hongz(@henrybao91)开发并维护,当前版本 v1.0.0。

💬 留言讨论