nanobanana
Skill49 starsChanged 9 months agoMITView on GitHub
Guide for generating and editing images using generative AI with the nanobanana CLI
- Reads credentials
- Installs packages
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
If the nanobanana CLI is not already installed, install it using:
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Nanobanana
This is a guide for generating and editing images using the nanobanana CLI tool.
Nanobanana is a command-line interface for the Nano Banana image generation API, which uses Google's generative AI models.
Installation
If the nanobanana CLI is not already installed, install it using:
go install maragu.dev/nanobanana@latestPrerequisites
The GOOGLE_API_KEY environment variable must be set, or a .env file with the key must be present in the working directory.
Generating images
To generate a single image:
nanobanana generate output.png "a beautiful sunset over mountains"The output can be either a .png or .jpg file.
Using the pro model
To use the higher-quality pro model for generation:
nanobanana generate -pro output.png "a beautiful sunset over mountains"The -pro flag enables Google's premium generative AI model, which typically produces higher quality results but may take slightly longer to generate.
Editing existing images
To edit or modify an existing image using a text prompt:
nanobanana generate -i input.png output.png "make the sky purple and add stars"This is useful for making specific changes to existing images based on natural language instructions.
Tips for effective prompts
- Be specific and descriptive about what you want in the image
- Include details about style, colors, mood, composition, and subject matter
- For edits, clearly describe what should change while the rest remains the same
- You can reference art styles, artists, or specific visual aesthetics
Examples
Generate a logo:
nanobanana generate logo.png "minimalist tech company logo with geometric shapes in blue and white"Create concept art:
nanobanana generate concept.png "futuristic city skyline at night with neon lights and flying vehicles, cyberpunk style"Edit an existing photo:
nanobanana generate -i photo.png enhanced.png "enhance the colors and make it look like golden hour"Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- ReScienceLab/opc-skills★ 1.9ksame name
- team-attention/stanford-cs146s-kr★ 294same name
- link2004/skills★ 17same name
- leynos/visual-storytelling-skills★ 9same name
- Xipher-Labs/walter-os★ 8same name
- ImScottDev/brain-scott★ 4same name
- grahac/claude_skills★ 2same name
- amigoscode/skills★ 1same name
- dortort/skills★ 1same name
- huangqianqian120/skillslibrary★ 1same name
1 more not listed
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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- address-code-reviewSkill
- autoresearchSkill
- blueskySkill
- brainstormSkill
- code-reviewSkill
- collaborationSkill
- datastarSkill
- decisionsSkill
- design-docSkill
- diarySkill
- gardenSkill
- gitSkill
- gomponentsSkill
- goSkill
- marimoSkill
- observable-plotSkill
- save-web-pageSkill
- sqlSkill
- worktreesSkill
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.

