nanobananalisted
Generate, edit, or restore image files via Google's Gemini image models (Nano Banana). Produces actual image files, never prose or ASCII art. TRIGGER when the user asks for an image, picture, photo, icon, favicon, logo, banner, thumbnail, wallpaper, poster, hero, cover, mockup, wireframe, illustration, sketch, render, pattern, texture, or diagram (flowchart, architecture, schema, network, database, mindmap, sequence); when the user says "show me", "visualize", "what would X look like", "draw", "design", "mock up", "make a picture/logo/icon"; or when the user attaches an image and asks to edit, restore, upscale, colorize, or remove background. Activate even when Nano Banana / Gemini is not named. SKIP when the user wants an SVG hand-coded, a chart generated programmatically (matplotlib/plotly/d3), or a markdown image link to an existing URL. Requires NANOBANANA_API_KEY (or GEMINI_API_KEY).
batou9150/nanobanana-skill · ★ 1 · AI & Automation · score 75
Install: claude install-skill batou9150/nanobanana-skill
# Nano Banana
**When this skill is loaded, the user wants an image file, not a description.** Always run the CLI and return the saved file path(s). Do not substitute prose, ASCII art, or markdown placeholders. Do not refuse because you're unsure which subcommand fits — pick the closest match below and run it.
Image generation, editing, and restoration via Google's Gemini image models. Default model: `gemini-nano-banana-2.1` (Nano Banana 2.1). The skill wraps a single self-contained Python CLI at `scripts/nanobanana.py` — it uses a PEP 723 inline-metadata shebang (`uv run --script`) to auto-install `google-genai` on first invocation, so no venv setup is needed.
## Prerequisites
1. `uv` on PATH (<https://docs.astral.sh/uv/>). The script bootstraps its own dependencies via `uv run --script`.
2. `NANOBANANA_API_KEY` env var set (fallbacks: see `references/troubleshooting.md`).
If either is missing, tell the user exactly what to run and stop.
## Choosing a subcommand
| User intent | Subcommand |
|---|---|
| Create image(s) from a description | `generate` |
| Modify an existing image | `edit` |
| Repair / enhance an old or damaged image | `restore` |
| App icon, favicon, UI element | `icon` |
| Seamless pattern, texture, wallpaper | `pattern` |
| Sequential / step-by-step / tutorial frames | `story` |
| Flowchart, architecture, schema, wireframe | `diagram` |
When the user's request matches a specialized intent (icon / pattern / story / diagram), prefer the specialized subc