Agent skill

Nano Banana Image Generator

by Abilityai in Abilityai/cornelius

Generate images using Google's Nano Banana (Gemini 2.5 Flash Image).

MITAuto-check: notesMedia & Creative

Install Nano Banana Image Generator

skills CLI
$ npx skills add Abilityai/cornelius --skill nano-banana-image-generator -a claude-code

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

GitHub CLI
$ gh skill install Abilityai/cornelius nano-banana-image-generator --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/Abilityai/cornelius.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/nano-banana-image-generator .claude/skills/nano-banana-image-generator && 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-image-generator
GitHub stars
109
Token cost
~1.2k tokens
SKILL.md length
287 words
Files
5 (incl. scripts)
Skills in repo
54
Repo updated
First seen
Licence
MIT

At a glance

Generate images using Google's Nano Banana (Gemini 2.5 Flash Image).

  • Creating infographics
  • SKILL.md covers State Dependencies, Quick Start, Scripts and Pricing & Limits, plus 5 more sections
  • Runs Python and Shell scripts from its folder; calls bash and python3; needs GOOGLE_API_KEY and GEMINI_API_KEY
  • Social media graphics

What it does

Nano Banana Image Generator is an agent skill from Abilityai/cornelius. Generate images using Google's Nano Banana (Gemini 2.5 Flash Image). Use when creating infographics, diagrams, thumbnails, social media graphics, or any AI-generated images. Costs $0.039/image.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `best_practices.md`, `scripts/generate.sh` and `scripts/generate_image.py`).

It sits in Media & Creative, covering Image generation. It works with Google Gemini. The repository describes itself as: AI-powered second brain template for Claude Code + Obsidian. The licence is MIT.

When your agent uses it

  • Creating infographics
  • Social media graphics
  • Any AI-generated images

Example prompts

  • “/nano-banana-image-generator”

Requirements

  • Python 3
  • A Bash shell
  • A credential in GOOGLE_API_KEY
  • A credential in GEMINI_API_KEY
  • Pre-approved tools (allowed-tools): Bash, Read, Write

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • python3

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

  • Network

    No URLs in SKILL.md.

    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 Image Generator loads about 1.2k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 287 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write

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 Abilityai/cornelius at commit b9bea90, republished under its MIT licence (© Abilityai). 287 words, ~1,152 tokens.

Download SKILL.mdSave it as .claude/skills/nano-banana-image-generator/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
nano-banana-image-generator
description
Generate images using Google's Nano Banana (Gemini 2.5 Flash Image). Use when creating infographics, diagrams, thumbnails, social media graphics, or any AI-generated images. Costs $0.039/image.
allowed-tools
Bash, Read, Write

Nano Banana Image Generator

Generate images using Google's Gemini 2.5 Flash Image model (codename: Nano Banana).

State Dependencies

SourceLocationReadWriteDescription
Generate Script~/.claude/skills/nano-banana-image-generator/scripts/generate.sh✓Main generation script
Thumbnail Script~/.claude/skills/nano-banana-image-generator/scripts/generate_thumbnail.py✓16:9 thumbnail generator
Image Script~/.claude/skills/nano-banana-image-generator/scripts/generate_image.py✓Python with aspect ratio control
Best Practices~/.claude/skills/nano-banana-image-generator/best_practices.md✓Prompt engineering guidelines
API Key$GOOGLE_API_KEY or $GEMINI_API_KEY✓Required for API access
Output Directory$OUTPUT_DIR or current directory✓Where images are saved
Generated ImageUser-specified path✓Output PNG file

Quick Start

Generate a simple image:

bash
bash ~/.claude/skills/nano-banana-image-generator/scripts/generate.sh "A red apple on white background" apple.png

Generate a 16:9 thumbnail:

bash
python3 ~/.claude/skills/nano-banana-image-generator/scripts/generate_thumbnail.py "YouTube thumbnail showing AI agents" /tmp/thumb.png

Generate with custom output directory:

bash
OUTPUT_DIR=/tmp bash ~/.claude/skills/nano-banana-image-generator/scripts/generate.sh "Sunset over mountains" sunset.png

Scripts

ScriptPurposeOutput
scripts/generate.shGeneral image generation1024x1024 PNG
scripts/generate_thumbnail.py16:9 thumbnails1344x768 PNG
scripts/generate_image.pyPython with aspect ratio controlConfigurable

Pricing & Limits

  • Cost: $0.039 per image
  • Free tier: 500 requests/day
  • Generation time: ~22 seconds
  • Resolution: 1024x1024 (square), 1344x768 (16:9)

Best Practices

For detailed prompt engineering and brand styling guidelines, see best_practices.md.

Critical Constraints
ElementMaximum
Visual boxes/shapes10 maximum
Text pieces/labels10 maximum
Hierarchy levels3 maximum
Prompt Structure

DO: Write narrative descriptions

Create a simple infographic with black background showing a central concept
with 4-5 supporting elements. Use white text, DM Sans font, bold titles.

DON'T: Use keyword lists

LinkedIn post, gradient, red, white, large text, 15 boxes, arrows everywhere
Brand Styling (the user's)

Include in prompts for brand consistency:

Use the user's brand style: black background (#000000), white text (#ffffff),
DM Sans font, bold 700 weight for titles, clean minimal design.

Use Cases

Perfect For:

  • Social media infographics and carousels
  • YouTube thumbnails
  • Diagrams and technical documentation
  • Product mockups
  • Mobile-optimized content

Not Ideal For:

  • Hyper-realistic photography
  • Complex multi-font typography
  • Fine detail technical renders

Environment Variables

  • GOOGLE_API_KEY or GEMINI_API_KEY - API key (required)
  • OUTPUT_DIR - Output directory (default: current directory)

Examples

Infographic:

bash
bash scripts/generate.sh "Simple framework diagram with black background. CENTER: 'AI Agents' in large white text. SURROUNDING: 4 icons for Planning, Memory, Tools, Learning. DM Sans font, minimal design." agents_framework.png

Thumbnail:

bash
python3 scripts/generate_thumbnail.py "Professional YouTube thumbnail: bold white text 'DEEP AGENTS' on dramatic black background with subtle blue glow, tech aesthetic" deep_agents_thumb.png

Completion Checklist

  • API key verified (GOOGLE_API_KEY or GEMINI_API_KEY)
  • Prompt crafted following best practices (narrative description, not keyword lists)
  • Critical constraints respected (max 10 boxes, max 10 text pieces, max 3 hierarchy levels)
  • Appropriate script selected (generate.sh, generate_thumbnail.py, or generate_image.py)
  • Output directory confirmed or created
  • Image generated successfully (~22 seconds)
  • Output file path provided to user
  • Cost noted ($0.039 per image)

© Abilityai, 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 4 other files (scripts) in .claude/skills/nano-banana-image-generator of Abilityai/cornelius.

  • SKILL.md
  • best_practices.md
  • scripts/generate.sh
  • scripts/generate_image.py
  • scripts/generate_thumbnail.py

Open the folder on GitHubat commit b9bea90

Compare with similar skills

Nano Banana Image Generator 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 Image Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nano Banana Image Generator this skillAbilityai/cornelius109—~1.2kAutomated safety check: NotesMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Logo Generatorop7418/logo-generator-skill2.2k—~1.8kAutomated safety check: NotesNone
Gemini Web Reverse-Engineered ClientJimLiu/baoyu-skills27k5 repos~1.6kAutomated safety check: PassMIT
SEO Image GeneratorAgriciDaniel/claude-seo19k2 repos~2.1kAutomated safety check: PassMIT
BlockRun Image GenerationBlockRunAI/ClawRouter6.6k—~2.1kAutomated safety check: PassMIT

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
  • Logo Generator

    op7418/logo-generator-skill

    Generate professional SVG logos and high-end showcase images.

    2.2k GitHub stars~1.8k tokensUpdated 5 mo ago
    Media & CreativeAuto-check: notes
  • Generates text and images through an unofficial, reverse-engineered Gemini Web API, supporting reference images and multi-turn conversations.

    27k GitHub starsUsed in 5 repos~1.6k tokens
    Media & CreativeAuto-check passed
  • SEO Image Generator

    AgriciDaniel/claude-seo

    Generates Open Graph previews, blog hero images, product photos and infographics for SEO use through Gemini image tools and the banana extension.

    19k GitHub starsUsed in 2 repos~2.1k tokens
    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 6 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

More from Abilityai/cornelius

All 54 skills in this repo
  • Benchmark Memory

    Abilityai/cornelius

    Systematic benchmarking framework for Local Brain Search memory system with LLM-as-judge scoring

    109 GitHub stars~3.1k tokensUpdated 3 days ago
    Auto-check: notes
  • Changelog Protocol

    Abilityai/cornelius

    Protocol for creating dated changelog files after significant agent sessions.

    109 GitHub stars~555 tokensUpdated 3 days ago
    Auto-check passed
  • Create Article

    Abilityai/cornelius

    Create long-form articles from knowledge base insights. An agent skill from Abilityai/cornelius.

    109 GitHub stars~3k tokensUpdated 3 days ago
    Auto-check: notes
  • Decide

    Abilityai/cornelius

    Structure a decision, not just advise on it. An agent skill from Abilityai/cornelius.

    109 GitHub stars~2.7k tokensUpdated 3 days ago
    Auto-check: notes
  • Epistemic Classification

    Abilityai/cornelius

    Framework for distinguishing research findings from hypotheses and speculative synthesis.

    109 GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Get Youtube Transcript

    Abilityai/cornelius

    Extract the transcript from a YouTube video by URL or video ID.

    109 GitHub stars~531 tokensUpdated 3 days ago
    Auto-check: notes

Works with

Questions about Nano Banana Image Generator

What does Nano Banana Image Generator do?

Generate images using Google's Nano Banana (Gemini 2.5 Flash Image). Nano Banana Image Generator is an agent skill from Abilityai/cornelius.5 Flash Image).

When should I use Nano Banana Image Generator?

Nano Banana Image Generator fits situations like: creating infographics; social media graphics; any AI-generated images.

How do I install Nano Banana Image Generator in Claude Code?

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

How do I install Nano Banana Image Generator in Codex?

Run `npx skills add Abilityai/cornelius --skill nano-banana-image-generator -a codex`. Or copy the skill folder (.claude/skills/nano-banana-image-generator in Abilityai/cornelius) into .agents/skills/nano-banana-image-generator in your project. Codex loads it when a task matches its description.

Can I use Nano Banana Image Generator 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 Abilityai/cornelius --skill nano-banana-image-generator -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-image-generator, .gemini/skills/nano-banana-image-generator, .github/skills/nano-banana-image-generator and .opencode/skills/nano-banana-image-generator in your project.

What does Nano Banana Image Generator need to run?

Going by SKILL.md and its folder, Nano Banana Image Generator needs Python and a shell for the scripts in its folder, the command-line tools its instructions call (bash and python3) and credentials named GOOGLE_API_KEY and GEMINI_API_KEY. Our summary lists: Python 3; A Bash shell; A credential in GOOGLE_API_KEY; A credential in GEMINI_API_KEY. Its frontmatter pre-approves these tools: Bash, Read, Write.

Does Nano Banana Image Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Nano Banana Image Generator safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. 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 Image Generator use?

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

About 1.2k tokens (SKILL.md is roughly 4.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 Image Generator?

Skills that share tags, products or a category with Nano Banana Image Generator: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Logo Generator (op7418/logo-generator-skill, 2.2k stars), Gemini Web Reverse-Engineered Client (JimLiu/baoyu-skills, 27k stars) and SEO Image Generator (AgriciDaniel/claude-seo, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nano Banana Image Generator?

Abilityai (a GitHub organization) maintains it in Abilityai/cornelius, which has 109 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 8, 2026.

Source: Abilityai/cornelius on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.