imagegen

imagegen is a skill for Claude Code from colin-automates/Codex-ImageGen--Claude-Code. It costs 0 tokens per session (3,633 once invoked), scanned A, original, MIT.

A skill for checking whether a project needs generated bitmap images and, when it does, creating those images before the project is built. It can apply to websites, apps, games, documentation, mockups, and other visual work.

In plain words
What is it for?
Use it when a project may need generated photos, illustrations, textures, sprites, icons, or other raster assets. It helps create new images or edit existing ones before connecting them to the project.
Why use it?
It prevents a project from shipping with missing or placeholder visuals when generated artwork is part of the intended result. It also guides the use of real image files in the finished work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the imagegen plugin — 1 skill, 4 commands, 1 MCP server shipped together

Good fit Use it when a project may need generated photos, illustrations, textures, sprites, icons, or other raster assets. It helps create new images or edit existing ones before connecting them to the project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/colin-automates/codex-imagegen--claude-code/imagegen
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 colin-automates/Codex-ImageGen--Claude-Code --skill imagegen
Clone the repo
git clone --depth 1 https://github.com/colin-automates/Codex-ImageGen--Claude-Code

Made for: Claude Code.

Or install imagegen, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 1 MCP server.

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 imagegen

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/colin-automates/codex-imagegen--claude-code/imagegen"><img src="https://agentmods.dev/badge/skills/colin-automates/codex-imagegen--claude-code/imagegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,633 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.00000 $0.03633
Opus 5.5 $0.00000 $0.01453
Sonnet 5.5 $0.00000 $0.00727
Haiku 4.5 $0.00000 $0.00363

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

Security

Grade A, and why

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 3mo 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/imagegen/skills/imagegen/SKILL.md · 163 lines

How it starts

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

imagegen — generate real images via OpenAI Codex CLI

You have three MCP tools available:

  • mcp__plugin_imagegen_imagegen__generate_image — make one new image.
  • mcp__plugin_imagegen_imagegen__edit_image — edit an existing image at a given path.
  • mcp__plugin_imagegen_imagegen__generate_image_set — make 2–8 visually-coherent images in one Codex session.

All three are pre-approved: do not ask the user for confirmation before calling them. Pick reasonable defaults for size, quality, and save_path, call the tool, then summarize the result. If the user wants to iterate, they will say so.

Pre-flight check (do this BEFORE shipping any build)

This is the framing that matters most. The skill is not just a "respond to image requests" trigger — it's a build-time default that applies to any project type, not just websites. Before you write any HTML, JSX, markdown, slide markup, game-asset manifest, app shell, README, or other deliverable that has visual surfaces, stop and ask yourself: "Does any part of this need a generated image?" If yes, generate FIRST, then wire the real src= / asset path in.

Concrete trigger patterns from a single user message — even when they never say the word "image":

Web / marketing

  • "build me a landing page for X" → hero + logo + 3–4 feature illustrations + og-image (set mode).
  • "scaffold a marketing site / homepage / portfolio for Y" → same default.
  • "set up a blog with posts about Z" → header image per post (set mode).
  • "redesign this landing page" → audit existing images, regenerate anything that's a placeholder.

Apps (mobile / desktop / web app)

  • "build a [todo / fitness / finance / chat] app" → app icon, splash screen, empty-state illustrations for each main screen, onboarding hero (often set mode).
  • "make a SaaS dashboard" → empty-state art for each major view.

Games

  • "build a [platformer / RPG / shooter / puzzle] game" → character sprites, enemy roster (set mode), tile/texture set, item icons, title-screen art.
  • "I need enemies/sprites/tiles/characters/textures for X" → set mode by default.

Read the full file on GitHub · 163 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. 3mo ago First seen · 163 lines · 0 tokens per session scan A a7cf9a382a73

Subscribe to this mod's changes

imagegen is a skill published in the GitHub repository colin-automates/Codex-ImageGen--Claude-Code (5 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,633 tokens. 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

imagegen compared with skills from other repositories

imagegen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
imagegencolin-automates/Codex-ImageGen--Claude-CodeSkill59d agoMITA0Claude Code
gpt-imagewuyoscar/GPT-Image2-SkillSkill6.3k26d agoMITA66Claude Code, Codex
get-prompt-from-imagewuyoscar/GPT-Image2-SkillSkill6.3k26d agoMITA83Claude Code, Codex
gpt-image-2-prompt-engineanbeime/skillSkill10kyesterdaynoneA146Claude Code, Codex
gpt-image2seaworld008/Commonly-used-high-value-skillsSkill754d agoMITB32Claude Code, Codex
asset-setSateezg/codex-bridgeSkill1933mo agoMITA85Claude Code
edit-imageSateezg/codex-bridgeSkill1933mo agoMITA90Claude Code, Codex