← 返回 Skills 市场
snazar-faberlens

Openai Image Gen Hardened

作者 Faberlens · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
42
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openai-image-gen-hardened
功能描述
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
安全使用建议
This skill appears coherent and implements what it claims: it uses your OPENAI_API_KEY to call the OpenAI Images API, saves generated images and prompts locally, and creates a local index.html gallery. Before installing: (1) Only provide an OPENAI_API_KEY with appropriate scope/permissions and monitor billing — image generation can incur costs. (2) Review and keep the key secret (the script reads it from the environment; do not embed keys in files). (3) The script downloads image URLs returned by the API (expected) — ensure you trust the environment where you run it and avoid running on systems with sensitive data if you worry about downloaded content. (4) The package source is listed as unknown; if provenance matters, verify the publisher or inspect/approve the included files (scripts/gen.py and SAFETY.md) yourself before running. (5) Brew will install python if missing; consider running in an isolated environment (container or VM) if you want to minimize side effects. Overall, the skill is internally consistent and proportionate, but protect your API key and monitor usage.
功能分析
Type: OpenClaw Skill Name: openai-image-gen-hardened Version: 1.0.0 The skill is a legitimate tool for batch-generating images via the OpenAI API. The Python script `scripts/gen.py` implements standard API interaction, local file storage, and HTML gallery generation without any signs of data exfiltration, obfuscation, or malicious execution. The `SKILL.md` and `SAFETY.md` files contain defensive instructions (guardrails) intended to prevent the AI agent from leaking the `OPENAI_API_KEY` or accessing unauthorized directories, which aligns with the 'hardened' naming convention.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description, declared requirements (python3, OPENAI_API_KEY), SKILL.md instructions, and the included script all match: they call the OpenAI Images API, save images locally, and build an index.html gallery. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs running the included Python script and opening the local gallery. The script only reads the OPENAI_API_KEY env var, calls the OpenAI Images API, downloads returned image URLs, writes files into a timestamped local output directory, and writes prompts.json/index.html — all within the stated scope. The skill also includes explicit guardrails in SKILL.md/SAFETY.md to avoid exfiltration and key exposure.
Install Mechanism
Install spec is a single brew formula for python, which is proportionate and expected for a Python script. No downloads from untrusted URLs or archive extraction are present.
Credentials
Only OPENAI_API_KEY is required and declared as the primary credential. The script does not read other environment variables or require unrelated secrets. Requiring the OpenAI API key is appropriate for the described functionality.
Persistence & Privilege
The skill does not request always:true and will not force permanent inclusion. It does not modify other skills or system-wide configs. Its runtime activity is limited to local filesystem writes in a project-timestamped directory and outbound API/network calls to the OpenAI endpoint and any image URLs returned by that API.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openai-image-gen-hardened
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openai-image-gen-hardened 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
openai-image-gen-hardened v1.0.0 - Initial release of a batch OpenAI image generation script with a prompt sampler and local HTML gallery output. - Supports multiple OpenAI image models (dall-e-2, dall-e-3, gpt-image models) with model-specific parameters for size, quality, and format. - Command-line interface enables custom prompts, output directories, and advanced model parameters. - Outputs images, prompt-to-file mapping (prompts.json), and an `index.html` gallery for browsing results locally. - Security: Enforces guardrails to prevent external uploads, restrict file access to output directory, and keep `OPENAI_API_KEY` secret in all logs and outputs.
元数据
Slug openai-image-gen-hardened
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Openai Image Gen Hardened 是什么?

Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。

如何安装 Openai Image Gen Hardened?

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

Openai Image Gen Hardened 是免费的吗?

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

Openai Image Gen Hardened 支持哪些平台?

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

谁开发了 Openai Image Gen Hardened?

由 Faberlens(@snazar-faberlens)开发并维护,当前版本 v1.0.0。

💬 留言讨论