nano-banana-pro

nano-banana-pro is a skill for Claude Code, Codex from swarmclawai/swarmclaw. It costs 60 tokens per session (539 once invoked), scanned A, a copy of nano-banana-pro, MIT.

An image-generation and editing tool that uses Google’s Gemini 3 Pro Image model. It can create images from descriptions, edit one image, or combine multiple images into one scene.

In plain words
What is it for?
Creating illustrations, mockups, and other images from text; editing an existing image; and composing a scene from up to 14 input images.
Why use it?
It removes the need to switch to a separate image tool when a coding task needs visual assets. You provide a Gemini API key and save the result as an image file.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Creating illustrations, mockups, and other images from text; editing an existing image; and composing a scene from up to 14 input images.

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

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/swarmclawai/swarmclaw/nano-banana-pro/github.svg)](https://agentmods.dev/skills/swarmclawai/swarmclaw/nano-banana-pro)
Your own site
<a href="https://agentmods.dev/skills/swarmclawai/swarmclaw/nano-banana-pro"><img src="https://agentmods.dev/badge/skills/swarmclawai/swarmclaw/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/swarmclawai/swarmclaw/nano-banana-pro"><img src="https://agentmods.dev/badge/skills/swarmclawai/swarmclaw/nano-banana-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 539 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 84% copy Near-identical to another mod 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.00060 $0.00539
Opus 5 $0.00030 $0.00269
Sonnet 5 $0.00012 $0.00108
Haiku 4.5 $0.00006 $0.00054

Measured 13d ago against content hash e9ab9c550fd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 13d 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.

Origin

This is a copy

84% identical to nano-banana-pro — 30 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/nano-banana-pro/SKILL.md · 63 lines

What it actually says

Nano Banana Pro (Gemini 3 Pro Image)

Use the bundled script to generate or edit images.

Generate

uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --filename "output.png" --resolution 1K

Edit (Single Image)

uv run {baseDir}/scripts/generate_image.py --prompt "edit instructions" --filename "output.png" -i "/path/in.png" --resolution 2K

Multi-Image Composition (up to 14 images)

uv run {baseDir}/scripts/generate_image.py --prompt "combine these into one scene" --filename "output.png" -i img1.png -i img2.png -i img3.png

API Key

Set GEMINI_API_KEY as an environment variable, or pass --api-key <KEY> to the script.

Aspect Ratio (optional)

uv run {baseDir}/scripts/generate_image.py --prompt "portrait photo" --filename "output.png" --aspect-ratio 9:16

Notes

  • Resolutions: 1K (default), 2K, 4K.
  • Aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. Without --aspect-ratio, the model picks freely.
  • Use timestamps in filenames for uniqueness: yyyy-mm-dd-hh-mm-ss-name.png.
  • Do not read the image back into context; report the saved path only.
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. 13d ago First seen · 63 lines · 60 tokens per session scan A e9ab9c550fd7

Subscribe to this mod's changes

nano-banana-pro is a skill published in the GitHub repository swarmclawai/swarmclaw (669 stars, last pushed 2mo ago), licensed MIT. It adds 60 tokens to every session and 539 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to nano-banana-pro, differing in 30 lines, and is treated as a copy.

Related

Other skills, from other repositories

agent-framework-py-release

Use when cutting a Python release for the microsoft/agent-framework monorepo. Triggers on "bump py versions", "cut a python release", "prepare release PR for python", "release py packages", "bump python to X.Y.Z", or similar requests to bump Python package versions and prepare a release PR. Handles all four lifecycle…

microsoft/agent-framework · 103 tokens

python-package-management

Guide for managing packages in the Agent Framework Python monorepo, including creating new connector packages, versioning, and the lazy-loading pattern. Use this when adding, modifying, or releasing packages.

microsoft/agent-framework · 43 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

verify-samples-tool

How to use the verify-samples tool to run, verify, and manage sample definitions in the Agent Framework repository. Use this when adding, updating, or running sample verification.

microsoft/agent-framework · 40 tokens

build-and-test

How to build and test .NET projects in the Agent Framework repository. Use this when verifying or testing changes.

microsoft/agent-framework · 26 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens