Skip to main content

nano-banana

REQUIRED for all image generation requests. Generate and edit images using Gemini CLI with persistent visual memory via KV cache warmth. Use whenever the user asks to create, generate, make, draw, design, or edit any image or visual content.

Jump to install

Source facts

Repository
cailmdaley/skills
Last source activity
February 12, 2026 at 08:58
Detected SKILL.md language
English
Stars
5
Forks
2

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
4 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
nano-banana
description
REQUIRED for all image generation requests. Generate and edit images using Gemini CLI with persistent visual memory via KV cache warmth. Use whenever the user asks to create, generate, make, draw, design, or edit any image or visual content.
# Nano Banana Image Generation Generate images via Gemini CLI with **persistent visual memory**. ## Core Insight: Two Warm Caches Gemini maintains a KV cache across requests. Claude maintains context by seeing generated images. Use `--resume latest` to keep Gemini's cache warm across iterations. ## Usage ```bash # First generation — starts fresh session gemini --yolo "/generate 'blue circle on white background'" # Subsequent generations — resume for warm cache gemini --yolo --resume latest -p "/generate 'same circle but red'" # Edit existing image gemini --yolo --resume latest -p "/edit path/to/image.png 'make it darker'" ``` **Critical**: Always use `--resume latest -p "..."` for iterations. Sessions are per-directory. Different directories = different visual memories. ## Commands | Command | Use Case | |---------|----------| | `/generate "prompt"` | Text-to-image | | `/edit image.png "instruction"` | Modify existing | | `/icon "description"` | App icons, favicons | | `/diagram "description"` | Flowcharts, architecture | | `/pattern "description"` | Seamless textures | See [references/CLI.md](references/CLI.md) for full command flags. ## Output Images save to `./nanobanana-output/` in the current directory. ## Transparency Gemini cannot output true alpha. Use difference matting: generate on white, edit to black, extract alpha. See [references/TRANSPARENCY.md](references/TRANSPARENCY.md).
View on GitHub