image-generation

image-generation is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 172 tokens per session (3,768 once invoked), scanned A, original, Apache-2.0.

A workflow for creating PNG images from text descriptions or reference images through a local image-generation service. It submits a request, waits for the result, downloads the image, and returns its file path.

In plain words
What is it for?
Creating or editing artwork, illustrations, covers, and other images with chosen dimensions, quality, quantity, and optional reference images.
Why use it?
It handles the waiting and file-transfer steps needed to use the generation service without requiring image-processing libraries or manual polling.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/generate_cover.py --prompt "..." --size 1536x1024.

Good fit Creating or editing artwork, illustrations, covers, and other images with chosen dimensions, quality, quantity, and optional reference images.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/image-generation

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/morningstar202604/awesome-skillkit/image-generation/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/image-generation)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/image-generation"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/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/morningstar202604/awesome-skillkit/image-generation"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00172 $0.03768
Opus 5.5 $0.00069 $0.01507
Sonnet 5.5 $0.00034 $0.00754
Haiku 4.5 $0.00017 $0.00377

Measured 2mo ago against content hash 9fef7f6cc1e3, 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 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires curl and network access to the generation gateway endpoint.
site/skills/video/image-generation/SKILL.md · 217 lines

How it starts

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

Image Generation (Text-to-Image / Image-to-Image, incl. Platform Covers)

Drive the local generation gateway with curl: submit a task -> poll until done -> download the PNG -> hand the file path to the user. No Pillow/OpenCV needed for the core flow, no dependencies to install — the gateway handles rendering, you handle orchestration. For platform covers/banners you can either drive the curl flow directly, or use the bundled scripts/generate_cover.py wrapper, which validates dimensions, prints a dry-run plan first, and can emit a <1MB upload-ready JPG.

Domain Tacit Knowledge (What Makes a Good Generated Image)

1. Concrete nouns beat adjectives every time. "Water droplets on a frosted glass bottle with a citrus slice" produces a specific, high-quality image. "A beautiful refreshing drink" produces a generic stock-photo look. Swap every adjective for a concrete noun or detail before submitting.

2. State the style once, clearly, at the end. Don't stack style tags ("photorealistic, cinematic, 8k, ultra detailed, award-winning"). Pick one medium/style and state it clearly: "flat vector illustration, limited three-color palette" or "35mm film photograph, shallow depth of field". More style tags = more confusion, not more quality.

3. Chinese text in images is unreliable. Most image models render Latin alphabet well but produce garbled Chinese characters. If the final image needs Chinese text (cover titles, labels), generate a textless base image and add the text in post-production (Canva, Photoshop, or the platform's editor). Never ask the model to render Chinese characters.

4. Reference images lock style and subject. Providing 1-2 reference images (image-to-image mode) dramatically improves consistency for series work. Use a style reference to lock the visual tone, and a subject reference to keep character/product likeness consistent across a batch.

Input Checklist

Input Required Default Notes
scene description yes — What to draw; write it per the prompt formula below
size no 1024x1024 Any width/height, both multiples of 16; for a platform cover use the table below
quality no auto auto / high / medium / low
n no 1 Number of images to generate
reference_image_urls no — Up to 14 URLs; providing them switches to image-to-image mode
--jpg no off (wrapper only) also emit a <1MB JPG; requires Pillow

Read the full file on GitHub · 217 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. 2mo ago Changed · +87 lines · +65 tokens per session 9fef7f6cc1e3
  2. 2mo ago Changed · -5 lines 3aeac61e5081
  3. 3mo ago First seen · 135 lines · 107 tokens per session scan A 0ac7107e1308

Subscribe to this mod's changes

image-generation is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 172 tokens to every session and 3,768 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

image-generation compared with skills from other repositories

image-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-generationMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A172Claude Code, Codex
safe-refactorJuliusBrussee/cavemanSkill124ktodayApache-2.0A29Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
auditing-subgroup-fairnessmaziyarpanahi/openmedSkill5.9ktodayApache-2.0A148Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
infographic-template-updaterantvis/InfographicSkill7.2k1mo agoMITA43Claude Code
pulse-configureSnowflake-Labs/cocoplusSkill72923d agoMITA12Claude Code, Codex