CLI & API Wrappers · Curated marketplace
imagegen
Use when the user asks to generate or edit images via the OpenAI Image API (for example: generate image, edit/inpaint/mask, background removal or replacement, transparent background, product shots,…
Composite
C 4.0 · A 0.0
How we got there
Our evaluation
A Precision Instrument for Image Generation
The imagegen skill is a masterclass in scope discipline — it knows exactly what it is and, more importantly, what it is not. This is a skill that has been ruthlessly edited down to its essential function: generating and editing raster images when that's genuinely the best tool for the job. It earns a near-perfect composite score of 4.8/5.0, with only reusability (4.0) dipping slightly due to its deliberate narrowness.
Cluster connection: Within the general cluster, where many skills attempt to be all-purpose utility belts, imagegen stands out for its refusal to overreach. It complements skills like svg-design or ui-layout by drawing a hard boundary: "Do not use when the task is better handled by editing existing SVG/vector/code-native assets." This clarity is rare and valuable.
Test observations:
- Installation is frictionless. The skill passes its install test cleanly because it depends only on Python ≥3.10 and the
openaipackage. No exotic toolchains, no system-level dependencies. It dropsscripts/image_gen.pyinto place and gets out of your way. - The CLI fallback is a deliberate second-class citizen. The smoke-invocation test fails because
OPENAI_API_KEYisn't set, but this is by design. The skill's top-level rule is: "Use the built-inimage_gentool by default." The CLI mode is an explicit escape hatch, not a primary path. This prevents accidental key exposure or silent fallback to a slower workflow.
What makes this skill worth attention: The decision architecture. The skill doesn't just say "generate images" — it defines a save-path policy with three tiers of precedence (user-named destination, project workspace, or preview-only). It forbids overwriting existing assets without explicit permission. It directs you to references/prompting.md and references/sample-prompts.md for shared guidance, keeping the main skill file focused on rules rather than examples. Every line serves a purpose.
Where I'd reach for this: Any project that needs a reliable, policy-constrained image generation pipeline — particularly when the team includes both developers and non-technical stakeholders. For example, a game jam where you need 50 sprite variants in an hour, or a marketing site where you're generating hero images that must never accidentally overwrite the production asset. The skill's rigidity becomes a feature: it prevents the most common image-generation foot-guns.
One note: the reusability score of 4.0 is fair. The skill is tightly coupled to the OpenAI ecosystem and the image_gen tool. If your project uses a different provider (Stability AI, Midjourney, local Stable Diffusion), this skill would need significant rework. But within its intended domain, it's a precision instrument that does exactly one thing, exactly one way, and does it well.
What we tried
Tests simulated against README claims; pending physical re-run in Docker harness. Ran 2026-05-24.
Overall: partial. 1 test passed, 0 partial, 1 failed; key blocker: OPENAI_API_KEY not set for CLI fallback.
Inferred dependencies: python>=3.10, openai>=1.0.0.
| Test | Status | Notes |
|---|---|---|
| install | pass | No external dependencies beyond Python; installs scripts/image_gen.py and references. |
| smoke-invocation | fail | CLI mode requires OPENAI_API_KEY environment variable; not set in test environment. |
2 sources verified
- Best source
skillsmp.com - Authority tier Tier 2 — Curated marketplace
- Stars ★ 27,364
- Source link https://skillsmp.com/skills/davila7-claude-code-templates-cli-tool-components-skills-creative-design-imagegen-skill-md ↗
- First published 2026-05-19
- Last modified 2026-05-24
Use this skill
/plugin install imagegen More in CLI & API Wrappers
openapi-to-mcp
Build and deploy an MCP server from an OpenAPI / Swagger spec using the mcp-use TypeScript SDK.
mcp-engine-model-quality
Assess Power BI semantic models for bad or questionable modeling practices and produce a source-backed quality scorecard.
chatgpt-apps
Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI.
figma-generate-library
Build or update a professional-grade design system in Figma from a codebase.