banana-maker
Skill0 starsChanged 7 months agoMITView on GitHub
Generate images using the Gemini image generation API with the Nano Banana Pro prompting methodology. Use when the user asks to generate, create, or make an image, picture, photo, illustration, or visual.
In this repository24 other files it gives its agents.
- aarSkill
- agent-cost-modelSkill
- bitter-lesson-scorecardSkill
- boot-tax-monitorSkill
- compensating-complexity-auditorSkill
- context-fork-guideSkill
- context-hygieneSkill
- counterargument-stress-testSkill
- dark-code-auditSkill
- executive-briefingSkill
- failure-asymmetrySkill
- failure-postmortemSkill
- file-intelSkill
- geopolitical-signal-enricherSkill
- get-api-docsSkill
- gh-reviewSkill
- model-routerSkill
- optimize-descriptionSkill
- prompt-rewriterSkill
- skill-auditSkill
- skill-maintenanceSkill
- spec-gap-detectorSkill
- token-burn-auditorSkill
- what-am-i-forgettingSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Create thumbnails, posters, logos, or any visual content
- Very specific: line 29
Read the prompting guide at ~/.claude/skills/banana-maker/prompting-guide.md and apply the Nano Banana Pro methodology to enhance the …
- Distinctive: line 40
Write in natural language, not tag soup
- Distinctive: line 41
Add materiality keywords to avoid the "plastic AI look" (brushed steel, soft velvet, matte finish, grainy film texture)
- Distinctive: line 47
Run the script using the banana-maker venv:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Banana Maker — Gemini Image Generation
When to Use
Activate this skill when the user asks to:
- Generate, create, or make an image / picture / photo / illustration
- Visualize a concept, scene, or idea as an image
- Edit or modify an existing image (with reference images)
- Create thumbnails, posters, logos, or any visual content
Workflow
1. Capture the User's Idea
Take the user's description or prompt as input. It can be a quick idea or a detailed description.
2. Ask for Model Choice
Present these options:
- Flash — Nano Banana 2 (
gemini-3.1-flash-image-preview). Fast, cost-effective. Supports 512 to 4K, controllable thinking, new ultra-wide aspect ratios. Good for iteration and quick concepts. - Pro — Nano Banana Pro (
gemini-3-pro-image-preview). Advanced reasoning ("Thinking"), high-fidelity text rendering. Best for final output and detailed work. 1K-4K. - Grounded — Same Flash 3.1 model + search tools. The model can search the web and Google Images for real visual references before generating. Best for real people, real products, specific brands, real places, or anything where factual accuracy matters.
3. Enhance the Prompt (Recommended)
Read the prompting guide at ~/.claude/skills/banana-maker/prompting-guide.md and apply the Nano Banana Pro methodology to enhance the user's idea into a detailed, high-quality prompt. Claude does this enhancement directly -- no extra API call needed.
Apply the Ultimate Prompt Structure:
- Subject -- Who/What
- Action -- Doing what
- Environment -- Where
- Lighting/Mood -- Time of day, atmosphere
- Technical Specs -- Camera angle, style, texture, materiality
- Context -- Intended audience/medium (this helps the model infer artistic decisions)
Key principles:
- Write in natural language, not tag soup
- Add materiality keywords to avoid the "plastic AI look" (brushed steel, soft velvet, matte finish, grainy film texture)
- Give context/purpose so the model can infer artistic decisions
Show the enhanced prompt to the user before generating.
4. Generate the Image
Run the script using the banana-maker venv:
~/.claude/skills/banana-maker/venv/bin/python ~/.claude/skills/banana-maker/generate_image.py "THE ENHANCED PROMPT" --model MODEL_CHOICE [OPTIONS]5. Report Results
- Show the output file path
- Since Matthew browses from his Surface tablet, provide:
http://10.0.0.46:PORT/filenameif a file server is running, otherwise just the file path
Script Usage Reference
generate_image.py PROMPT --model MODEL [OPTIONS]
Positional:
prompt The image generation prompt
Required:
--model, -m flash | pro | grounded
Options:
--output, -o PATH Output file path (default: output/generated_TIMESTAMP.png)
--aspect-ratio, -a AR 1:1 | 16:9 | 9:16 | 4:3 | 3:4 | 1:4 | 4:1 | 1:8 | 8:1 (default: 1:1)
--size, -s SIZE 512 | 1K | 2K | 4K (default: 2K, 512 is Flash 3.1 only)
--reference, -r PATH Reference image path(s), can specify multiple times (max 14)
--search SEARCH web | image | both (requires --model grounded)
--thinking, -t LEVEL minimal | high (Flash 3.1 thinking control, flash/grounded only)Model Mapping
| Flag | Model ID | Notes |
flash | gemini-3.1-flash-image-preview | Nano Banana 2: fast, 512-4K, thinking control |
pro | gemini-3-pro-image-preview | Nano Banana Pro: advanced reasoning, 1K-4K |
grounded | gemini-3.1-flash-image-preview | Flash 3.1 + search tools (Nano Banana 2) |
Reference Images
For identity locking, style transfer, or image editing, pass reference images:
~/.claude/skills/banana-maker/venv/bin/python ~/.claude/skills/banana-maker/generate_image.py \
"Transform this photo into a watercolor painting" \
--model flash \
--reference photo.jpgSupports up to 14 reference images (10 objects + 4 characters for Flash 3.1).
Examples
Simple generation:
~/.claude/skills/banana-maker/venv/bin/python ~/.claude/skills/banana-maker/generate_image.py \
"A hyper-realistic close-up of an astronaut fixing a circuit board on Mars. Harsh sunlight from the right creates deep contrast. Shot on 35mm film with visible grain. For a sci-fi documentary poster." \
--model pro --aspect-ratio 16:9With reference image:
~/.claude/skills/banana-maker/venv/bin/python ~/.claude/skills/banana-maker/generate_image.py \
"Keep this person's facial features identical but place them in a cyberpunk city at night" \
--model pro --reference portrait.jpgWith search grounding (real-world accuracy):
~/.claude/skills/banana-maker/venv/bin/python ~/.claude/skills/banana-maker/generate_image.py \
"The Sydney Opera House at sunset with a dramatic storm approaching from the west" \
--model grounded --search both --aspect-ratio 16:9Fast low-res iteration with thinking:
~/.claude/skills/banana-maker/venv/bin/python ~/.claude/skills/banana-maker/generate_image.py \
"A minimalist logo for a coffee brand called 'Dark Roast Labs'" \
--model flash --size 512 --thinking highUltra-wide panoramic:
~/.claude/skills/banana-maker/venv/bin/python ~/.claude/skills/banana-maker/generate_image.py \
"A sweeping desert landscape at golden hour, endless sand dunes under dramatic cloud formations" \
--model flash --aspect-ratio 8:1 --size 4KDoes 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.

