image-gen

image-gen is a skill for Claude Code from gabrielmoreira/agent-skills-mirror. It costs 46 tokens per session (1,298 once invoked), scanned A, original, MIT.

An add-on for creating still images with several AI image-generation services.

In plain words
What is it for?
It supports image creation from descriptions, choosing among configured services, and using reference images when the selected service allows them.
Why use it?
It helps when a project needs a new image but the user does not want to make one manually.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It supports image creation from descriptions, choosing among configured services, and using reference images when the selected service allows them.

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

Made for: Claude Code.

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-gen

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gabrielmoreira/agent-skills-mirror/image-gen"><img src="https://agentmods.dev/badge/skills/gabrielmoreira/agent-skills-mirror/image-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,298 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.00046 $0.01298
Opus 5 $0.00023 $0.00649
Sonnet 5 $0.00009 $0.00260
Haiku 4.5 $0.00005 $0.00130

Measured 11d ago against content hash 06d46c9c38fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

image-gen 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 11d 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.

mirrors/repos/0xsline@OpenChatCut/src/agent/skills/image-gen/SKILL.md · 120 lines

How it starts

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

Image Gen

Generate AI images via submit_image (configured provider keys only). Prefer one clear still per request unless the user asked for variants.

Model Selection

Model Reference Strengths Max refs
gpt-image-2 references/gpt-image-2.md Best text rendering, strongest prompt adherence 16
nano-banana references/nano-banana.md Strongest reference-image fidelity 14
image-01 references/image-01.md MiniMax stills / live style; one subject reference via R2 1
grok-imagine references/grok-imagine.md xAI Grok Imagine; text-to-image, ≤4 outputs, 1K/2K 0
  • Default: gpt-image-2 when that key is on.
  • Reference-heavy → nano-banana.
  • User named MiniMax / only MiniMax image key on → image-01.
  • Respect capabilities: do not call a model whose vendor is not configured.

IMPORTANT: Before generating, READ the chosen model's reference.

Tool Params

Param Values Default
aspectRatio 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9 16:9
imageSize 512px, 1K, 2K, 4K (model-specific) 1K
width / height GPT Image: 512–3840, /16; MiniMax: 512–2048, /8
quality low, medium, high, auto (gpt-image-2 only) high
referenceAssetIds Array of project asset ids — backend resolves bytes server-side
name Short descriptive asset name shown in the library
count Number of images to generate (1–10; image-01 max 9) 1
promptOptimizer MiniMax image-01 only — prompt_optimizer false
seed MiniMax image-01 only
maskAssetId, background, moderation, inputFidelity GPT Image edit/output controls
outputFormat, outputCompression GPT Image PNG/JPEG/WebP controls PNG

Read the full file on GitHub · 120 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. 11d ago First seen · 120 lines · 46 tokens per session scan A 06d46c9c38fb

Subscribe to this mod's changes

image-gen is a skill published in the GitHub repository gabrielmoreira/agent-skills-mirror (17 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,298 once invoked, about $0.0002 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

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens