nano-banana-pro

nano-banana-pro is a skill for Claude Code, Codex from joonlab/joonlab-claudecode-setting-for-share. It costs 159 tokens per session (962 once invoked), scanned A, original, MIT.

A tool for generating and editing images with Google Gemini image models.

In plain words
What is it for?
Use it for text-to-image generation, image editing, choosing between the default and higher-quality model, and creating landscape or portrait outputs.
Why use it?
It provides a defined way to turn text descriptions into images or modify an existing image using a supplied file.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it for text-to-image generation, image editing, choosing between the default and higher-quality model, and creating landscape or portrait outputs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joonlab/joonlab-claudecode-setting-for-share/nano-banana-pro
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add joonlab/joonlab-claudecode-setting-for-share --skill nano-banana-pro
Clone the repo
git clone --depth 1 https://github.com/joonlab/joonlab-claudecode-setting-for-share

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nano-banana-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/nano-banana-pro/github.svg)](https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/nano-banana-pro)
Your own site
<a href="https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/nano-banana-pro"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/nano-banana-pro/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nano-banana-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/nano-banana-pro"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/nano-banana-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 962 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00159 $0.00962
Opus 5 $0.00079 $0.00481
Sonnet 5 $0.00032 $0.00192
Haiku 4.5 $0.00016 $0.00096

Measured 11d ago against content hash 2bfcd6b23efe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

nano-banana-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_image.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude/skills/nano-banana-pro/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nano Banana Pro

Generate and edit images via Gemini image models using GEMINI_PAID_API_KEY env var.

Models

Alias Model ID Notes
flash (default) gemini-3.1-flash-image-preview Fast, reliable, good availability
pro gemini-3-pro-image-preview Higher quality, may hit 503 capacity limits during peak

Use flash by default. Switch to pro only when the user explicitly requests higher quality or mentions "pro".

Quick Start

# Text-to-image (default flash model)
uv run ~/.claude/skills/nano-banana-pro/scripts/generate_image.py "prompt" -o output.png

# Image editing (provide input image)
uv run ~/.claude/skills/nano-banana-pro/scripts/generate_image.py "edit instruction" -i input.png -o output.png

# Use pro model explicitly
uv run ~/.claude/skills/nano-banana-pro/scripts/generate_image.py "prompt" -o output.png --model pro

Workflow

  1. Construct a detailed English prompt from user's request
  2. Determine aspect ratio (default 1:1, use 16:9 for landscape, 9:16 for portrait)
  3. If the user provides an existing image to modify, use -i flag for edit mode
  4. Run scripts/generate_image.py with appropriate flags
  5. Show the saved image path and resolution to user

Script Usage

uv run scripts/generate_image.py "<prompt>" -o <output.png> [options]
Flag Values Default
--model flash, pro flash
--size 1K, 2K, 4K (uppercase required) 4K
--aspect-ratio 1:1 2:3 3:2 3:4 4:3 4:5 5:4 9:16 16:9 21:9 1:4 4:1 1:8 8:1 1:1
-i, --input Path to input image for editing None

Image Editing Mode

When -i is provided, the model receives the existing image alongside the prompt. This is useful for:

  • Enhancing text quality in slides or infographics
  • Modifying specific elements while keeping the rest intact
  • Upscaling or restyling existing images

The edit prompt should describe what to change while specifying what to keep the same.

Read the full file on GitHub · 71 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 71 lines · 159 tokens per session scan A 2bfcd6b23efe

Subscribe to this mod's changes

nano-banana-pro is a skill published in the GitHub repository joonlab/joonlab-claudecode-setting-for-share (10 stars, last pushed 1mo ago), licensed MIT. It adds 159 tokens to every session and 962 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens