Agent skill · AI & Agents

nanobanana-skill

Generate or edit images via Google Gemini (nanobanana). This is the DEFAULT image skill — use whenever the user asks to generate, create, or edit an image and does NOT name another provider. Triggers: "nanobanana", "generate image", "create image", "edit image", "图片生成", "生成图片", "AI绘图", "图片编辑". Do NOT use for diagrams (架构图/流程图/时序图) — draw those with Mermaid or code instead.

feiskyergithub.com/feiskyerGitHub ↗
claude-codecodexcopilotcan modify filesships scriptsMIT
Install
npx skills add feiskyer/claude-code-settings --skill nanobanana-skill --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 4 KB
Bundled scripts: yes
Allowed tools: ReadWriteGlobGrepTaskBash(cat:*)Bash(ls:*)Bash(tree:*)Bash(python3:*)
Path: skills/nanobanana-skill/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,619
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Nanobanana Image Generation Skill Generate or edit images using Google Gemini API through the nanobanana tool. ## Requirements 1. **GEMINI_API_KEY**: Must be configured in `~/.nanobanana.env` or `export GEMINI_API_KEY=<your-api-key>` 2. **Python3 with dependent packages installed**: google-genai, Pillow, python-dotenv. They could be installed via `python3 -m pip install -r ${CLAUDE_SKILL_DIR}/requirements.txt` if not installed yet. 3. **Executable**: `${CLAUDE_SKILL_DIR}/nanobanana.py` ## Instructions ### For image generation 1. Ask the user for: - What they want to create (the prompt) - Desired aspect ratio/size (optional, defaults to 9:16 portrait) - Output filename (optional, auto-generates UUID if not specified) - Model preference (optional, defaults to gemini-3.1-flash-image-preview) - Resolution (optional, defaults to 1K) 2. Run the nanobanana script with appropriate parameters: ```bash python3 ${CLAUDE_SKILL_DIR}/nanobanana.py --prompt "description of image" --output "filename.png" ``` 3. Show the user the saved image path when complete ### For image editing 1. Ask the user for: - Input image file(s) to edit - What changes they want (the prompt) - Output filename (optional

What's inside
Steps it walks through
  1. Requirements
  2. Instructions
  3. For image generation
  4. For image editing
  5. Available Options
  6. Aspect Ratios (--size)
  7. Models (--model)
  8. Resolution (--resolution)
  9. Other Options
  10. Examples
  11. Generate a simple image
  12. Generate with specific size and output
  13. Generate landscape image with high resolution
  14. Edit existing images
Ships with 2 files
  • nanobanana.py
  • requirements.txt
Commands it runs
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py --prompt "description of image" --output "filename.png"
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py --prompt "A serene mountain landscape at sunset with a lake"
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py \
More from claude-code-settings
All skills →
About this skill
What does the nanobanana-skill skill do?

Generate or edit images via Google Gemini (nanobanana). This is the DEFAULT image skill — use whenever the user asks to generate, create, or edit an image and does NOT name another provider. Triggers: "nanobanana", "generate image", "create image", "edit image", "图片生成", "生成图片", "AI绘图", "图片编辑". Do NOT use for diagrams (架构图/流程图/时序图) — draw those with Mermaid or code instead.

How do I install it?

Run `npx skills add feiskyer/claude-code-settings --skill nanobanana-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From feiskyer/claude-code-settings, a repository with 1,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going