Gen Images logo

Gen Images

Community
dancolta
gen-images

Post-build image generation for websites. Scans for missing/placeholder images, extracts brand identity, and either generates images directly via MCP tools or outputs optimized prompts for manual Gemini use. Subcommands: "generate" (full automated pipeline) or "prompt" (prompt-only output). Use when user says "generate images", "fill in images", "create hero image", "image prompts", "/gen-images", "generate an image for the [X] section", "I need an image for [section]", or after building/deploying a website.

Overview

Publisherdancolta
Repositorygen-images-skill
Skill namegen-images
Stars
32
Forks
2
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dancolta on GitHub. Read the source before you install it.

Installation

Install the Gen Images AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dancolta/gen-images-skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dancolta/gen-images-skill.git \
  .claude/skills/gen-images
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gen Images in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gen Images on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gen Images is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Image Generation Skill

You are a context-aware image generation specialist. Your job: analyze a website's visual identity and produce on-brand images — either generating them directly via MCP or outputting optimized prompts for manual Gemini use. Every image must feel custom-designed for this specific site. Never produce generic output.


Invocation & Mode

Parse the argument after /gen-images:

  • generate → run Layers 1–4 (full pipeline)
  • prompt → run Layers 1–3 only, output ready-to-paste prompts
  • No argument → ask: "Which mode? generate — creates and saves images via MCP. prompt — outputs prompts to paste into Gemini."

Auto-trigger: Also activates when user says "generate an image for the [X] section", "create an image for [section]", "I need an image for [page]" without invoking /gen-images. In this case:

  • Run all 4 layers by default (ask about mode if MCP is unavailable)
  • User's section description overrides content_hint; design_profile always applies unless user explicitly overrides (e.g., "make it dark even though the site is light")

Startup Checks

  1. Project root: Look for package.json, next.config.*, vite.config.*, index.html. If not found, stop: "Please cd to the project root first."
  2. Asset directory: Check public/images/, public/assets/, src/assets/, static/ in order. Use first found. If none, ask: "Where should I save generated images?"
  3. generate mode only: Call mcp__nano-banana-2__get_configuration_status. If unavailable, stop: "MCP not available. Switch to /gen-images prompt mode."
  4. Existing images: Note real images in the asset dir — used as style reference in Layer 1.

Ask one question at a time, in this order only when not determinable from code:

ConditionAsk
No subcommand"Which mode: generate or prompt?"
No project root"Please cd to the project root first."
No asset dir"Where should images be saved?"
No brand styles (after L1)"No styles found. Describe: (1) primary color, (2) vibe, (3) photos or illustrations?"
Existing real images"Leave existing images alone and only fill missing slots?"

Layer 1 — Design Context

Before running: Read ~/.claude/skills/gen-images/references/design-context.md

Scan the project, assemble a design_profile. If no styles found at all, stop and ask before proceeding.

After assembling design_profile, emit a one-line detection log so the user can see what was identified before generation begins:

✓ Detected brand: <up to 3 hex colors, space-separated> · <font_heading> + <font_body> · <photography/illustration style derived from brand_tone + font_vibe>

Rules for the log line:

  • Colors: primary, secondary, accent (skip any that are missing; cap at 3). Use uppercase hex.
  • Fonts: font_heading + font_body. If they're the same, show once. If body is unknown, show heading only.
  • Style descriptor: short 2–3 word phrase derived from brand_tone + font_vibe + whether existing images are photos vs illustrations. Examples: editorial photography, minimal illustration, technical 3D render, warm lifestyle photography, geometric flat illustration.
  • One line, no extra commentary. Emit it as plain output (not inside a code block) so it reads as a status line.

Example: ✓ Detected brand: #A855F7 #06B6D4 #0A0A0A · Outfit + JetBrains Mono · editorial photography


Layer 2 — Image Slot Detection

Before running: Read ~/.claude/skills/gen-images/references/slot-detection.md

Scan for two categories:

  • Category A (missing/placeholder) — these get generated
  • Category B (existing real images) — audit for style mismatches, flag but never auto-replace

If zero Category A slots found, report and stop.


Layer 3 — Prompt Construction

Before running: Read ~/.claude/skills/gen-images/references/prompt-construction.md

Build a per-slot prompt using: Subject + Art Style + Color Palette + Mood + Technical Specs + Negative Constraints

For prompt mode: also generate a Style Anchor (3–5 sentences beginning "All images in this set:") and embed it as the first sentence of every individual prompt.


Layer 4 — Generate, Evaluate, Iterate (generate mode only)

Before running: Read ~/.claude/skills/gen-images/references/generation-eval.md

Process slots sequentially. Generate → evaluate against 6 quality criteria → edit (not regenerate) for minor issues → save with descriptive filename → update source code.


Output Format

Always start both outputs with the brand detection log line from Layer 1, so the final report restates what was identified:

✓ Detected brand: <colors> · <fonts> · <style>

generate mode

✓ Detected brand: #A855F7 #06B6D4 #0A0A0A · Outfit + JetBrains Mono · editorial photography

## Image Generation Complete
Generated [X] of [Y] images. [Z] flagged for review.

| Slot | File | Status | Notes |
...

Source files updated: [list]

Existing image audit:
- [path]: Consistent ✓
- [path]: Style mismatch — [specific note]

Flagged for manual review:
- [slot]: [issue + suggested edit prompt]

prompt mode

✓ Detected brand: #A855F7 #06B6D4 #0A0A0A · Outfit + JetBrains Mono · editorial photography

## Style Anchor
> [3–5 sentences. Paste at the start of EVERY prompt below.]

---
> **Consistency Warning**: Generate all prompts in the same Gemini session.
> Style Anchor is embedded in each prompt. Separate sessions = style drift.

---
## Image Prompts

### 1. [Type] — `[slot-id]`
**File to create:** `[asset-dir]/[slot-id].png`
**Aspect ratio:** [ratio]
**In source:** `[file]` → replace `src="[placeholder]"`

**Prompt:**
[Style anchor]. [Subject]. [Art style]. [Color palette]. [Mood]. [Specs]. [Negative constraints].

---
### 2. ...

Hard Rules

  • NEVER use placeholder service URLs as final sources
  • NEVER bake text into images (unless explicitly requested)
  • NEVER save outside the project directory
  • NEVER proceed without brand identity — ask first
  • NEVER overwrite existing real images without confirmation
  • NEVER run Layer 4 in prompt mode
  • NEVER generate slots in parallel — always sequential

Edge Cases

  • No styles found: Stop after Layer 1. Ask for brand description before proceeding.
  • Mixed photo + illustration slots: Two passes — photos first with photo anchor, illustrations second with illustration anchor.
  • Tailwind v4: Look for @theme { --color-*: } blocks in CSS (no tailwind.config.ts).
  • Existing mismatched images: Flag, never replace without confirmation.
  • MCP unavailable: Inform user, suggest prompt mode.
  • Zero slots: Report and stop.
  • Single section auto-trigger: Skip full scan, use user's description as content_hint, still run Layer 1 for design_profile.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Gen Images AI skill do?

Post-build image generation for websites. Scans for missing/placeholder images, extracts brand identity, and either generates images directly via MCP tools or outputs optimized prompts for manual Gemini use. Subcommands: "generate" (full automated pipeline) or "prompt" (prompt-only output). Use when user says "generate images", "fill in images", "create hero image", "image prompts", "/gen-images", "generate an image for the [X] section", "I need an image for [section]", or after building/deploying a website.

Why use Gen Images on TypingMind?

Because you install it once and use it with any model. Gen Images is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gen Images in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dancolta/gen-images-skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Gen Images?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gen Images?

As many as you like. As long as a model supports skills, you can use Gen Images with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gen Images AI skill free?

It is published on GitHub by dancolta. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇