image-generation

image-generation is a skill for Claude Code, Codex from shinpr/mcp-image. It costs 52 tokens per session (1,053 once invoked), scanned A, original, MIT.

A guide for improving prompts used to create or edit images. It organizes details about the subject, setting, and visual style.

In plain words
What is it for?
Use it to write prompts for illustrations, photos, visual assets, and image edits across image-generation tools.
Why use it?
It helps turn vague image requests into clearer descriptions while preserving the user's intended details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write prompts for illustrations, photos, visual assets, and image edits across image-generation tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shinpr/mcp-image/image-generation
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 shinpr/mcp-image --skill image-generation
Clone the repo
git clone --depth 1 https://github.com/shinpr/mcp-image

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shinpr/mcp-image/image-generation"><img src="https://agentmods.dev/badge/skills/shinpr/mcp-image/image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,053 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.01053
Opus 5.5 $0.00021 $0.00421
Sonnet 5.5 $0.00010 $0.00211
Haiku 4.5 $0.00005 $0.00105

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

Security

Grade A, and why

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

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/image-generation/SKILL.md · 55 lines

How it starts

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

Image Generation Prompts

Turn a request, casual or detailed, into one prompt an image model follows as intended.

Decide in This Order

A later step never works against an earlier one.

  1. Purpose: what the image is for, taken from the stated use or the request itself (for example wrapping paper, an app icon, a picture-book page). When neither shows it, ask the user before writing the prompt. The purpose sets how the picture is made: its medium, composition, tone, and level of finish.
  2. The user's requirements: keep every element the user specified unchanged, and make their intent explicit where the wording leaves it implicit. This clarifies what was asked; it does not add to it. The image's copy comes only from what the user gave, and the prompt has no placeholder for other copy, because the image model draws whatever the prompt describes. When the purpose needs copy only the user has, such as the date and place on an event poster, ask for it.
  3. Completion: decide the presentation for the purpose.

By Kind of Image

Draw on the material for the kind of image the request fits best, and close the prompt with its constraints. Photographs and illustrations share the scene material:

  • Subject: physical characteristics (textures, materials, colors, scale); actions, poses, expressions if applicable; distinctive features
  • Context: setting, background, spatial relationships (foreground, midground, background); time of day, weather, atmospheric conditions; mood shown through visible cues (serene: soft diffused light, muted palette; ominous: low contrast, heavy shadows)
Kind of image Material Constraints
Photograph Scene material; lighting (direction, quality, color temperature, shadows) and camera choices (focal length, aperture, shooting angle) No text or watermark unless the request asks for it.
Illustration or artwork Scene material; style: medium and technique, referencing specific artists, movements, or styles No text or watermark unless the request asks for it.
Standalone asset (icon, logo, sticker, isolated object) The element and any lettering: shape, colors, distinctive features The element alone, with no scenery, mockup surface, or watermark; lettering is only the quoted copy.
App or web interface screen Layout, components, content, color scheme, typography The screen itself, filling the frame edge to edge; a device, hands, or surroundings appear only when the request asks for a device mockup.
Poster, banner, thumbnail, or other graphic with text Layout, typography, imagery, color scheme The quoted copy is the only text: each piece exactly as written, once. No other text, logos, or watermarks.
Diagram or infographic The elements and relationships the request covers, with labels; layout and reading order, color coding, visual style Labels are the ones described, large enough to read; no extra decoration.
Pattern or texture Motif, density and arrangement, color palette, surface detail No text or watermark.

Read the full file on GitHub · 55 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. 1mo ago Changed · -83 lines · +9 tokens per session cc3b9ab6c76e
  2. 3mo ago First seen · 138 lines · 43 tokens per session scan A 43acbbc62107

Subscribe to this mod's changes

image-generation is a skill published in the GitHub repository shinpr/mcp-image (198 stars, last pushed 22d ago), licensed MIT. It adds 52 tokens to every session and 1,053 once invoked, about $0.0002 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.

Related

image-generation compared with skills from other repositories

image-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-generationshinpr/mcp-imageSkill19822d agoMITA52Claude Code, Codex
google-agents-cli-deploygoogle/agents-cliSkill6.5k3d agoApache-2.0A77Claude Code
google-agents-cli-publishgoogle/agents-cliSkill6.5k3d agoApache-2.0A61Claude Code
agents-cli-langchaingoogle/agents-cliSkill6.5k3d agoApache-2.0A76Claude Code
agents-cli-claudegoogle/agents-cliSkill6.5k3d agoApache-2.0A77Claude Code
google-agents-cli-workflowgoogle/agents-cliSkill6.5k3d agoApache-2.0A87Claude Code
google-agents-cli-scaffoldgoogle/agents-cliSkill6.5k3d agoApache-2.0A65Claude Code