Download for MacApple silicon, macOS 14+
Skill

imagegen

@openai Updated 2026-10-10

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

With your agent

Install OMGSkills skill "openai/codex:imagegen" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

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.