codex-imagegen

codex-imagegen is a skill for Claude Code, Codex from JunSeo99/claude-skill-codex-imagegen. It costs 88 tokens per session (1,191 once invoked), scanned A, original, MIT.

A Codex skill for creating or editing raster images—bitmap files such as PNG, JPEG, or WebP—using an image-generation model.

In plain words
What is it for?
Generating icons, banners, illustrations, diagrams, hero artwork, social-preview images, and transparent cutouts, then saving and checking the result.
Why use it?
It helps developers produce visual assets when writing HTML, CSS, or vector code would not provide the needed image.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Generating icons, banners, illustrations, diagrams, hero artwork, social-preview images, and transparent cutouts, then saving and checking the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/junseo99/claude-skill-codex-imagegen/skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JunSeo99/claude-skill-codex-imagegen --skill skill
Clone the repo
git clone --depth 1 https://github.com/JunSeo99/claude-skill-codex-imagegen

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-imagegen

README.md
[![agentmods](https://agentmods.dev/badge/skills/junseo99/claude-skill-codex-imagegen/skill/github.svg)](https://agentmods.dev/skills/junseo99/claude-skill-codex-imagegen/skill)
Your own site
<a href="https://agentmods.dev/skills/junseo99/claude-skill-codex-imagegen/skill"><img src="https://agentmods.dev/badge/skills/junseo99/claude-skill-codex-imagegen/skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-imagegen

Your own site · 80×15
<a href="https://agentmods.dev/skills/junseo99/claude-skill-codex-imagegen/skill"><img src="https://agentmods.dev/badge/skills/junseo99/claude-skill-codex-imagegen/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.01191
Opus 5.5 $0.00035 $0.00476
Sonnet 5.5 $0.00018 $0.00238
Haiku 4.5 $0.00009 $0.00119

Measured 1mo ago against content hash 7a9d39131390, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-imagegen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/image_project.py, scripts/run_codex_imagegen.py, scripts/verify_png_alpha.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.153.4+ (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
Exact text, photography, complex composition Add only the relevant craft details prompting-guide.md
Model question or execution failure Explain verified capability or fix the failure 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. Aim for 80–180 words for a normal image, shorter for a local edit; exact copy and necessary preservation rules take priority.

$imagegen
Asset: website hero, landscape 16:9, one image
Request: a handmade terracotta cup on pale limestone
Look: editorial product photograph; soft window light from the left;
matte glaze, natural surface imperfections; warm ivory and rust palette
Composition: cup in the right third; quiet empty left half for page copy
Constraints: no text, watermark, border, or extra objects

Read the full file on GitHub · 94 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -139 lines · -68 tokens per session scan B → A 7a9d39131390
  2. 1mo ago Changed · +21 lines 7d2f98d346e4
  3. 1mo ago First seen · 212 lines · 156 tokens per session scan B 76f50cef9dc5

Subscribe to this mod's changes

codex-imagegen is a skill published in the GitHub repository JunSeo99/claude-skill-codex-imagegen (15 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 1,191 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.