← 返回 Skills 市场
g9pedro

OpenAI Image CLI

作者 G9Pedro · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1608
总下载
0
收藏
9
当前安装
1
版本数
在 OpenClaw 中安装
/install openai-image-cli
功能描述
Generate, edit, and manage images via OpenAI's GPT Image and DALL-E models.
安全使用建议
This skill appears to be a wrapper around a third-party npm CLI (@versatly/openai-image-cli) and legitimately needs an OPENAI_API_KEY. Before installing or using it: 1) Verify the npm package and GitHub repository (review code, recent commits, and maintainers) to ensure it does nothing unexpected. 2) Be aware the SKILL.md expects you to install a global npm package even though the registry lists no install spec—the agent will not auto-install it. 3) Use a scoped OpenAI key or billing limits if possible (don't expose a full-access key). 4) Avoid installing global packages with elevated privileges (sudo) unless you trust the source. 5) If you need stronger guarantees, request the skill author add an explicit install spec and correct the declared requirements (bins/envs) in the registry so the skill's metadata matches its runtime instructions.
功能分析
Type: OpenClaw Skill Name: openai-image-cli Version: 1.0.0 The skill bundle is classified as suspicious primarily due to the `npm install -g @versatly/openai-image-cli` command found in `SKILL.md`. While this is a standard method for installing CLI tools, it represents a significant supply chain risk as it executes arbitrary code from an external npm package with global system permissions. This constitutes a risky capability without clear malicious intent within the provided instructions. There is no evidence of prompt injection attempts against the agent, data exfiltration, or other directly malicious instructions in the analyzed files.
能力评估
Purpose & Capability
The SKILL.md describes a CLI that uses the OpenAI API and expects an OPENAI_API_KEY and an 'openai-image' binary — that is coherent with an image-generation CLI. However the registry metadata (requirements block shown earlier) lists no required env vars or binaries, while the SKILL.md metadata declares bins: ["openai-image"] and envs: ["OPENAI_API_KEY"]. This mismatch is an incoherence that could cause surprising behavior (the agent may assume no credentials are needed while the runtime expects them).
Instruction Scope
The instructions are focused on installing and using an external CLI, using local image files, stdin, and a local history/config. They do not direct the agent to exfiltrate arbitrary host files or read unrelated system state. Still, the SKILL.md instructs installation of a third-party npm CLI and expects the agent to invoke that binary — that expands runtime scope beyond an instruction-only skill and should be explicitly declared in the registry.
Install Mechanism
There is no install spec in the registry, but the SKILL.md tells users to run 'npm install -g @versatly/openai-image-cli'. Relying on a user-installed npm package is a legitimate design choice but the absence of an explicit install spec in the skill metadata is an incoherence. Installing a global npm package pulls code from the public registry (moderate risk); the package and its GitHub repo should be audited before installing.
Credentials
The only credential actually needed by the CLI is OPENAI_API_KEY, which is appropriate for this purpose. But the registry's declared required env vars is empty while SKILL.md expects OPENAI_API_KEY; this discrepancy could mislead users about credential needs. No other unrelated secrets are requested.
Persistence & Privilege
No elevated privileges are requested: always is not set, model invocation is not disabled, and there are no required config paths. The skill does not request permanent presence or extra privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openai-image-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openai-image-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Full support for GPT Image models, DALL-E, generate/edit/vary/batch commands
元数据
Slug openai-image-cli
版本 1.0.0
许可证
累计安装 9
当前安装数 9
历史版本数 1
常见问题

OpenAI Image CLI 是什么?

Generate, edit, and manage images via OpenAI's GPT Image and DALL-E models. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1608 次。

如何安装 OpenAI Image CLI?

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

OpenAI Image CLI 是免费的吗?

是的,OpenAI Image CLI 完全免费(开源免费),可自由下载、安装和使用。

OpenAI Image CLI 支持哪些平台?

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

谁开发了 OpenAI Image CLI?

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

💬 留言讨论