← ClaudeAtlas

codex-image-genlisted

Delegate raster / AI image asset generation to OpenAI Codex's built-in image_gen tool via the `mcp__codex__codex` tool, then place the results into a specified project directory. Use whenever a task needs a generated bitmap image written to disk — photos, illustrations, hero images, OG/OGP images, banners, product mockups, textures, sprites — e.g. building a site and needing hero/OGP/feature images in public/, or any request to "generate an image" / "画像を生成" / "画像を作成". The built-in path needs NO OPENAI_API_KEY. Not for SVG/vector/icon-set work that is better produced directly in code (use frontend patterns instead).
sardonyx0827/dotfiles · ★ 0 · AI & Automation · score 72
Install: claude install-skill sardonyx0827/dotfiles
# Codex Image Generation Skill **Purpose**: Produce bitmap image assets (photos, illustrations, hero images, OG images, mockups, textures, sprites) by delegating to OpenAI Codex's **built-in `image_gen` tool**, run through the `mcp__codex__codex` tool, and land the finished files in a caller-specified directory. **Division of labor**: - **Claude = art director** — decides which assets are needed and writes a precise spec (filename, purpose, dimensions, style, destination). Claude does NOT generate pixels. - **Codex = generator** — runs `image_gen` (no API key), saves outputs, moves them to the destination, and reports the final paths. Codex's `image_gen` lives in its system skill `~/.codex/skills/.system/imagegen/SKILL.md`. The **built-in tool mode is preferred and requires no `OPENAI_API_KEY`** (proven working under `sandbox: workspace-write`). A CLI fallback (`scripts/image_gen.py`) exists but needs `OPENAI_API_KEY` and is only for true native transparency — see Transparency below. ## When to use - A site/app build needs generated images placed on disk (e.g. `public/hero.png`, `og-image.png`) - The user asks to "generate / create an image", "画像���生成/作成して", a photo, illustration, banner, mockup, texture, or sprite as a real bitmap file - Multiple visual variants or a batch of distinct assets are needed ## When NOT to use - Icons, logos, simple shapes, diagrams, or wireframes better produced as **SVG / HTML / CSS / canvas** in code — do that directly (frontend