Design & Frontend ✓ OpenAI · Official image-generationimage-editingraster-graphicstransparent-backgroundproduct-mockupsui-mockupsprompt-engineering

Codex Image Generation

Generate, edit, and prepare practical raster image assets directly within a project workflow.

FollowSkills review · FSRS-2.0
Not recommended
56/ 100 5-point scale 2.8 / 5
Trust18 / 25 · 3.6/5

The documentation separates built-in and CLI modes, requires confirmation for the transparency downgrade, avoids overwriting files, handles API keys cautiously, and discusses network-approval risk. It does not fully disclose image/prompt data flows, retention or privacy behavior, built-in-tool external effects, or a general rollback mechanism, so 7 points are deducted.

Reliability8 / 20 · 2.0/5

The script and docs provide parameter validation, missing-dependency guidance, output-collision protection, batch limits, and some transient-error retries; the main path is plausible from static inspection. However, there is no committed test suite or execution evidence, and built-in-tool failure coverage and recovery remain limited, so the score is capped conservatively.

Adaptability10 / 15 · 3.3/5

Use cases, generate/edit distinctions, non-fit cases, trigger rules, and output handling are clearly described. Chinese-language support is not documented, and the CLI depends on OpenAI network services without evidence of mainland-China reachability or a practical alternative, so 5 points are deducted.

Convention11 / 15 · 3.7/5

The package has strong information architecture, progressive disclosure, dependency notes, parameters, examples, limitations, and cross-references. It lacks an intrinsic version, changelog, explicit maintenance owner, and update path; license and governance are mainly supplied as external metadata, so 4 points are deducted.

Effectiveness6 / 15 · 2.0/5

The skill covers generation, editing, batching, transparency workflows, and project-local artifact handling, with a clear core benefit. Static files do not verify output quality, text accuracy, or iteration outcomes, so limited manual review remains necessary and 1 point is deducted.

Verifiability3 / 10 · 1.5/5

The SKILL.md, reference documents, and CLI source provide auditable rules, parameters, and diagnostics, making some claims source-checkable. There is no committed test suite, CI coverage, or third-party execution record, so the static evidence supports only a low score.

Evidence confidence:Low Reviewed Jul 19, 2026 Reviewed revision 678157acaa81
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Image generation depends on an external model service; handling, retention, and privacy boundaries for prompts and input images are not explicitly documented.
  • CLI mode requires OPENAI_API_KEY, Python dependencies, and network access; mainland-China users may face service reachability or network-approval issues.
  • No tests or CI evidence cover the key paths, so output quality, text accuracy, transparency edges, and edit invariants require manual verification.
Review evidence [1][2][3][4][5][6][7][8][9]
See the full review method →

What it does & when to use it

This skill is designed for Codex image generation and editing, covering photos, illustrations, textures, sprites, mockups, and transparent-background assets. Its preferred path uses the built-in image_gen tool and does not require OPENAI_API_KEY; the CLI fallback requires an API key and additional dependencies. It supports new images, reference-guided generation, edits to visible images, and repeated asset variants. It is not intended for deterministic SVG, vector, HTML/CSS, canvas, or other code-native graphics work.

Generates raster images from prompts; edits images visible in the conversation; inspects a local edit target with view_image before built-in editing; handles simple transparency by generating a flat chroma-key background and running remove_chroma_key.py to produce PNG/WebP output with alpha; runs scripts/image_gen.py with generate, edit, or generate-batch in explicit CLI fallback mode; validates outputs and iterates with one targeted change at a time.

  1. A web or product team needs a landing-page hero, product shot, or marketing image.
  2. A game developer needs concept art, sprites, or other bitmap assets.
  3. A designer wants style or composition variants based on reference images.
  4. A user needs background replacement, object removal, or lighting and weather changes while preserving the rest of an image.
  5. A team needs UI mockups, wireframes, infographics, or scientific-educational visuals.

Pros & cons

Pros
  • Covers generation, editing, reference-based variants, batches, and simple transparent-background processing.
  • The preferred built-in mode does not require an API key.
  • Provides structured prompting, use-case taxonomy, edit invariants, and output-validation guidance.
  • Clearly separates raster generation from SVG, HTML/CSS, canvas, and other code-native workflows.
Limitations
  • It contains Codex-specific tools, paths, and environment conventions, so other clients require adaptation.
  • CLI fallback requires OPENAI_API_KEY, Python, the openai package, and Pillow.
  • Complex transparent subjects such as hair, smoke, glass, liquids, or reflective materials require confirmation before using the true-transparency fallback.
  • The source does not document a standalone skill installer, test coverage, or cross-platform validation.

How to install

The repository bundles this skill with 19 others at codex-rs/skills/src/assets/samples/imagegen/SKILL.md. The README documents Codex CLI installation but does not document a standalone installer for this skill. Following the repository instructions, install Codex CLI with curl -fsSL https://chatgpt.com/codex/install.sh | sh on macOS/Linux, or powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" on Windows. npm install -g @openai/codex and brew install --cask codex are also documented options.

How to use

In Codex, provide a concrete image request such as: “Generate a minimal ceramic coffee mug product image for a website hero, using clean product photography, with usable negative space for copy and no logo, text, or watermark.” Normal generation and editing use the built-in image_gen path. Choose scripts/image_gen.py only when explicitly requesting CLI/API/model control; the CLI fallback requires OPENAI_API_KEY.

FAQ

Does the default workflow require an OpenAI API key?
No. The preferred built-in image_gen mode does not require OPENAI_API_KEY; the CLI fallback does.
Can it produce a truly transparent background?
The default workflow generates a flat chroma-key background and removes it locally to create PNG/WebP output with alpha. Complex subjects or native transparency requirements may require confirmation before using the CLI gpt-image-1.5 fallback.
Is it suitable for SVG icons or extending an existing vector system?
No. The skill explicitly directs those tasks toward direct editing of existing SVG, vector, or code-native assets.

More skills from this repository

All from openai/codex

Dev & Engineering ✓ OpenAI · Official

PR Babysitter

Continuously track a GitHub pull request’s reviews, CI, and mergeability while handling safe fixes.

Dev & Engineering ✓ OpenAI · Official

Codex Issue Digest

Turns recent openai/codex bugs and enhancement requests into focused, owner-ready digests.

Dev & Engineering ✓ OpenAI · Official

Codex Plugin Builder

Scaffold, validate, and maintain standards-shaped plugins for Codex.

Dev & Engineering ✓ OpenAI · Official

Codex Skill Installer

Install curated or repository-hosted Codex skills without manually assembling their files and paths.

Dev & Engineering ✓ OpenAI · Official

OpenAI Official Docs Assistant

Provides current, official-source guidance for OpenAI products, APIs, Codex, and model migrations.

Dev & Engineering ✓ OpenAI · Official

Review Agent Code Review Skill

Find actionable regressions in code changes through a read-only, defect-first review.

Dev & Engineering ✓ OpenAI · Official

Codex Pull Request Editor

Professionally update one or more GitHub pull request titles and bodies around motivation, net changes, and verification.

Dev & Engineering ✓ OpenAI · Official

Remote Executor Integration Tests

Validate Codex integration behavior across local and remote execution environments.

Dev & Engineering ✓ OpenAI · Official

V8 Version Maintainer

Updates Codex’s pinned V8 versions and validates release-candidate and build-failure paths.

Dev & Engineering ✓ OpenAI · Official

Change Size Review Guide

Keep code changes reviewable by enforcing practical size limits and staging oversized work.

Dev & Engineering ✓ OpenAI · Official

Codex Path Types Guide

Choose Rust path types that preserve cross-platform URI handling and local filesystem behavior in Codex.

Dev & Engineering ✓ OpenAI · Official

Skill Creator Guide

A practical guide to designing, validating, and refining reusable Agent Skills.

Automation & Ops ✓ OpenAI · Official

CI Push Approval Assistant

Handle CI configuration push blocks and approval handoffs

Dev & Engineering ✓ OpenAI · Official

Code Review and Testing Guidance

Helps coding agents choose and structure tests for logic changes.

Dev & Engineering ✓ OpenAI · Official

Codex Bug Triage Assistant

Determines whether an openai/codex GitHub bug should be verified, clarified, or explained as expected behavior.

Dev & Engineering ✓ OpenAI · Official

Breaking Change Reviewer

Systematically detect compatibility risks across external integration surfaces before they reach users.

Dev & Engineering ✓ OpenAI · Official

Codex TUI Interactive Testing Guide

A focused workflow for launching Codex TUI and validating changes with trace logs.

Dev & Engineering ✓ OpenAI · Official

Context Governance

Keep coding-agent context incremental, cache-stable, and strictly bounded.

Dev & Engineering ✓ OpenAI · Official

Pull Request Code Review

Orchestrate a final pull request review and consolidate every actionable finding from specialized reviewers.

Related skills