image-gen

image-gen is a skill for Claude Code from gabrielmoreira/agent-skills-mirror. It costs 49 tokens per session (1,386 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 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,386 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.00049 $0.01386
Opus 5.5 $0.00020 $0.00554
Sonnet 5.5 $0.00010 $0.00277
Haiku 4.5 $0.00005 $0.00139

Measured 1mo ago against content hash 4931cf15ce42, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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

How it starts

The opening of the file, as written. The whole thing — 122 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
fal + falModel references/fal.md Explicit Fal catalog; see tool schema for per-model limits Model-specific
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
  • If Fal.ai is selected or requested, use model: "fal" and the requested falModel or saved Fal default from capabilities. Ask if none is selected. Native-provider defaults and controls below do not apply to Fal.
  • 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 · 122 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 · +2 lines · +3 tokens per session 4931cf15ce42
  2. 1mo 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 (19 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 1,386 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

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens