Agent skill

Nano Banana Pro

by happycapy-ai in happycapy-ai/Happycapy-skills

Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro) with AI Gateway support.

MITAuto-check passedMedia & Creative

Install Nano Banana Pro

skills CLI
$ npx skills add happycapy-ai/Happycapy-skills --skill nano-banana-pro -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install happycapy-ai/Happycapy-skills nano-banana-pro --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nano-banana-pro .claude/skills/nano-banana-pro && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nano-banana-pro
GitHub stars
137
Token cost
~651 tokens
SKILL.md length
186 words
Files
3 (incl. scripts)
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro) with AI Gateway support.

  • Works in 3 steps: AI_GATEWAY_API_KEY (recommended) - Uses… → GEMINI_API_KEY - Direct Gemini API access → api-key argument - Manual key override
  • Tasks that involve Image generation
  • SKILL.md covers Quick Start, Usage Examples, API Key Configuration and Options, plus 1 more section
  • Runs Python scripts from its folder; calls python3 and pip; needs GEMINI_API_KEY and AI_GATEWAY_API_KEY

What it does

Nano Banana Pro is an agent skill from happycapy-ai/Happycapy-skills. Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro) with AI Gateway support.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `README.md` and `scripts/generate_image.py`).

It sits in Media & Creative, covering Image generation and Image editing. It works with Google Gemini. The repository describes itself as: A curated collection of high-quality Claude Code skills to enhance your development workflow. The licence is MIT.

When your agent uses it

  • Tasks that involve Image generation
  • Tasks that involve Image editing

Example prompts

  • “/nano-banana-pro”

Requirements

  • Python 3
  • A credential in AI_GATEWAY_API_KEY
  • A credential in GEMINI_API_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. AI_GATEWAY_API_KEY (recommended) - Uses AI Gateway
  2. GEMINI_API_KEY - Direct Gemini API access
  3. api-key argument - Manual key override

What it can do on your machine

Read from SKILL.md and the folder at commit 9ff72fe. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY
    • AI_GATEWAY_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nano Banana Pro loads about 651 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 186 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~651

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from happycapy-ai/Happycapy-skills at commit 9ff72fe, republished under its MIT licence (© happycapy-ai). 186 words, ~651 tokens.

Download SKILL.mdSave it as .claude/skills/nano-banana-pro/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
nano-banana-pro
description
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro) with AI Gateway support.
homepage
https://ai.google.dev/

Nano Banana Pro (Gemini 3 Pro Image)

Generate or edit images using Gemini 3 Pro Image via AI Gateway or direct API.

Quick Start

Generate an image:

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

Usage Examples

Generate Image
bash
python3 {baseDir}/scripts/generate_image.py \
  --prompt "a cute cat sitting on a wooden floor" \
  --filename "cat.png"
Edit Image (requires GEMINI_API_KEY)

Note: Image editing currently requires direct Gemini API access.

bash
export GEMINI_API_KEY="your-gemini-key"
python3 {baseDir}/scripts/generate_image.py \
  --prompt "make it more colorful" \
  --filename "cat-colorful.png" \
  -i "cat.png"
Multi-image Composition (up to 14 images, requires GEMINI_API_KEY)
bash
python3 {baseDir}/scripts/generate_image.py \
  --prompt "combine these into one scene" \
  --filename "combined.png" \
  -i img1.png -i img2.png -i img3.png

API Key Configuration

The skill automatically detects API keys in this priority order:

  1. AI_GATEWAY_API_KEY (recommended) - Uses AI Gateway
  2. GEMINI_API_KEY - Direct Gemini API access
  3. --api-key argument - Manual key override
bash
export AI_GATEWAY_API_KEY="your-gateway-key"  # Usually pre-configured

✅ No additional dependencies required ✅ Cost-efficient and unified API management ❌ Image editing not currently supported

Alternative: Direct Gemini API
bash
export GEMINI_API_KEY="your-gemini-key"

✅ Supports image editing and multi-image composition ❌ Requires google-genai package: pip install google-genai

Options

  • --prompt, -p: Image description (required)
  • --filename, -f: Output filename (required)
  • --resolution, -r: Resolution (1K, 2K, 4K, default: 1K)
  • --input-image, -i: Input image(s) for editing (up to 14, requires GEMINI_API_KEY)
  • --api-key, -k: Manual API key override

Notes

  • Resolutions: 1K (default), 2K, 4K
  • Use descriptive filenames with timestamps: 2024-12-31-cat.png
  • The script outputs a MEDIA: line for OpenClaw integration
  • AI Gateway mode works with standard Python 3, no extra tools needed

© happycapy-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/nano-banana-pro of happycapy-ai/Happycapy-skills.

  • SKILL.md
  • README.md
  • scripts/generate_image.py

Open the folder on GitHubat commit 9ff72fe

Compare with similar skills

Nano Banana Pro next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nano Banana Pro compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nano Banana Pro this skillhappycapy-ai/Happycapy-skills137—~651Automated safety check: PassMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
BlockRun Image GenerationBlockRunAI/ClawRouter6.6k—~2.1kAutomated safety check: PassMIT
Antigravity Gemini ImageuluckyXH/OpenMOSS1.3k—~730Automated safety check: NotesMIT
FigureMuuuun/luxas1.2k—~1.2kAutomated safety check: PassMIT
Gemini Image Generatordair-ai/dair-academy-plugins6142 repos~3.5kAutomated safety check: NotesMIT

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • BlockRun Image Generation

    BlockRunAI/ClawRouter

    Generates or edits images through ClawRouter's local image API, with a choice of models and sizes and payment handled automatically through x402.

    6.6k GitHub stars~2.1k tokensUpdated 5 days ago
    Media & CreativeAuto-check passed
  • Antigravity Gemini Image

    uluckyXH/OpenMOSS

    Generate or edit images using the Antigravity-hosted Gemini image model via the local gateway.

    1.3k GitHub stars~730 tokensUpdated 3 mo ago
    Media & CreativeAuto-check: notes
  • Figure

    Muuuun/luxas

    Hybrid figure pipeline (Nano Banana raster + rembg background removal + TikZ vector assembly).

    1.2k GitHub stars~1.2k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Gemini Image Generator

    dair-ai/dair-academy-plugins

    Generates and edits images with Google's Gemini Nano Banana Pro model through the Gemini API, including photo edits and multi-image composition.

    614 GitHub starsUsed in 2 repos~3.5k tokens
    Media & CreativeAuto-check: notes
  • Nanobanana

    ReScienceLab/opc-skills

    Generate and edit images using Google Gemini 3 Pro Image (Nano Banana Pro).

    1.8k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed

More from happycapy-ai/Happycapy-skills

All 28 skills in this repo
  • Happycapy Skill Creator

    happycapy-ai/Happycapy-skills

    Automate HappyCapy skill creation by finding and adapting existing skills from anthropics/skills repository.

    137 GitHub stars~627 tokensUpdated 1 mo ago
    Auto-check passed
  • 360 Panorama Viewer

    happycapy-ai/Happycapy-skills

    Build a fully self-contained 360° equirectangular panorama viewer as a single HTML file.

    137 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Generate Image

    happycapy-ai/Happycapy-skills

    Generate and transform images using AI Gateway API. An agent skill from happycapy-ai/Happycapy-skills.

    137 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check: notes
  • LLM Council

    happycapy-ai/Happycapy-skills

    Multi-model LLM Council with live dashboard. An agent skill from happycapy-ai/Happycapy-skills.

    137 GitHub stars~581 tokensUpdated 1 mo ago
    Auto-check passed
  • PPTX

    happycapy-ai/Happycapy-skills

    Create polished PowerPoint (.pptx) presentations directly from a topic or content description.

    137 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • World Class Carousel

    happycapy-ai/Happycapy-skills

    Generate world-class Instagram carousel content on any topic.

    137 GitHub stars~16k tokensUpdated 1 mo ago
    Auto-check: notes

Works with

Questions about Nano Banana Pro

What does Nano Banana Pro do?

Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro) with AI Gateway support. Nano Banana Pro is an agent skill from happycapy-ai/Happycapy-skills. Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro) with AI Gateway support.

When should I use Nano Banana Pro?

Nano Banana Pro fits situations like: tasks that involve Image generation; tasks that involve Image editing.

How do I install Nano Banana Pro in Claude Code?

Run `npx skills add happycapy-ai/Happycapy-skills --skill nano-banana-pro -a claude-code`. Or copy the skill folder (skills/nano-banana-pro in happycapy-ai/Happycapy-skills) into .claude/skills/nano-banana-pro in your project. Claude Code loads it when a task matches its description.

How do I install Nano Banana Pro in Codex?

Run `npx skills add happycapy-ai/Happycapy-skills --skill nano-banana-pro -a codex`. Or copy the skill folder (skills/nano-banana-pro in happycapy-ai/Happycapy-skills) into .agents/skills/nano-banana-pro in your project. Codex loads it when a task matches its description.

Can I use Nano Banana Pro in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add happycapy-ai/Happycapy-skills --skill nano-banana-pro -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nano-banana-pro, .gemini/skills/nano-banana-pro, .github/skills/nano-banana-pro and .opencode/skills/nano-banana-pro in your project.

What does Nano Banana Pro need to run?

Going by SKILL.md and its folder, Nano Banana Pro needs Python for the scripts in its folder, the command-line tools its instructions call (python3 and pip) and credentials named GEMINI_API_KEY and AI_GATEWAY_API_KEY. Our summary lists: Python 3; A credential in AI_GATEWAY_API_KEY; A credential in GEMINI_API_KEY.

Does Nano Banana Pro access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Nano Banana Pro safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Nano Banana Pro use?

Nano Banana Pro is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nano Banana Pro use?

About 651 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nano Banana Pro?

Skills that share tags, products or a category with Nano Banana Pro: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), BlockRun Image Generation (BlockRunAI/ClawRouter, 6.6k stars), Antigravity Gemini Image (uluckyXH/OpenMOSS, 1.3k stars) and Figure (Muuuun/luxas, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nano Banana Pro?

happycapy-ai (a GitHub user) maintains it in happycapy-ai/Happycapy-skills, which has 137 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on September 3, 2026.

Source: happycapy-ai/Happycapy-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.