nanobanana-skill
Skill1.7k starsChanged 2 months agoMITView on GitHub
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.
- Reads credentials
- Installs packages
1 other project uses a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- feiskyer/codex-settingstheir own version, first seen Jul 27, 2026
Who's talking about feiskyer/claude-code-settings
- sudosubin/agents.nix“claude-code-plugins.github.feiskyer.claude-code-settings: init at 2.4.3”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.feiskyer.claude-code-settings: init at 2.4.3”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.feiskyer.claude-code-settings: 2.4.2 → 2.4.3”GitHub · Oct 3, 2026
- ProSkillsMD/proskills“[Candidate] feiskyer/claude-code-settings/skills/github-fix-issue - github-fix-issue”GitHub · Oct 1, 2026
- ProSkillsMD/proskills“[Candidate] feiskyer/claude-code-settings/skills/deep-research - deep-research”GitHub · Oct 1, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub (23 times).
On GitHub · 23
- Oct 4, 2026claude-code-plugins.github.feiskyer.claude-code-settings: init at 2.4.3 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.feiskyer.claude-code-settings: init at 2.4.3 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.feiskyer.claude-code-settings: 2.4.2 → 2.4.3 — sudosubin/agents.nix0 reactions
- Oct 1, 2026[Candidate] feiskyer/claude-code-settings/skills/github-fix-issue - github-fix-issue — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 1, 2026[Candidate] feiskyer/claude-code-settings/skills/deep-research - deep-research — ProSkillsMD/proskills0 reactions · 1 comment
18 more on GitHub
- Oct 1, 2026[Candidate] feiskyer/claude-code-settings/skills/codex-skill - codex-skill — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 27, 2026agent-skills.github.feiskyer.claude-code-settings: init at 2.4.2 — sudosubin/agents.nix0 reactions
- Aug 21, 2026Daily settings drift check — 2026-08-21 (Claude Code v2.1.238) — shanraisshan/claude-code-best-practice0 reactions
- Aug 12, 2026Daily settings drift check — 2026-08-12 (Claude Code v2.1.228) — shanraisshan/claude-code-best-practice0 reactions
- Aug 7, 2026Daily settings drift check — 2026-08-07 (Claude Code v2.1.224) — shanraisshan/claude-code-best-practice0 reactions
- Jul 13, 2026Daily settings drift check — 2026-07-13 (Claude Code v2.1.207) — shanraisshan/claude-code-best-practice0 reactions
- Jul 8, 2026Daily settings drift check — 2026-07-08 (Claude Code v2.1.204) — shanraisshan/claude-code-best-practice0 reactions
- Jun 23, 2026Daily settings drift check — 2026-06-23 (Claude Code v2.1.186) — shanraisshan/claude-code-best-practice0 reactions
- Jun 18, 2026Daily settings drift check — 2026-06-18 (Claude Code v2.1.181) — shanraisshan/claude-code-best-practice0 reactions
- Jun 17, 2026Daily settings drift check — 2026-06-17 (Claude Code v2.1.179) — shanraisshan/claude-code-best-practice0 reactions
- Jun 16, 2026Daily settings drift check — 2026-06-16 (Claude Code v2.1.178) — shanraisshan/claude-code-best-practice0 reactions
- Jun 13, 2026Daily settings drift check — 2026-06-13 (Claude Code v2.1.176) — shanraisshan/claude-code-best-practice0 reactions
- Jun 11, 2026Daily settings drift check — 2026-06-11 (Claude Code v2.1.172) — shanraisshan/claude-code-best-practice0 reactions
- Jun 9, 2026Daily settings drift check — 2026-06-09 (Claude Code v2.1.169) — shanraisshan/claude-code-best-practice0 reactions
- Jun 7, 2026Daily settings drift check — 2026-06-07 (Claude Code v2.1.168) — shanraisshan/claude-code-best-practice0 reactions
- Jun 5, 2026Daily settings drift check — 2026-06-05 (Claude Code v2.1.163) — shanraisshan/claude-code-best-practice0 reactions
- Jun 4, 2026Daily settings drift check — 2026-06-04 (Claude Code v2.1.162) — shanraisshan/claude-code-best-practice0 reactions
- Apr 18, 2026Audit candidate: feiskyer/claude-code-settings — xiaolai/nlpm0 reactions · 4 comments
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- feiskyer/codex-settings★ 244same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- brainstormingSkill
- codex-skillSkill
- deep-researchSkill
- github-fix-issueSkill
- github-review-prSkill
- gpt-image-skillSkill
- grill-meSkill
- handoffSkill
- skill-creatorSkill
- translateSkill
- youtube-transcribe-skillSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
GEMINI_API_KEY: Must be configured in ~/.nanobanana.env or export GEMINI_API_KEY=<your-api-key>
- Distinctive: line 21
Ask the user for:
- Distinctive: line 28
Run the nanobanana script with appropriate parameters:
- Distinctive: line 43
Run with input images:
- Distinctive: line 127
If the script fails:
- Very specific: line 129
Check that GEMINI_API_KEY is exported or set in ~/.nanobanana.env
- Distinctive: line 130
Verify input image files exist and are readable
- Distinctive: line 131
Ensure the output directory is writable
- Distinctive: line 132
If no image is generated, try making the prompt more specific about wanting an image
- Distinctive: line 140
Start with 1K resolution for testing, upgrade to 2K/4K for final output
- Distinctive: line 141
Use gemini-3-pro-image-preview for best quality, gemini-3.1-flash-image-preview (default) for speed
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Nanobanana Image Generation Skill
Generate or edit images using Google Gemini API through the nanobanana tool.
Requirements
- GEMINI_API_KEY: Must be configured in
~/.nanobanana.envorexport GEMINI_API_KEY=<your-api-key> - Python3 with dependent packages installed: google-genai, Pillow, python-dotenv. They could be installed via
python3 -m pip install -r ${CLAUDE_SKILL_DIR}/requirements.txtif not installed yet. - Executable:
${CLAUDE_SKILL_DIR}/nanobanana.py
Instructions
For image generation
- 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)
Run the nanobanana script with appropriate parameters:
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py --prompt "description of image" --output "filename.png"- Show the user the saved image path when complete
For image editing
- Ask the user for:
- Input image file(s) to edit
- What changes they want (the prompt)
- Output filename (optional)
Run with input images:
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py --prompt "editing instructions" --input image1.png image2.png --output "edited.png"
Available Options
Aspect Ratios (--size)
1024x1024(1:1) - Square832x1248(2:3) - Portrait1248x832(3:2) - Landscape864x1184(3:4) - Portrait1184x864(4:3) - Landscape896x1152(4:5) - Portrait1152x896(5:4) - Landscape768x1344(9:16) - Portrait (default)1344x768(16:9) - Landscape1536x672(21:9) - Ultra-wide
Models (--model)
gemini-3.1-flash-image-preview(default) - Latest, fast generationgemini-3-pro-image-preview- Higher quality, supports thinking/reasoning
Resolution (--resolution)
1K(default)2K4K
Other Options
--no-search- Disable Google Search grounding (enabled by default)--no-think- Disable thinking/reasoning mode
Examples
Generate a simple image
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py --prompt "A serene mountain landscape at sunset with a lake"Generate with specific size and output
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py \
--prompt "Modern minimalist logo for a tech startup" \
--size 1024x1024 \
--output "logo.png"Generate landscape image with high resolution
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py \
--prompt "Futuristic cityscape with flying cars" \
--size 1344x768 \
--resolution 2K \
--output "cityscape.png"Edit existing images
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py \
--prompt "Add a rainbow in the sky" \
--input photo.png \
--output "photo-with-rainbow.png"Use pro model for higher quality
python3 ${CLAUDE_SKILL_DIR}/nanobanana.py \
--prompt "Detailed portrait of a cat in watercolor style" \
--model gemini-3-pro-image-preview \
--output "cat-portrait.png"Error Handling
If the script fails:
- Check that
GEMINI_API_KEYis exported or set in ~/.nanobanana.env - Verify input image files exist and are readable
- Ensure the output directory is writable
- If no image is generated, try making the prompt more specific about wanting an image
Best Practices
- Be descriptive in prompts - include style, mood, colors, composition
- For logos/graphics, use square aspect ratio (1024x1024)
- For social media posts, use 9:16 for stories or 1:1 for posts
- For wallpapers, use 16:9 or 21:9
- Start with 1K resolution for testing, upgrade to 2K/4K for final output
- Use gemini-3-pro-image-preview for best quality, gemini-3.1-flash-image-preview (default) for speed
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

