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.
npx skills add intellectronica/agent-skills --skill nano-banana-2git clone --depth 1 https://github.com/intellectronica/agent-skillsWrote 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.
[](https://agentmods.dev/skills/intellectronica/agent-skills/nano-banana-2)<a href="https://agentmods.dev/skills/intellectronica/agent-skills/nano-banana-2"><img src="https://agentmods.dev/badge/skills/intellectronica/agent-skills/nano-banana-2/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.
<a href="https://agentmods.dev/skills/intellectronica/agent-skills/nano-banana-2"><img src="https://agentmods.dev/badge/skills/intellectronica/agent-skills/nano-banana-2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00069 | $0.01101 |
| Opus 5.5 | $0.00028 | $0.00440 |
| Sonnet 5.5 | $0.00014 | $0.00220 |
| Haiku 4.5 | $0.00007 | $0.00110 |
Grade A, and why
nano-banana-2 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.
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.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nano Banana 2 Image Generation & Editing
Generate new images or edit existing images with Nano Banana 2 (gemini-3.1-flash-image-preview).
Usage
Run the script using absolute or workspace-relative path (do NOT cd into the skill directory first):
Generate new image:
uv run ./.agents/skills/nano-banana-2/scripts/generate_image.py --prompt "your image description" --filename "output-name.png" [--resolution 512px|1K|2K|4K] [--aspect-ratio RATIO] [--api-key KEY]
Edit image(s) with references:
uv run ./.agents/skills/nano-banana-2/scripts/generate_image.py --prompt "editing instructions" --filename "output-name.png" --input-image "path/to/input1.png" [--input-image "path/to/input2.png" ...] [--resolution 512px|1K|2K|4K] [--aspect-ratio RATIO] [--api-key KEY]
Always run from the user's current working directory so outputs are saved in the active project context.
Model
Use model code:
gemini-3.1-flash-image-preview(Nano Banana 2)
Do not use gemini-3-pro-image-preview in this skill.
Resolution Options
Nano Banana 2 supports:
512px(fastest, low-latency iteration)1K(default)2K4K
Map common user language:
- "quick draft", "thumbnail", "tiny", "512", "0.5K" →
512px - no resolution mention →
1K - "2K", "medium", "normal" →
2K - "4K", "high-res", "ultra", "print quality" →
4K
Use uppercase K for 1K, 2K, 4K.
Aspect Ratios
Supported aspect ratios:
1:1,1:4,1:8,2:3,3:2,3:4,4:1,4:3,4:5,5:4,8:1,9:16,16:9,21:9
Map common requests:
- square post / icon →
1:1 - phone wallpaper / vertical reel →
9:16 - widescreen / slide / hero image →
16:9 - cinematic wide →
21:9 - portrait print →
2:3or3:4 - panorama banner →
4:1or8:1
If unspecified, let the model default behavior apply.
Reference Images (New in Gemini 3 Image workflows)
Provide up to 14 reference images when needed by repeating --input-image:
- preserve character consistency
- preserve object fidelity
- combine multiple visual references into one output
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.
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.
- 3mo ago First seen · 111 lines · 69 tokens per session scan A 219cb690e66b
nano-banana-2 is a skill published in the GitHub repository intellectronica/agent-skills (305 stars, last pushed 7mo ago), licensed CC0-1.0. It adds 69 tokens to every session and 1,101 once invoked, about $0.0003 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-30.
nano-banana-2 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nano-banana-2intellectronica/agent-skills | Skill | 305 | 7mo ago | CC0-1.0 | A | 69 | Claude Code, Codex |
| make_planagentscope-ai/QwenPaw | Skill | 38k | today | Apache-2.0 | A | 51 | Claude Code, Codex |
| newclacky-ai/openclacky | Skill | 1.2k | today | MIT | A | 10 | Claude Code |
| oss-uploadclacky-ai/openclacky | Skill | 1.2k | today | MIT | A | 40 | Claude Code, Codex |
| officecli-word-formiOfficeAI/OfficeCLI | Skill | 34k | today | Apache-2.0 | C | 224 | Claude Code, Codex |
| windbg-user-heap-corruption-investigationmicrosoft/win-dev-skills | Skill | 521 | today | MIT | A | 46 | Claude Code |
| meeting-summarizerclacky-ai/openclacky | Skill | 1.2k | today | MIT | A | 39 | Claude Code |