image-generate

image-generate is a skill for Claude Code from prenats/claude-imagine. It costs 40 tokens per session (2,444 once invoked), scanned A, original, MIT.

An image-generation workflow that expands a short description into a detailed prompt and sends it to an image-generation service. It supports different image types, visual styles, moods, lighting, and compositions.

In plain words
What is it for?
Use it to create items such as hero images, banners, icons, product photos, avatars, logos, thumbnails, or backgrounds. You can specify the image type, style, output path, and other generation options.
Why use it?
It turns a brief visual request into a more specific generation instruction. This helps produce image assets for websites and other projects without writing the prompt from scratch.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

Good fit Use it to create items such as hero images, banners, icons, product photos, avatars, logos, thumbnails, or backgrounds. You can specify the image type, style, output path, and other generation options.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/prenats/claude-imagine/image-generate"><img src="https://agentmods.dev/badge/skills/prenats/claude-imagine/image-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,444 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.00040 $0.02444
Opus 5 $0.00020 $0.01222
Sonnet 5 $0.00008 $0.00489
Haiku 4.5 $0.00004 $0.00244

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

Security

Grade A, and why

image-generate 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 9d 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/claude-imagine/image-generate/SKILL.md · 223 lines

How it starts

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

/image-generate — AI-Powered Image Generation

Transform short descriptions into ultra-detailed, unique prompts, then generate real images via the image generation server.

When to Activate

  • User asks to generate, create, or make an image
  • User needs a hero image, banner, icon, product photo, avatar, logo, or thumbnail
  • Working on HTML with <img> tags needing real images
  • Building landing pages, blogs, e-commerce, portfolios, or dashboards
  • Any project where visuals would improve quality
  • User says "generate an image of..." or similar

Usage

/image-generate a cyberpunk cityscape at night
/image-generate a minimalist app icon --type ICON --style vector
/image-generate product photo of leather boots --type PRODUCT --model opus --seed 42
/image-generate hero image for a wellness brand --output images/hero.png

Argument Parsing

Parse $ARGUMENTS for:

  • Description — everything that is not a flag (required)
  • --type TYPE — ICON, THUMBNAIL, BACKGROUND, TEXTURE, AVATAR, CONTENT, BANNER, PRODUCT, LOGO, HERO, FEATURED. Default: infer.
  • --style STYLE — photorealistic, illustration, watercolor, oil_painting, digital_art, vector, pixel_art, sketch, 3d_render, anime, cinematic, minimalist, comic, vintage, abstract. Default: infer.
  • --mood MOOD — energetic, calm, dramatic, playful, mysterious, elegant, warm, cool, professional, whimsical, dark, bright. Default: infer.
  • --lighting LIGHTING — natural, studio, dramatic, soft, golden_hour, neon, backlit, rimlight, ambient, high_key, low_key, volumetric. Default: infer.
  • --composition COMP — centered, rule_of_thirds, symmetrical, diagonal, framing, leading_lines, close_up, wide_angle, birds_eye, low_angle, panoramic, negative_space. Default: infer.
  • --palette PALETTE — warm, cool, monochrome, pastel, vibrant, earth_tones, neon, dark. Default: infer.
  • --quality QUALITY — fast, standard, high. Default: infer from type.
  • --output PATH — output file path. Default: generated/<slugified-description>.png
  • --seed NUMBER — for reproducibility. Default: random.
  • --model MODEL — Claude model for prompt engineering: haiku, sonnet, opus. Default: current session.

Read the full file on GitHub · 223 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. 9d ago First seen · 223 lines · 40 tokens per session scan A a661229e8d85

Subscribe to this mod's changes

image-generate is a skill published in the GitHub repository prenats/claude-imagine (1 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 2,444 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-31.

Related

Other skills, from other repositories

videoagent-image-studio

Tired of juggling 8 API keys? This skill gives you one-command access to Midjourney, Flux, Ideogram, and more, with zero setup. Use when you want to generate any image without worrying about API keys.

pexoai/pexo-skills · 53 tokens

idea-generator

Brainstorm and rank iOS/macOS app ideas tailored to developer skills. Use when user says "what should I build", "give me app ideas", "I don't know what to build", "brainstorm app ideas", or "help me find an app idea".

rshankras/claude-code-apple-skills · 57 tokens

flux-3-product-ads

Use when building a finished product ad from FLUX 3 - shot design, voiceover, action-to-word sync, evidence-gated copy, deterministic assembly, and QC gates that catch clipped audio, floating products, off-model plates, and reports that claim a pass the build did not give.

black-forest-labs/skills · 66 tokens

milestone-celebration

Generates achievement celebration UI with confetti animations, badge unlocks, progress milestones, haptic feedback, and optional share-to-social. Use when user wants to celebrate achievements, show confetti, display milestone badges, or trigger rewards on key thresholds.

rshankras/claude-code-apple-skills · 57 tokens

share-card

Generates shareable card images from app content (achievements, stats, quotes) for social media sharing. Use when user wants to create share images, social cards, shareable content cards, or export app content as images with ShareLink integration.

rshankras/claude-code-apple-skills · 53 tokens

social-export

Generates infrastructure for exporting app content to social platforms (Instagram Stories, TikTok, Twitter/X) with platform-specific formatting, aspect ratios, and metadata. Use when user wants social media export, share to stories, or platform-specific sharing pipelines.

rshankras/claude-code-apple-skills · 52 tokens