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 other visual asset from text.

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/github.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/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-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/korbinjoe/teemai/image-generator"><img src="https://agentmods.dev/badge/skills/korbinjoe/teemai/image-generator.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00013 $0.00152
Sonnet 5.5 $0.00007 $0.00076
Haiku 4.5 $0.00003 $0.00038

Measured 3mo ago against content hash 684e7a4a923f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 5mo ago), licensed MIT. It adds 33 tokens to every session and 381 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-08-31.

Related

image-generator compared with skills from other repositories

image-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-generatorkorbinjoe/TeemAISkill25mo agoMITA33Claude Code
librarianJetBrains/thinkrailSkill8.5ktodayApache-2.0A71Claude Code, Codex
making-thinkrail-extensionsJetBrains/thinkrailSkill8.5ktodayApache-2.0A103Claude Code, Codex
managing-mcp-serversJetBrains/thinkrailSkill8.5ktodayApache-2.0A62Claude Code, Codex
todosJetBrains/thinkrailSkill8.5ktodayApache-2.0A58Claude Code, Codex
asking-user-questionsJetBrains/thinkrailSkill8.5ktodayApache-2.0A43Claude Code, Codex
upgrading-core-dependenciesJetBrains/thinkrailSkill8.5ktodayApache-2.0A59Claude Code, Codex