image-generator

image-generator is a skill for Claude Code from korbinjoe/TeemAI. It costs 33 tokens per session (381 once invoked), scanned A, original, MIT.

An image-generation workflow that turns a written description into an image using the Gemini API. It also guides the prompt with details such as subject, style, lighting, quality, angle, and composition.

In plain words
What is it for?
Use it when you need to create an illustration, photograph-like image, or other visual asset from text.
Why use it?
It gives a structured way to turn a brief visual idea into a more specific generation request and saves the resulting image for inspection.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when you need to create an illustration, photograph-like image, or…

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/korbinjoe/teemai/image-generator.svg)](https://agentmods.dev/skills/korbinjoe/teemai/image-generator)
Your own site
<a href="https://agentmods.dev/skills/korbinjoe/teemai/image-generator"><img src="https://agentmods.dev/badge/skills/korbinjoe/teemai/image-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 381 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.00033 $0.00381
Opus 5 $0.00016 $0.00191
Sonnet 5 $0.00007 $0.00076
Haiku 4.5 $0.00003 $0.00038

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

Security

Grade A, and why

image-generator 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate-image.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

ai-assets/skills/image-generator/SKILL.md · 52 lines

What it actually says

AI Image Generation

Calls Gemini API via the scripts/generate-image.sh script to generate images.

Usage

bash {SKILL_DIR}/scripts/generate-image.sh "<English prompt>"

The script will:

  1. Automatically obtain Gemini API Key from teemai-server (via TEEMAI_TOKEN env var)
  2. Call Gemini generateContent API
  3. Save the generated image to ~/.teemai/images/ directory
  4. Output image path marker [generated_image:<path>]

After generation, use the Read tool to view the image and verify the result.

Prompt Optimization Principles

User descriptions are often brief — supplement necessary details like a professional photographer/artist:

  • Subject description (subject & composition)
  • Style specification (photorealistic / anime / watercolor / oil painting / digital art, etc.)
  • Lighting and atmosphere (lighting, mood, atmosphere)
  • Quality requirements (high detail, 4K, professional)
  • Angle and composition (close-up, wide shot, bird's eye view, etc.)

Example

User says "draw a cat":

bash {SKILL_DIR}/scripts/generate-image.sh "A fluffy orange tabby cat lounging on a sunlit windowsill, soft bokeh background with indoor plants, warm golden hour lighting, photorealistic, high detail"

Notes

  • Each call generates one image only
  • Generation takes approximately 10-30 seconds
  • English prompts produce the best results
  • No NSFW, violent, or inappropriate content
  • On failure, analyze the reason and suggest prompt modifications
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 52 lines · 33 tokens per session scan A 684e7a4a923f

Subscribe to this mod's changes

image-generator is a skill published in the GitHub repository korbinjoe/TeemAI (2 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 381 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

hermesoffice-decks

Produce presentations in HermesOffice Slides — the plandeck/generatedeck pipeline, native element editing, and the templates/decks style specs (modern, elegant, professional, keynote-speaker, minimal, tech-dark, investor-pitch, workshop). Load for any request that creates or restyles a deck.

criptogus/HermesOffice · 68 tokens

podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/deer-flow · 38 tokens

nano-banana-pro-openrouter

Deterministic OpenRouter image generation adapter for Nano Banana Pro / Gemini image models. Use as skillexec when a meta-skill needs local image files and structured IMAGEREADY records without spawning an LLM agent.

opensquilla/opensquilla · 49 tokens

imagegen

Generate original images, artwork, product visuals, diagrams, or other raster assets with the desktop's configured image provider. Use whenever the user asks to create or generate an image.

NanmiCoder/cc-haha · 38 tokens

voice-clone-lab

A consent-controlled tool for creating a reusable synthetic voice from a local speaker recording.

opensquilla/opensquilla · 52 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

netease-youdao/LobsterAI · 59 tokens