image-generator
Skill1 starsChanged 10 months agoMITView on GitHub
Generate branded images using Google Gemini's image generation API. Supports multiple formats (LinkedIn headers, Medium headers, square concepts, vertical explainers). Reads brand guidelines from the project's BRAND.md file for consistent visual identity.
- Reads credentials
- Installs packages
6 other projects use a version of this.
Adopted by
Most recently taken up by
- felvieira/claude-skills-fvtheir own version, first seen Sep 2, 2026
- wlzh/skillstheir own version, first seen Aug 28, 2026
- Emmet-Ray/skillstheir own version, first seen Aug 21, 2026
- hyforthy/skillstheir own version, first seen Apr 16, 2026
- SallyKAN/skillstheir own version, first seen Jan 11, 2026
- mjunaidca/robolearntheir own version, first seen Dec 1, 2025
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- wlzh/skills★ 617same name
- felvieira/claude-skills-fv★ 23same name
- mjunaidca/robolearn★ 9same name
- hyforthy/skills★ 1same name
- Emmet-Ray/skills★ 0same name
- SallyKAN/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- debuggingSkill
- dispatching-parallel-agentsSkill
- git-opsSkill
- kaizenSkill
- observabilitySkill
- gepettoSkill
- c4-architectureSkill
- integrationsSkill
- frontend-slidesSkill
- specialized-skillsSkill
- test-driven-developmentSkill
- ui-developmentSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
If no brand file exists, the skill will prompt you to create one (see BRAND_TEMPLATE.md).
- Distinctive: line 66
When the user requests an image:
- Distinctive: line 77
If no brand file exists, ask if they want to create one or proceed with defaults.
- Distinctive: line 80
Ask which format they need (or default to LinkedIn 1200×630)
- Very specific: line 82
Default: assets/images/ or _assets/images/
- Distinctive: line 83
Use existing image directory if one exists
- Distinctive: line 119
Run the generator script:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!--
Original source: Sandhya Simhan's blog repo
Generalized for claude-code-quickstart SDK
-->Image Generator
Generates professional branded images using Google Gemini's image generation API. Automatically reads brand guidelines from the target project to ensure visual consistency.
How It Works
- Brand Discovery: Looks for brand guidelines in the project (see Brand Configuration below)
- Format Selection: User chooses image format (LinkedIn, Medium, Square, Vertical)
- Prompt Crafting: Combines user request + brand guidelines + format specs
- Generation: Calls Gemini API to generate the image
- Output: Saves to configured output directory
Brand Configuration
The skill looks for brand guidelines in this order:
BRAND.mdin project root.claude/BRAND.mddocs/BRAND.md
If no brand file exists, the skill will prompt you to create one (see BRAND_TEMPLATE.md).
Minimal BRAND.md Example
# Brand Guidelines
## Colors
- **Primary:** #0078AA (Teal)
- **Background:** #F4F1EB (Off-white)
- **Accent:** #F69F22 (Yellow)
## Style
- Modern minimalist
- Hand-drawn/illustrated feel
- Generous whitespace
## Tone
- Professional but friendly
- Approachable, not corporateImage Formats
| Format | Dimensions | Aspect Ratio | Best For |
| 1200×630 | 16:9 | Social sharing, OG tags, blog headers | |
| Medium | 1200×400 | 3:1 | Substack/Medium headers, newsletters |
| Square | 1080×1080 | 1:1 | Instagram, Twitter, concept cards |
| Vertical | 1080×1920 | 9:16 | Stories, mobile-first, Pinterest |
See IMAGE_FORMATS.md for detailed layout tips.
Instructions
When the user requests an image:
1. Find Brand Guidelines
Read BRAND.md (or alternative locations) to understand:
- Color palette (primary, accent, neutral colors)
- Visual style (minimalist, illustrated, corporate, etc.)
- Emotional tone (friendly, professional, playful, etc.)
- Design elements to include/avoidIf no brand file exists, ask if they want to create one or proceed with defaults.
2. Determine Format & Output
- Ask which format they need (or default to LinkedIn 1200×630)
- Determine output directory:
- Default:
assets/images/or_assets/images/ - Use existing image directory if one exists
- Or ask user preference
- Default:
3. Gather Requirements
- Blog post topic/title
- Key themes or concepts to visualize
- Specific elements to include
- Level of detail (high-level concept vs detailed)
4. Craft Brand-Aligned Prompt
Build a detailed prompt that includes:
- Exact dimensions for the chosen format
- Background color from brand guidelines
- Primary and accent colors from brand palette
- Visual style from brand guidelines
- Composition appropriate for the format
- Emotional tone matching brand voice
Prompt Template:
Create a [style] image ([dimensions]) for [topic].
Background: Use [background color] as the background.
Visual style: [brand style description]. Use [primary color] as the
primary anchor color with subtle accents of [accent colors]. Include
[design elements from brand].
Composition: [format-specific layout guidance].
Mood: [brand emotional tone]. [Additional mood guidance].5. Generate Image
Run the generator script:
python [skill-path]/generate_image.py \
--prompt "your detailed prompt" \
--output "filename.png" \
--output-dir "assets/images" \
--image-type linkedin6. Provide Output
- Show the generated image path
- Provide markdown snippet:
 - Offer to regenerate with adjustments
- Offer additional formats if needed
Setup Requirements
1. Google Gemini API Key
export GEMINI_API_KEY="your-api-key-here"Get a key at: https://aistudio.google.com/apikey
2. Python Dependencies
pip install google-genai pillow3. Output Directory
The skill will create the output directory if it doesn't exist.
Tips for Great Images
Format-Specific:
- LinkedIn: Horizontal flow, leave left/right third for text
- Medium: Wide cinematic feel, text at top/bottom
- Square: Centered, icon-like clarity, standalone
- Vertical: Top-to-bottom flow, can show progression
General:
- Clarity over complexity
- Generous whitespace
- Intentional color use (don't use all accent colors at once)
- Match the brand's visual metaphor style
Example Session
User: "Generate a header for my post about API design patterns"
Skill:
- Reads BRAND.md → finds teal primary, illustrated style
- Asks: "Which format? LinkedIn (default), Medium, Square, or Vertical?"
- User: "LinkedIn"
- Asks: "Key visual metaphor? (e.g., building blocks, pipelines, contracts)"
- User: "Building blocks connecting"
- Crafts prompt with brand colors + dimensions + metaphor
- Generates image → saves to
assets/images/api-design-linkedin.png - Returns:

Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

