codex-image

codex-image is a skill for Claude Code, Codex from YoungjaeDev/my-claude-plugins. It costs 110 tokens per session (2,350 once invoked), scanned A, original, MIT.

A Claude Code skill that asks the Codex command-line tool to create or edit bitmap images, such as PNG illustrations or photos. It saves the generated files in a project folder with unique names.

In plain words
What is it for?
Use it when a project needs a new raster image or an edited one, including requested size, quality, output folder, or several variations.
Why use it?
It lets image generation happen through Codex without requiring the user to manage an OpenAI API key or copy third-party code into the project.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also reads $CODEX_HOME. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Part of the codex-image plugin — 1 skill shipped together

Good fit Use it when a project needs a new raster image or an edited one, including requested size, quality, output folder, or several variations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/youngjaedev/my-claude-plugins/codex-image
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 YoungjaeDev/my-claude-plugins --skill codex-image
Clone the repo
git clone --depth 1 https://github.com/YoungjaeDev/my-claude-plugins

Made for: Claude Code, Codex.

Or install codex-image, the plugin that ships this one along with the rest of its 1 skill.

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-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/codex-image/github.svg)](https://agentmods.dev/skills/youngjaedev/my-claude-plugins/codex-image)
Your own site
<a href="https://agentmods.dev/skills/youngjaedev/my-claude-plugins/codex-image"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/codex-image/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-image

Your own site · 80×15
<a href="https://agentmods.dev/skills/youngjaedev/my-claude-plugins/codex-image"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/codex-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,350 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.00110 $0.02350
Opus 5.5 $0.00044 $0.00940
Sonnet 5.5 $0.00022 $0.00470
Haiku 4.5 $0.00011 $0.00235

Measured 24d ago against content hash e616ded56729, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-image 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 24d ago.

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.

plugins/codex-image/skills/codex-image/SKILL.md · 102 lines

How it starts

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

Codex Image

Generate or edit raster images, 1 to 4 per call without extra confirmation, by asking Codex CLI to use its built-in image generation tool. Do not call the OpenAI REST API, do not ask for an API key, and do not clone or run third-party skill code.

This bridge runs on Claude Code only; a Codex session uses its built-in imagegen skill directly. Every question to the user goes through AskUserQuestion.

Defaults

  • Grounding: generate only on a direct user request or a task spec that names codex-image as the image path. Otherwise, or when scope or count is ambiguous, ask first: generation has cost and side effects.
  • Output: assets/generated/codex-image/ under the project root, size auto, quality auto, count 1.
  • Filenames: unique and non-destructive, codex-image-YYYYMMDD-HHMMSS[-N].png. Never overwrite an existing file.
  • Ephemeral turns: nothing from a previous codex exec turn (prompt, attachment, output) exists in the next one. To revise a result, pass its output path as --edit and re-attach any --ref, and always report the absolute output path.

Argument Handling

Invocation arguments:

$ARGUMENTS

Parse them manually:

  • --size: auto or WIDTHxHEIGHT. --quality: low, medium, high or auto.
  • --out: output directory, relative paths resolved from the project root.
  • -n: the same prompt rendered N times. 1 to 4 need no confirmation; ask before more.
  • --variants: N materially different images from one brief, capped at 4. See Variants.
  • --verbatim: pass the prompt to Codex untouched. See Prompt Quality.
  • --edit: local image to edit; the prompt describes the change. The output is always a new file and the input is never overwritten.
  • --ref: local image attached as style or character reference for an otherwise new image. --edit and --ref are mutually exclusive; if both are given, ask which one is meant.
  • --model: passed through as codex exec -m <id>; omit it to use Codex's own default. --reasoning: passed as -c model_reasoning_effort="<effort>", explicit opt-in only.
  • --sandbox: read-only, workspace-write (default) or danger-full-access, escalated only on explicit request. Pass --dangerously-bypass-approvals-and-sandbox only when the user explicitly asks.
  • Prompt: the remaining text. If it is missing, ask for one concise image prompt.

Read the full file on GitHub · 102 lines

Files

What ships with it

2 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. 24d ago Changed · -98 lines e616ded56729
  2. 1mo ago Changed bc0a4e8b7ffb
  3. 1mo ago Changed 87c24c7c33c4
  4. 2mo ago Changed · +25 lines · +12 tokens per session 83213c34803f
  5. 2mo ago Changed 6e6bbbf548bd
  6. 3mo ago First seen · 175 lines · 98 tokens per session scan A 58a5c0aae4bb

Subscribe to this mod's changes

codex-image is a skill published in the GitHub repository YoungjaeDev/my-claude-plugins (2 stars, last pushed 2d ago), licensed MIT. It adds 110 tokens to every session and 2,350 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-31.

Related

codex-image compared with skills from other repositories

codex-image next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-imageYoungjaeDev/my-claude-pluginsSkill22d agoMITA110Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code