← Back to Skills Marketplace
Openai Image Gen 1.0.1
by
shi8103312
· GitHub ↗
· v1.0.0
· MIT-0
113
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install openai-image-gen-1-0-1
Description
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Usage Guidance
This skill appears to be a straightforward OpenAI Images batch generator, but there are two things to check before running: (1) metadata vs runtime mismatch — the SKILL.md and script require OPENAI_API_KEY but the skill metadata does not declare that; ensure you only provide a key you trust and consider a scoped/restricted key. (2) the instructions use a hard-coded path (~/Projects/agent-scripts/...) which may run a different script on your machine — instead, run the bundled script included with the skill or inspect the script file contents first. To be safe: review scripts/gen.py yourself, run python3 scripts/gen.py with --dry-run to print prompts without making API calls, run in an isolated directory, and avoid supplying your primary API key until you confirm behavior. If you plan to use a custom API base, verify that OPENAI_BASE_URL/OPENAI_API_BASE are set to a trusted endpoint.
Capability Analysis
Type: OpenClaw Skill
Name: openai-image-gen-1-0-1
Version: 1.0.0
The skill is a standard utility for batch-generating images using the OpenAI API and creating a local HTML gallery. The Python script (scripts/gen.py) uses standard libraries for network requests and file I/O, correctly handles API keys via environment variables, and contains no evidence of data exfiltration, malicious execution, or prompt injection. While it uses a non-standard default model name ('gpt-image-1.5'), this appears to be a configuration error rather than a security risk.
Capability Assessment
Purpose & Capability
The name/description align with the included Python script: it generates prompts and calls the OpenAI Images endpoint. However the registry metadata declares no required env vars/credentials while the SKILL.md and script require an OPENAI_API_KEY. That mismatch is unexpected and should be corrected.
Instruction Scope
SKILL.md tells users to run a hard-coded path (python3 ~/Projects/agent-scripts/skills/openai-image-gen/scripts/gen.py) and to open files under ~/Projects/tmp/..., which is inconsistent with the bundled script location. Running the documented absolute path could execute a different file on a user's machine. Otherwise, the script itself only reads an API key, optional base URL/env vars, writes images and an index.html, and makes network calls only to the API base — there is no obvious data exfiltration, but the path/usage inconsistencies are risky.
Install Mechanism
No install spec or external downloads; the code is bundled in the skill and will only be executed locally. This is the lower-risk install model.
Credentials
The script expects OPENAI_API_KEY (and optionally OPENAI_BASE_URL or OPENAI_API_BASE) but the skill metadata did not declare any required env vars or a primary credential. The API key requirement is appropriate for the task, but the omission in metadata is an incoherence and the optional API_BASE variables allow pointing to arbitrary endpoints — verify what base URL will be used before supplying secrets.
Persistence & Privilege
The skill does not request persistent/always-on inclusion and does not modify other skills or global configuration. It writes output files in the user's filesystem (~/Projects/tmp or ./tmp) which is expected for a generator.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openai-image-gen-1-0-1 - After installation, invoke the skill by name or use
/openai-image-gen-1-0-1 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of openai-image-gen skill.
- Batch-generates images using the OpenAI Images API with random or custom prompts.
- Outputs: PNG images, prompt–file mapping (prompts.json), and a thumbnail gallery (index.html).
- Supports flexible parameters, including image count, model, prompt, size, output directory, and quality via command line flags.
Metadata
Frequently Asked Questions
What is Openai Image Gen 1.0.1?
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery. It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.
How do I install Openai Image Gen 1.0.1?
Run "/install openai-image-gen-1-0-1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Openai Image Gen 1.0.1 free?
Yes, Openai Image Gen 1.0.1 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Openai Image Gen 1.0.1 support?
Openai Image Gen 1.0.1 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Openai Image Gen 1.0.1?
It is built and maintained by shi8103312 (@shi8103312); the current version is v1.0.0.
More Skills