By batou9150
Default image-generation skill for Claude Code. 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); when they say "show me", "visualize", "what would X look like", "draw", "design", "mock up"; or when they attach an image and ask to edit, restore, upscale, colorize, or remove background. Activates even when Gemini or Nano Banana isn't named. Produces actual image files via Google's Gemini image models — never prose or ASCII art.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Agent Skill for image generation, editing, and restoration via Google's Nano Banana (Gemini image models).
When you ask Claude things like "generate a watercolor of a fox", "make a favicon for my app", "edit this photo to add sunglasses", or "draw an architecture diagram for a microservices system", this skill activates and runs the appropriate Gemini image model. Default: gemini-3.1-flash-image (Nano Banana 2).
The repo is also a self-contained Claude Code plugin marketplace — install with two commands (no venv, no pip install).
In Claude Code:
/plugin marketplace add batou9150/nanobanana-skill
/plugin install nanobanana@batou9150-skills
Then set the API key (see API key — where to put it) and you're done.
The CLI is self-contained: it uses a PEP 723 inline-metadata shebang to auto-install google-genai on first run via uv. No manual venv or pip install step.
uv on PATH (one-line install: curl -LsSf https://astral.sh/uv/install.sh | sh)git clone https://github.com/batou9150/nanobanana-skill /tmp/nanobanana-skill
mv /tmp/nanobanana-skill/skills/nanobanana ~/.claude/skills/nanobanana
That's it. The first time the script runs, uv resolves and caches google-genai automatically.
Get a key from https://aistudio.google.com/apikey, then choose one of:
~/.zshenv (recommended for zsh users)echo 'export NANOBANANA_API_KEY="<your-key>"' >> ~/.zshenv
~/.zshenv loads for every zsh invocation, including the non-interactive shells Claude Code's Bash tool uses. Putting it in ~/.zshrc only works for interactive terminals — Claude Code won't see it.
(Bash users: use ~/.bash_profile or whichever rc your shell sources for non-interactive runs.)
Add to ~/.claude/settings.json:
{
"env": { "NANOBANANA_API_KEY": "<your-key>" }
}
Stored in plain text on disk; only visible to Claude Code processes (not to standalone CLI use).
If you already have a Gemini key set under another name, the skill picks the first that's defined, in this order:
NANOBANANA_API_KEY (preferred)NANOBANANA_GEMINI_API_KEYNANOBANANA_GOOGLE_API_KEYGEMINI_API_KEYGOOGLE_API_KEY| Command | Purpose |
|---|---|
generate | Text-to-image with optional batch styles / variations |
edit | Modify an existing image |
restore | Repair / enhance an image |
icon | App icon, favicon, UI element |
pattern | Seamless pattern / texture |
story | Sequential frames (story / process / tutorial / timeline) |
diagram | Flowchart, architecture, schema, wireframe |
The script is fully standalone:
~/.claude/skills/nanobanana/scripts/nanobanana.py generate \
"sunset over mountains" --count=3 --styles=watercolor,oil-painting
Output goes to ./nanobanana-output/ in your cwd.
Run any subcommand with --help to see flags:
~/.claude/skills/nanobanana/scripts/nanobanana.py generate --help
export NANOBANANA_MODEL=gemini-3-pro-image # Nano Banana Pro
export NANOBANANA_MODEL=gemini-2.5-flash-image # Nano Banana v1
Adapted from the official gemini-cli-extensions/nanobanana Gemini CLI extension. This is a Claude-Skill port — no MCP server, no Node runtime, just a self-contained Python script invoked from SKILL.md.
MIT — see LICENSE.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub batou9150/nanobanana-skill --plugin nanobananaComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Persistent file-based planning for AI coding agents. Crash-proof markdown plans (task_plan.md, findings.md, progress.md) that survive context loss and /clear, with an opt-in completion gate and multi-agent shared state. Manus-style. Works with Claude Code, Codex CLI, Cursor, Kiro, OpenCode and 60+ agents via the SKILL.md standard. Includes Arabic, German, Spanish, and Chinese (Simplified and Traditional).
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Nuxt, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.