codex-imagegen
Skill22 starsChanged 10 days agoMITView on GitHub
Create and refine raster image files (PNG) from Claude Code using the user's Codex subscription. Handles short creative interviews, distinct visual directions, reference-based edits, style-matched asset sets, and verified transparent PNGs. Use whenever the user wants a new or changed bitmap image, such as hero art, product photos, illustrations, posters, app icons, or UI assets; also for imagegen, GPT Image, 이미지 생성, 이미지 시안, 앱 아이콘, 에셋, 이미지 수정, 투명 배경, 画像生成, 生成图片. Not for image analysis, SVG/vector or code-drawn graphics, animation, or code that calls an image API.
15 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- lothlorienblade/agent-skillstheir own version, first seen Nov 8, 2026
- github774/roblox-claude-skillsedited, first seen Nov 8, 2026
- hyperb1iss/hyperskillstheir own version, first seen Nov 1, 2026
- BlingtronDev/codex-imagegentheir own version, first seen Oct 25, 2026
- evelan-de/claude-code-pluginstheir own version, first seen Oct 17, 2026
- rancheng/my_claude_skillstheir own version, first seen Oct 17, 2026
Used with
Projects with it also use orchestrate and implement.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
varun29ankuSSkillorchestrate
This skill should be used when the user asks to 'orchestrate a task', 'break down work into parallel agents', 'coordinate subtasks', 'run agents in parallel', or mentions 'multi-agent'. Decomposes complex tasks into tracked subtasks, dispatches parallel subagents, and coordinates until completion.
Also in 3 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- github774/roblox-claude-skills★ 163% same
Wrote their own version · 14
- gongnyang/codex-fleet★ 46same name
- hyperb1iss/hyperskills★ 36same name
- nathanonn/agent-skills★ 22same name
- mgiovani/cc-arsenal★ 8same name
- evelan-de/claude-code-plugins★ 3same name
- luminary19/atelier★ 2same name
- Vallykrie/swarmGPT★ 2same name
- BlingtronDev/codex-imagegen★ 1same name
- mizumotok/agent-skills★ 1same name
- mrgenkko/claude-skills★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Do not load every reference, repository documentation, or launcher source.
- Distinctive: line 30
Use the user's language. Specify intended use, subject, medium, framing, light, palette, and constraints only where they affect this image.
- Distinctive: line 53
Write a UTF-8 brief using the host's file-write tool, then start in the background:
- Distinctive: line 62
Do not poll repeatedly or claim completion while queued/running.
- Very specific: line 78
Keep the final brief as output/imagegen/<purpose>/<image-name>.md, even when the PNG goes elsewhere.
- Distinctive: line 82
Check intent, composition, literal text, anatomy/product geometry, preserved details, and edges.
- Very specific: line 85
If transparency is requested, describe only the isolated subject and say "transparent background" (the relay then sets the tool's …
- Very specific: line 93
If the subject must be fully solid (alpha is often 250–254), write a copy with scripts/solidify_png_alpha.py <PNG> <OUT.png>.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Imagegen
Claude directs and reviews; Codex only generates. Use the user's Codex subscription;
never use a separately billed image API. Requires Python 3.9+, macOS/Linux, and
logged-in Codex CLI 0.164.0+ (codex login). Resolve <SKILL_DIR> from this file.
Route by intent
| Request | Action | Read only if needed |
| Clear request / “just make it” | Generate one image immediately | No extra reference |
| Unclear direction / “interview me” | Ask 1–3 consequential questions together | interview.md |
| “Options”, “시안”, multiple directions | Default to 3 distinct candidates if count is unspecified | directions.md |
| Change an existing image | Inspect it, state change + preserve list, attach it | editing.md |
| A set that must match (icons, UI assets, series) | Settle the style on one sample, then reuse a style lock | prompting-guide.md |
| Styled art, exact text, photography | Add only the relevant craft details | prompting-guide.md |
| Model question or execution failure | Run scripts/codex_status.py (no model call), then explain or fix | cli-reference.md |
Do not load every reference, repository documentation, or launcher source. Reuse
answers and relevant project style facts already in context. Read DESIGN.md only
when matching this project's style. Do not run Codex to interview, plan, or judge.
Make the brief
Use the user's language. Specify intended use, subject, medium, framing, light, palette, and constraints only where they affect this image. Preserve detailed user direction; omit irrelevant fields. For styled or illustrated images, set value contrast, palette roles, and one focal subject first (prompting-guide.md). Aim for 80–180 words for a normal image, shorter for a local edit; exact copy and necessary preservation rules take priority.
Asset: website hero for a notes app, landscape 16:9, one image
Request: an open notebook and a few index cards on a clean desk
Look: editorial product photograph; soft window light from the left;
matte paper texture, natural shadows; warm ivory and ink-blue palette
Composition: subject in the right third; quiet empty left half for page copy
Constraints: no readable writing, logos, watermark, border, or extra objectsQuote exact text with its placement and one occurrence. For references add
Image 1: base to edit; Image 2: material reference only in attachment order.
Send only this final brief and necessary images to Codex, never the conversation,
interview answers, research, this skill, or a whole design document.
Generate and inspect
Write a UTF-8 brief using the host's file-write tool, then start in the background:
python3 "<SKILL_DIR>/scripts/image_project.py" --prompt-file "<BRIEF>" --out-dir "<NEW_DIR>" --background
# Attach inputs with --image "<BASE.png>" (repeat in reference order).This returns a job directory immediately. Continue independent requested work;
check later with image_project.py --out-dir "<DIR>" --status (no Codex call).
Do not poll repeatedly or claim completion while queued/running. If images are the
only work, wait with the host's background-task mechanism. Read completed paths from
the manifest, then inspect them. Multi-image plans: directions.md. For foreground
execution use run_codex_imagegen.py.
The default and recommended relay is gpt-6-luna with reasoning none, compact
instructions, no skills catalog, and unrelated tools disabled.
Both scripts accept --model and --reasoning-effort to change it; that is the
text relay, NOT an image model. Codex's server picks the image model, quality, and
size; no flag, brief wording, or output metadata selects or reveals it. Never call
an output a specific GPT Image version or variant; if asked, say Codex chose the
model server-side. Do not claim an API quality setting, native 4K, or pixel-perfect
preservation.
Copy only completed manifest images (or launcher-printed paths) to the user's
destination or output/imagegen/<purpose>/. Preserve originals; version edits.
Keep the final brief as output/imagegen/<purpose>/<image-name>.md, even when the
PNG goes elsewhere. Never write briefs into the user's
destination; asset folders such as public/ are often served. Skip confidential briefs.
Inspect the image using Claude's image-reading tool at full view and relevant detail.
Check intent, composition, literal text, anatomy/product geometry, preserved details,
and edges. A valid path is not a quality pass. State any visible unresolved defect.
If transparency is requested, describe only the isolated subject and say
"transparent background" (the relay then sets the tool's transparent_background
flag). A described backdrop, floor, or scene can override the flag. Then run:
python3 "<SKILL_DIR>/scripts/verify_png_alpha.py" "<PNG>" # add --require-transparent-corners for isolated cutoutsIf the subject must be fully solid (alpha is often 250–254), write a copy with
scripts/solidify_png_alpha.py <PNG> <OUT.png>. Do not mistake checkerboard pixels
for alpha. A cutout of an existing photo is re-rendered: compare labels, text, and
framing with the source (editing.md). Measure actual dimensions before export;
codex-cli 0.153.2–0.166.0 returned ≈1.57 MP, which is not a resolution guarantee.
Resize proportionally; crop/pad intentionally, never stretch. Label upscaling honestly.
Generate only the requested count. Allow at most one targeted repair per rejected image; do not automatically polish accepted work, retry timeouts, or rerun a whole set. User-requested revisions begin a new edit. Return previews, usable file paths, and one useful next step, such as “pick 2 and tell me what to change.”
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

