Agent skill
openai-image-gen
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Install this agent skill to your Project
npx add-skill https://github.com/Nsttt/agents/tree/main/skills/openai-image-gen
SKILL.md
OpenAI Image Gen
Generate a handful of “random but structured” prompts and render them via OpenAI Images API.
Setup
- Needs env:
OPENAI_API_KEY
Run
From any directory (outputs to ~/tmp/... when present; else ./tmp/...):
python3 ~/git/agents/skills/openai-image-gen/scripts/gen.py
open ~/tmp/openai-image-gen-*/index.html
Useful flags:
python3 ~/git/agents/skills/openai-image-gen/scripts/gen.py --count 16 --model gpt-image-1.5
python3 ~/git/agents/skills/openai-image-gen/scripts/gen.py --prompt "ultra-detailed studio photo of a lobster astronaut" --count 4
python3 ~/git/agents/skills/openai-image-gen/scripts/gen.py --size 1536x1024 --quality high --out-dir ./out/images
Output
*.pngimagesprompts.json(prompt ↔ file mapping)index.html(thumbnail gallery)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
brave-search
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
nano-banana-pro
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
obsidian-daily-dump
Create one Obsidian note per Codex session in a dedicated vault folder and include a backlink to today's daily note. Use when asked to dump session context, log work done, or archive session knowledge in Obsidian.
instruments-profiling
Use when profiling native macOS or iOS apps with Instruments/xctrace. Covers correct binary selection, CLI arguments, exports, and common gotchas.
oracle
Use the @steipete/oracle CLI to bundle a prompt plus the right files and get a second-model review (API or browser) for debugging, refactors, design checks, or cross-validation.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Didn't find tool you were looking for?