nano-banana-pro

nano-banana-pro is a skill for Claude Code, Codex from marchatton/agent-skills. It costs 46 tokens per session (716 once invoked), scanned A, original, MIT.

An image tool for creating new pictures and changing existing ones from written instructions or reference images.

In plain words
What is it for?
It helps create logos, stickers, mockups, style changes, combined images, and successive refinements to an image.
Why use it?
It removes the need to make every visual manually or switch between separate image-generation and editing tools.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads ~/.codex paths; installed under .agents/ (shared by several agents); mentions Codex.

Good fit It helps create logos, stickers, mockups, style changes, combined images, and successive refinements to an image.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marchatton/agent-skills/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 marchatton/agent-skills --skill nano-banana-pro
Clone the repo
git clone --depth 1 https://github.com/marchatton/agent-skills

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/marchatton/agent-skills/nano-banana-pro/github.svg)](https://agentmods.dev/skills/marchatton/agent-skills/nano-banana-pro)
Your own site
<a href="https://agentmods.dev/skills/marchatton/agent-skills/nano-banana-pro"><img src="https://agentmods.dev/badge/skills/marchatton/agent-skills/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/marchatton/agent-skills/nano-banana-pro"><img src="https://agentmods.dev/badge/skills/marchatton/agent-skills/nano-banana-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 716 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.00046 $0.00716
Opus 5.5 $0.00018 $0.00286
Sonnet 5.5 $0.00009 $0.00143
Haiku 4.5 $0.00005 $0.00072

Measured 3mo ago against content hash cc7bce3d2eb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/compose_images.py, scripts/edit_image.py, scripts/gemini_images.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.

.agents/skills/00-utilities/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 Image Generation & Editing

Quick Start

Generate:

uv run ~/.codex/skills/nano-banana-pro/scripts/generate_image.py --prompt "A serene Japanese garden" --filename "2025-11-23-14-23-05-japanese-garden.png" --resolution 1K

Edit:

uv run ~/.codex/skills/nano-banana-pro/scripts/generate_image.py --prompt "make the sky dramatic" --filename "2025-11-23-14-25-30-dramatic-sky.png" --input-image "original.png" --resolution 2K

Compose:

uv run ~/.codex/skills/nano-banana-pro/scripts/compose_images.py "Create a group photo" group.png person1.png person2.png

Multi-turn chat:

uv run ~/.codex/skills/nano-banana-pro/scripts/multi_turn_chat.py --model gemini-3-pro-image-preview --output-dir .

Scripts

  • generate_image.py: text-to-image + edit via --input-image, resolution 1K/2K/4K, optional --aspect, auto-detect resolution on edit.
  • edit_image.py: explicit edit CLI (input, instruction, output).
  • compose_images.py: combine up to 14 reference images.
  • multi_turn_chat.py: interactive refine session (/save, /load, /clear, /quit).
  • gemini_images.py: Python helper class.

Model

  • Default: gemini-3-pro-image-preview.
  • Only use other models if user asks.

Resolution + Aspect

  • Resolution: 1K default, 2K, 4K.
  • Aspect ratios (where supported): 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9.
  • Map words: "1080/low/1K"->1K, "2K/2048/medium"->2K, "4K/high/ultra"->4K.

Workflow

  • Draft 1K, iterate small prompt diffs, final 4K.
  • For edits, keep same --input-image until final.

API Key

  • GEMINI_API_KEY required.
  • generate_image.py also supports --api-key.

Filenames

  • Pattern: yyyy-mm-dd-hh-mm-ss-name.png.
  • Lowercase, hyphenated, 1-5 words.

Output

  • Run from user cwd so files save there.
  • generate_image.py converts output to PNG.
  • Do not open/read images; report saved path.

Preflight

  • command -v uv
  • test -n "$GEMINI_API_KEY"
  • If editing: test -f "path/to/input.png"

Read the full file on GitHub · 71 lines

Files

What ships with it

5 files 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. 3mo ago First seen · 71 lines · 46 tokens per session scan A cc7bce3d2eb5

Subscribe to this mod's changes

nano-banana-pro is a skill published in the GitHub repository marchatton/agent-skills (5 stars, last pushed 8mo ago), licensed MIT. It adds 46 tokens to every session and 716 once invoked, about $0.0002 per session on Opus 5.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

nano-banana-pro compared with skills from other repositories

nano-banana-pro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nano-banana-promarchatton/agent-skillsSkill58mo agoMITA46Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code