Agent skill

Nano Banana Use

by cnemri in cnemri/google-genai-skills

Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts.

MITAuto-check passedMedia & Creative

Install Nano Banana Use

skills CLI
$ npx skills add cnemri/google-genai-skills --skill nano-banana-use -a claude-code

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

GitHub CLI
$ gh skill install cnemri/google-genai-skills nano-banana-use --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/cnemri/google-genai-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nano-banana-use .claude/skills/nano-banana-use && 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-use
GitHub stars
127
Token cost
~587 tokens
SKILL.md length
186 words
Files
4 (incl. scripts)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts.

  • Works in 2 steps: API Key → Vertex AI
  • Tasks that involve Image generation
  • SKILL.md covers Prerequisites and Usage
  • Runs Python scripts from its folder; calls uv; needs GOOGLE_API_KEY and GEMINI_API_KEY

What it does

Nano Banana Use is an agent skill from cnemri/google-genai-skills. Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts. Handles authentication via API Key or Vertex AI environment variables. Available parameters: prompt, model, aspect-ratio, safety-filter-level. Always confirm parameters with the user or explicitly state defaults before running.

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

It sits in Media & Creative, covering Image generation and LLM guardrails. It works with Google Gemini, Vertex AI and Python. The licence is MIT.

When your agent uses it

  • Tasks that involve Image generation
  • Tasks that involve LLM guardrails

Example prompts

  • “/nano-banana-use”

Requirements

  • Python 3
  • A credential in GOOGLE_API_KEY
  • A credential in GEMINI_API_KEY

Workflow steps

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

  1. API Key
  2. Vertex AI

What it can do on your machine

Read from SKILL.md and the folder at commit 7277476. 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 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

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

  • Network

    No URLs in SKILL.md. Its commands use uv, 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:

    • GOOGLE_API_KEY
    • GEMINI_API_KEY

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

Context cost

Nano Banana Use loads about 587 tokens when it runs. Until then it costs about 85 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
~85
When it runs · the whole SKILL.md, loaded when a task matches
~587

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 cnemri/google-genai-skills at commit 7277476, republished under its MIT licence (© cnemri). 186 words, ~587 tokens.

Download SKILL.mdSave it as .claude/skills/nano-banana-use/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
nano-banana-use
description
Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts. Handles authentication via API Key or Vertex AI environment variables. Available parameters: prompt, model, aspect-ratio, safety-filter-level. Always confirm parameters with the user or explicitly state defaults before running.

Nano Banana Use

Use this skill to generate, edit, and compose images using Gemini's Nano Banana models (gemini-2.5-flash-image and gemini-3-pro-image-preview).

This skill uses portable Python scripts managed by uv.

Prerequisites

Ensure you have one of the following authentication methods configured in your environment:

  1. API Key:

    • GOOGLE_API_KEY or GEMINI_API_KEY
  2. Vertex AI:

    • GOOGLE_CLOUD_PROJECT
    • GOOGLE_CLOUD_LOCATION
    • GOOGLE_GENAI_USE_VERTEXAI=1

Usage

Generate an Image

Step 1: Confirm Parameters Before running the script, confirm the following parameters with the user or state the defaults you will use:

  • Prompt: The image description.
  • Model: Default is gemini-3-pro-image-preview.
  • Aspect Ratio: Default is 1:1.
  • Safety Filter: Default is BLOCK_MEDIUM_AND_ABOVE.

Step 2: Run the Script Run the python script using uv:

bash
uv run skills/nano-banana-use/scripts/generate_image.py "A futuristic banana city" --output city.png
Edit an Image

Modify an existing image based on a text prompt.

bash
uv run skills/nano-banana-use/scripts/edit_image.py original.png "Make the sky purple" --output edited.png
Compose Images

Generate a new image based on multiple input images and a prompt.

bash
uv run skills/nano-banana-use/scripts/compose_image.py --image style.png --image subject.jpg "A painting of the subject in the style of the first image" --output composition.png
Options
  • prompt: The text description of the image.
  • --model: The model to use. Defaults to gemini-3-pro-image-preview.
  • --output: The filename for the saved image. Defaults to generated_image.png.
  • --aspect-ratio: The aspect ratio of the generated image. Defaults to 1:1. Supported: 1:1, 16:9, 4:3, 3:4, 9:16.
  • --safety-filter-level: Safety filter threshold. Defaults to BLOCK_MEDIUM_AND_ABOVE.

© cnemri, 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 3 other files (scripts) in skills/nano-banana-use of cnemri/google-genai-skills.

  • SKILL.md
  • scripts/compose_image.py
  • scripts/edit_image.py
  • scripts/generate_image.py

Open the folder on GitHubat commit 7277476

Compare with similar skills

Nano Banana Use 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 Use compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nano Banana Use this skillcnemri/google-genai-skills127—~587Automated safety check: PassMIT
Gemini Imagetyrchen/geektime-bootcamp-ai236—~1.1kAutomated safety check: PassNone
Gemini Interactions APIAyuilos/Miffan225—~4.6kAutomated safety check: PassAGPL-3.0
Gflow CLIffroliva/gflow-cli278—~4.8kAutomated safety check: NotesMIT
Nanobananakenneth-liao/ai-launchpad-marketplace126—~4kAutomated safety check: NotesNone
Generate Imagehappycapy-ai/Happycapy-skills137—~2kAutomated safety check: NotesMIT

Similar skills

  • Gemini Image

    tyrchen/geektime-bootcamp-ai

    Reference guide for using google-genai Python library to generate images with gemini-3-pro-image-preview model.

    236 GitHub stars~1.1k tokensUpdated 6 mo ago
    Media & CreativeAuto-check passed
  • A skill your agent uses when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses…

    225 GitHub stars~4.6k tokensUpdated today
    Media & CreativeAuto-check passed
  • Gflow CLI

    ffroliva/gflow-cli

    A skill your agent uses when the user wants to drive Google Flow (Veo image-to-video, Veo text-to-video, Imagen / Nano Banana image generation) from the terminal or a script — including…

    278 GitHub stars~4.8k tokensUpdated today
    Media & CreativeAuto-check: notes
  • Nanobanana

    kenneth-liao/ai-launchpad-marketplace

    AI image generation and editing using Google Gemini models. An agent skill from kenneth-liao/ai-launchpad-marketplace.

    126 GitHub stars~4k tokensUpdated 6 mo ago
    Media & CreativeAuto-check: notes
  • 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
    Media & CreativeAuto-check: notes
  • Nanobanana Skill

    feiskyer/claude-code-settings

    Generate or edit images via Google Gemini (nanobanana). An agent skill from feiskyer/claude-code-settings.

    1.7k GitHub stars~1.1k tokensUpdated 13 days ago
    Media & CreativeAuto-check passed

More from cnemri/google-genai-skills

All 10 skills in this repo
  • Deep Research

    cnemri/google-genai-skills

    Perform autonomous, multi-step research using the Gemini Deep Research Agent (Interactions API).

    127 GitHub stars~613 tokensUpdated 8 mo ago
    Auto-check passed
  • Speech Use

    cnemri/google-genai-skills

    Generate (TTS), Transcribe (STT), and Clone voices using Google's GenAI and Cloud Speech SDKs.

    127 GitHub stars~616 tokensUpdated 8 mo ago
    Auto-check passed
  • Veo Use

    cnemri/google-genai-skills

    Create and edit videos using Google's Veo 2 and Veo 3 models.

    127 GitHub stars~625 tokensUpdated 8 mo ago
    Auto-check passed
  • Google Developer Knowledge

    cnemri/google-genai-skills

    Search and retrieve Google's developer documentation using the Developer Knowledge API.

    127 GitHub stars~709 tokensUpdated 8 mo ago
    Auto-check passed
  • Google Adk Python

    cnemri/google-genai-skills

    Expert guidance on the Google Agent Development Kit (ADK) for Python.

    127 GitHub stars~769 tokensUpdated 8 mo ago
    Auto-check passed
  • Nano Banana Build

    cnemri/google-genai-skills

    Generate and edit high-quality images using Gemini 2.5 Flash Image and Gemini 3 Pro Image (Nano Banana).

    127 GitHub stars~534 tokensUpdated 8 mo ago
    Auto-check passed

Questions about Nano Banana Use

What does Nano Banana Use do?

Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts. Nano Banana Use is an agent skill from cnemri/google-genai-skills. Generate, edit, and compose images using Gemini Nano Banana models via portable Python scripts.

When should I use Nano Banana Use?

Nano Banana Use fits situations like: tasks that involve Image generation; tasks that involve LLM guardrails.

How do I install Nano Banana Use in Claude Code?

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

How do I install Nano Banana Use in Codex?

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

Can I use Nano Banana Use 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 cnemri/google-genai-skills --skill nano-banana-use -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-use, .gemini/skills/nano-banana-use, .github/skills/nano-banana-use and .opencode/skills/nano-banana-use in your project.

What does Nano Banana Use need to run?

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

Does Nano Banana Use access the network?

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

Is Nano Banana Use 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 Use use?

Nano Banana Use 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 Use use?

About 587 tokens (SKILL.md is roughly 2.3k 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 Use?

Skills that share tags, products or a category with Nano Banana Use: Gemini Image (tyrchen/geektime-bootcamp-ai, 236 stars), Gemini Interactions API (Ayuilos/Miffan, 225 stars), Gflow CLI (ffroliva/gflow-cli, 278 stars) and Nanobanana (kenneth-liao/ai-launchpad-marketplace, 126 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nano Banana Use?

cnemri (a GitHub user) maintains it in cnemri/google-genai-skills, which has 127 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on February 6, 2026.

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