imagen

imagen is a skill for Claude Code from ratnesh-maurya/cursor-claude-personas. It costs 26 tokens per session (547 once invoked), scanned A, original, MIT.

An AI image-generation tool that creates visual assets from written descriptions using Google Gemini. It is intended for interface placeholders, documentation illustrations, diagrams, icons, logos, and other project visuals.

In plain words
What is it for?
Use it to generate placeholder images, illustrations, diagrams, icons, logos, and other visual assets for interfaces and documentation.
Why use it?
It lets developers create needed images during website, application, or documentation work without sourcing every asset separately.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/generate_image.py "A futuristic city skyline at sunset".

Good fit Use it to generate placeholder images, illustrations, diagrams, icons, logos, and other visual assets for interfaces and documentation.

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/ratnesh-maurya/cursor-claude-personas
agentmods
npx agentmods add skills/ratnesh-maurya/cursor-claude-personas/imagen

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 imagen

README.md
[![agentmods](https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/imagen/github.svg)](https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/imagen)
Your own site
<a href="https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/imagen"><img src="https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/imagen/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 imagen

Your own site · 80×15
<a href="https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/imagen"><img src="https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/imagen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 547 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.00026 $0.00547
Opus 5.5 $0.00010 $0.00219
Sonnet 5.5 $0.00005 $0.00109
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

imagen 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 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.

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.

3d-frontend-developer/.claude/skills/imagen/SKILL.md · 79 lines

How it starts

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

Imagen - AI Image Generation Skill

Overview

This skill generates images using Google Gemini's image generation model (gemini-3-pro-image-preview). It enables seamless image creation during any Claude Code session - whether you're building frontend UIs, creating documentation, or need visual representations of concepts.

Cross-Platform: Works on Windows, macOS, and Linux.

When to Use This Skill

Automatically activate this skill when:

  • User requests image generation (e.g., "generate an image of...", "create a picture...")
  • Frontend development requires placeholder or actual images
  • Documentation needs illustrations or diagrams
  • Visualizing concepts, architectures, or ideas
  • Creating icons, logos, or UI assets
  • Any task where an AI-generated image would be helpful

How It Works

  1. Takes a text prompt describing the desired image
  2. Calls Google Gemini API with image generation configuration
  3. Saves the generated image to a specified location (defaults to current directory)
  4. Returns the file path for use in your project

Usage

Python (Cross-Platform - Recommended)

# Basic usage
python scripts/generate_image.py "A futuristic city skyline at sunset"

# With custom output path
python scripts/generate_image.py "A minimalist app icon for a music player" "./assets/icons/music-icon.png"

# With custom size
python scripts/generate_image.py --size 2K "High resolution landscape" "./wallpaper.png"

Requirements

  • GEMINI_API_KEY environment variable must be set
  • Python 3.6+ (uses standard library only, no pip install needed)

Output

Generated images are saved as PNG files. The script returns:

  • Success: Path to the generated image
  • Failure: Error message with details

Examples

Frontend Development

User: "I need a hero image for my landing page - something abstract and tech-focused"
-> Generates and saves image, provides path for use in HTML/CSS

Documentation

User: "Create a diagram showing microservices architecture"
-> Generates visual representation, ready for README or docs

Read the full file on GitHub · 79 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 First seen · 79 lines · 26 tokens per session scan A 2df938b0affb

Subscribe to this mod's changes

imagen is a skill published in the GitHub repository ratnesh-maurya/cursor-claude-personas (12 stars, last pushed 8mo ago), licensed MIT. It adds 26 tokens to every session and 547 once invoked, about $0.0001 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-09-03.

Related

imagen compared with skills from other repositories

imagen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
imagenratnesh-maurya/cursor-claude-personasSkill128mo agoMITA26Claude Code
work-with-creators-creator-vettinggooseworks-ai/goose-skillsSkill1.4k3d agoMITA110Claude Code, Codex
qa-knowledgegriddynamics/rosettaSkill382todayApache-2.0A32Claude Code, Codex
musicmarswaveai/skillsSkill83todayMITA109Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6k1mo agoMITA63Claude Code
x-use-reviewihuzaifashoukat/x-useSkill1872d agoMITA56Claude Code
nextauthclaude-dev-suite/claude-dev-suiteSkill51yesterdayMITA95Claude Code