generate

generate is a skill for Claude Code from KingGyuSuh/codex-image-in-cc. It costs 21 tokens per session (198 once invoked), scanned A, original, Apache-2.0.

A command for creating one or more images with Codex's built-in image-generation tool, optionally using reference images. Reference images guide the result but are not edited directly.

In plain words
What is it for?
Use it to generate images for software projects, with optional reference images supplied by file path.
Why use it?
It provides a documented way to request image generation from the command line and save the resulting files. This avoids having to remember the exact script or argument format.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the codex-image plugin — 3 skills shipped together

Good fit Use it to generate images for software projects, with optional reference images supplied by file path.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add KingGyuSuh/codex-image-in-cc
Claude Code
/plugin install codex-image

Made for: Claude Code.

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

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 generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/kinggyusuh/codex-image-in-cc/generate.svg)](https://agentmods.dev/skills/kinggyusuh/codex-image-in-cc/generate)
Your own site
<a href="https://agentmods.dev/skills/kinggyusuh/codex-image-in-cc/generate"><img src="https://agentmods.dev/badge/skills/kinggyusuh/codex-image-in-cc/generate.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 198 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.00021 $0.00198
Opus 5 $0.00010 $0.00099
Sonnet 5 $0.00004 $0.00040
Haiku 4.5 $0.00002 $0.00020

Measured 8d ago against content hash 7d4fb7a6c76c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

generate 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 8d 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.

skills/generate/SKILL.md · 21 lines

What it actually says

Generate Codex Image

Leading --ref <path>, --reference <path>, or --image <path> arguments are reference images for generation, not edit targets. Repeat the flag for multiple references (max 5); quote paths with spaces.

Run:

node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-image.mjs" generate "$ARGUMENTS"

Output rules:

  • Show the command stdout to the user verbatim — Codex prints one SAVED: <absolute path> line per saved image.
  • If the exit code is non-zero, show stderr and stop.
  • Do not run any additional image generation unless the user explicitly asks for another attempt.
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. 8d ago First seen · 21 lines · 21 tokens per session scan A 7d4fb7a6c76c

Subscribe to this mod's changes

generate is a skill published in the GitHub repository KingGyuSuh/codex-image-in-cc (27 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 198 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

render

Generate raster images (PNG, JPEG, WebP) from natural language prompts using Python rendering engines. Covers graphics, charts, layouts, and procedural art. Not for SVG output.

suxrobGM/rasterize · 38 tokens

imagegen

Pre-flight check across ANY project type — websites, landing pages, marketing sites, homepages, portfolios, web/mobile/desktop apps, games (sprites/textures/tiles/character art/enemy rosters/environment art), CLI tools, libraries/SDKs, READMEs, docs, tutorials, blog posts, slide decks, brand/identity work, mockups…

colin-automates/Codex-ImageGen--Claude-Code · 483 tokens

gpt-image

Use this skill whenever a user asks to generate, create, draw, render, or edit images with GPT Image 2 / gpt-image-2, text-to-image, reference-image editing, inpainting, posters, typography, Chinese text, UI mockups, diagrams, or gallery prompts. Analyze the user's prompt, search the bundled Reference Gallery/craft…

wuyoscar/GPT-Image2-Skill · 120 tokens

get-prompt-from-image

Analyze user-provided reference images and reverse-engineer high-fidelity AI image-generation prompts. Use when the user asks to recreate, imitate, reverse-engineer, or extract prompts from photographs, illustrations, 3D renders, products, characters, landscapes, typography, logos, posters, or other visual references.…

wuyoscar/GPT-Image2-Skill · 83 tokens

image

Use this Skill when a game plan needs a single-subject concept image, a character reference cleaned for image-to-3D, or a front-facing transparent T-pose image for downstream character reconstruction. T-pose generation is an image-generation and image-editing task; it is not a separate asset category.

OpenDCAI/GameFactory-3A · 0 tokens

sheet-music-publisher

Converts mastered audio to sheet music and creates printable songbooks. Use after mastering when the user wants sheet music or a songbook for their album.

bitwize-music-studio/claude-ai-music-skills · 36 tokens