codex-imagegen
Skill1 starsChanged 21 days agoMITView on GitHub
Generate or edit raster images (photos, illustrations, mockups, sprites) with AI.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- lothlorienblade/agent-skillstheir own version, first seen Nov 8, 2026
- github774/roblox-claude-skillstheir own version, first seen Nov 8, 2026
- JunSeo99/claude-skill-codex-imagegentheir own version, first seen Nov 2, 2026
- hyperb1iss/hyperskillstheir own version, first seen Nov 1, 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 · 0
None found.
Wrote their own version · 15
- gongnyang/codex-fleet★ 46same name
- hyperb1iss/hyperskills★ 36same name
- JunSeo99/claude-skill-codex-imagegen★ 22same 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
- github774/roblox-claude-skills★ 1same name
- mizumotok/agent-skills★ 1same name
5 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
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
If you are Codex, do not use this skill: Use your built-in image_gen tool directly.
- Distinctive: line 14
Use it for a new image: a concept, illustration, photo-style shot, product or UI mockup, game asset, cover, or texture.
- Distinctive: line 15
Use it to edit an existing image: add, remove, or replace something, change the style or lighting, or cut out the background.
- Distinctive: line 16
Use it for a new image guided by reference images for style or composition.
- Very specific: line 18
Do not use it for diagrams, charts, flowcharts, simple icons, or anything that should stay editable as SVG/HTML/canvas/code.
- Very specific: line 44
After generating, look at the image if you can view images.
- Distinctive: line 49
Detailed requests: if the request is already specific, write it as a clean spec and don't invent extra elements.
- Distinctive: line 51
Text in the image: put the exact words in quotes, require verbatim rendering, and describe the font, size, color, and placement.
- Distinctive: line 54
Transparent cutouts: ask for "a genuinely transparent background, clean edges, no halo".
“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 Image Generation
scripts/codex-imagegen runs codex exec with Codex's built-in image_gen tool, which uses the user's ChatGPT login (no API key), and copies the result to a path you choose.
If you are Codex, do not use this skill. Use your built-in image_gen tool directly.
When to use
- Use it for a new image: a concept, illustration, photo-style shot, product or UI mockup, game asset, cover, or texture.
- Use it to edit an existing image: add, remove, or replace something, change the style or lighting, or cut out the background.
- Use it for a new image guided by reference images for style or composition.
Do not use it for diagrams, charts, flowcharts, simple icons, or anything that should stay editable as SVG/HTML/canvas/code. Build those directly.
Running it
The script is at scripts/codex-imagegen inside this skill's directory (the folder that contains this SKILL.md). Replace <skill-dir> below with that folder's absolute path.
<skill-dir>/scripts/codex-imagegen -o OUTPUT.png "PROMPT"
<skill-dir>/scripts/codex-imagegen -i input.png -o output-v2.png "Change only X; keep everything else unchanged"
<skill-dir>/scripts/codex-imagegen -i style.png -o new.png "Image 1 is a style reference. Draw ..."Flags:
-osets the output path (.png,.jpgor.jpeg).-iattaches an input image. You can repeat it.-foverwrites an existing output file.
On success the script prints the absolute path of the saved image. On failure it exits non-zero and prints Codex's reason.
- Each image takes 30–90 seconds. Give the shell command a timeout of at least 300 seconds.
- Each call makes exactly one image. For several images or variants, make one call per image. Independent calls can run in parallel, each with its own
-o. - Do not overwrite existing assets unless the user asked for that. Write a sibling such as
hero-v2.png. - Use
.pngfor transparent backgrounds. JPEG drops the alpha channel. - Save project assets inside the project, at the path where the project will use them.
After generating, look at the image if you can view images. If it misses the request, make one targeted follow-up. You can pass the result back with -i and describe only the change. Tell the user the saved path.
Writing the prompt
- Order: scene/backdrop → subject → key details → constraints → intended use, such as "website hero" or "game sprite".
- Detailed requests: if the request is already specific, write it as a clean spec and don't invent extra elements. If it is vague, add only composition, lighting, and style cues that help.
- Photorealism: say
photorealisticand name real texture, lens, and lighting. - Text in the image: put the exact words in quotes, require verbatim rendering, and describe the font, size, color, and placement.
- Edits: say "change only X; keep Y unchanged". Repeat the invariants on every iteration so the image does not drift.
- Several input images: give each one a role, for example "Image 1: edit target; Image 2: style reference".
- Transparent cutouts: ask for "a genuinely transparent background, clean edges, no halo".
- Size and shape: describe the aspect ratio in words, such as "wide 16:9 landscape" or "square". There is no size flag.
More examples are in Codex's own guide: ~/.codex/skills/.system/imagegen/references/prompting.md and sample-prompts.md.
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.

