imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.
Install
git clone https://github.com/openai/codex /tmp/codex && ln -s /tmp/codex/codex-rs/skills/src/assets/samples/imagegen ~/.claude/skills/imagegen
From README
Image Generation Skill Generates or edits images for the current project (for example website assets, game assets, UI mockups, product mockups, wireframes, logo design, photorealistic images, or infographics). Top-level modes and rules This skill has exactly two top-level modes: Default built-in tool mode (preferred): built-in imagegen tool for image generation, editing, and transparent-image requests. Does not require OPENAIAPIKEY. Fallback CLI mode: scripts/imagegen.py CLI. Use when the user explicitly asks for or confirms the CLI/API/model path. Requires OPENAIAPIKEY. Within CLI fallback, the CLI exposes three subcommands: generate edit generate-batch Rules: Use the built-in imagegen tool by default for normal image generation and editing requests. Do not switch to CLI fallback for ordinary quality, size, or file-path control. For transparent images, ask built-in imagegen for a transparent background and preserve the generated alpha.
More from this repo
skill-creator
Used to create or update a Codex skill with appropriately scoped instructions and any needed supporting resources.
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and...
code-review
Used to run a final code review on a pull request
