codex-image

codex-image is a skill for Claude Code, Codex from YoungjaeDev/my-claude-plugins. It costs 110 tokens per session (4,193 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 4,193 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.04193
Opus 5.5 $0.00044 $0.01677
Sonnet 5.5 $0.00022 $0.00839
Haiku 4.5 $0.00011 $0.00419

Measured today against content hash bc0a4e8b7ffb, 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 today.

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 · 200 lines

How it starts

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

Codex Image

Generate or edit raster images by asking Codex CLI to use its built-in image generation tool. This skill is a Claude Code bridge: 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. Inside Codex it would summon the host it is bridging to, and its confirmation gates have no tool to ask through; a Codex session uses the built-in imagegen skill directly instead.

Defaults

  • Generation needs explicit grounding: a direct user request, or a task spec that names codex-image as the image path. Without that grounding, or when scope/count is ambiguous, ask before generating, because image generation has cost and side effects.
  • Default output directory: assets/generated/codex-image/ under the project root.
  • Default size: auto. Default quality: auto. Default count: 1.
  • Keep generated filenames unique and non-destructive: codex-image-YYYYMMDD-HHMMSS[-N].png.
  • Every codex exec turn is ephemeral. Nothing from a previous turn — prompt, attachment, or output — exists in the next one unless it is passed again.

Argument Handling

Invocation arguments:

$ARGUMENTS

Parse the invocation arguments manually:

  • --size: auto or WIDTHxHEIGHT.
  • --quality: low, medium, high, or auto.
  • --out: output directory. Resolve relative paths from the project root.
  • -n: the same prompt rendered N times. Use 1 through 4 without extra confirmation; ask before generating more.
  • --variants: N materially different images from one brief. See Variants. Cap 4.
  • --verbatim: pass the prompt through to Codex untouched. See Prompt Quality.
  • --edit: local image path to use as the base to edit; the prompt describes the change. The output is always a new file in the output directory; the input is never overwritten.
  • --ref: local image path to attach as a style/character reference while generating an image whose subject/scene is otherwise new. --edit and --ref are mutually exclusive; if both are given, ask which one is meant.
  • --model: Codex model id, passed through as codex exec -m <id>. Omit to use Codex's own default model: that auto-tracks the latest model, so no model pin is maintained here. The value is passed through unvalidated against the built-in image tool, which does not document a model parameter — a model id meant for the API fallback may simply be ignored.
  • --reasoning: reasoning effort, passed through as -c model_reasoning_effort="<effort>". The accepted levels depend on the model and change with Codex releases; read them from codex debug models (the model's supported_reasoning_levels). Explicit opt-in only: image generation barely benefits from reasoning effort.
  • --sandbox: Codex sandbox mode: read-only, workspace-write (default), or danger-full-access. Escalate only on explicit request. Pass --dangerously-bypass-approvals-and-sandbox only when the user explicitly asks.
  • Remaining text is the image prompt. If it is missing, ask for one concise image prompt.

Read the full file on GitHub · 200 lines

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. today Changed bc0a4e8b7ffb
  2. 11d ago Changed 87c24c7c33c4
  3. 1mo ago Changed · +25 lines · +12 tokens per session 83213c34803f
  4. 1mo ago Changed 6e6bbbf548bd
  5. 1mo 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 yesterday), licensed MIT. It adds 110 tokens to every session and 4,193 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

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens