Nano Banana
jh941213/my-cc-harness
REQUIRED for all image generation requests. An agent skill from jh941213/my-cc-harness.
REQUIRED for all image generation requests. An agent skill from kkoppenhaver/cc-nano-banana.
$ npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kkoppenhaver/cc-nano-banana nano-banana --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "nano-banana" agent skill from https://github.com/kkoppenhaver/cc-nano-banana/tree/main into .claude/skills/nano-banana/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kkoppenhaver/cc-nano-banana nano-banana --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nano-banana" agent skill from https://github.com/kkoppenhaver/cc-nano-banana/tree/main into .agents/skills/nano-banana/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kkoppenhaver/cc-nano-banana nano-banana --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "nano-banana" agent skill from https://github.com/kkoppenhaver/cc-nano-banana/tree/main into .cursor/skills/nano-banana/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kkoppenhaver/cc-nano-banana nano-banana --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "nano-banana" agent skill from https://github.com/kkoppenhaver/cc-nano-banana/tree/main into .gemini/skills/nano-banana/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kkoppenhaver/cc-nano-banana nano-bananaInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "nano-banana" agent skill from https://github.com/kkoppenhaver/cc-nano-banana/tree/main into .github/skills/nano-banana/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kkoppenhaver/cc-nano-banana nano-banana --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "nano-banana" agent skill from https://github.com/kkoppenhaver/cc-nano-banana/tree/main into .opencode/skills/nano-banana/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nano-banana", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
nano-bananaREQUIRED for all image generation requests. An agent skill from kkoppenhaver/cc-nano-banana.
Nano Banana is an agent skill from kkoppenhaver/cc-nano-banana. REQUIRED for all image generation requests. Generate and edit images using Nano Banana (Gemini CLI). Handles blog featured images, YouTube thumbnails, icons, diagrams, patterns, illustrations, photos, visual assets, graphics, artwork, pictures. Use this skill whenever the user asks to create, generate, make, draw, design, or edit any image or visual content.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `README.md`).
It sits in Media & Creative, covering Image generation and Diagrams. It works with Google Gemini and YouTube. The repository describes itself as: A Claude Code skill to generate images with Nano Banana. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3b13699. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(gemini:*)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
geminiFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GEMINI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Nano Banana loads about 1.4k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 462 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from kkoppenhaver/cc-nano-banana at commit 3b13699, republished under its MIT licence (© kkoppenhaver). 462 words, ~1,387 tokens.
.claude/skills/nano-banana/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Generate professional images via the Gemini CLI's nanobanana extension.
ALWAYS use this skill when the user:
Do NOT attempt to generate images through any other method.
gemini extensions list | grep nanobananagemini extensions install https://github.com/gemini-cli-extensions/nanobanana[ -n "$GEMINI_API_KEY" ] && echo "API key configured" || echo "Missing GEMINI_API_KEY"| User Request | Command |
|---|---|
| "make me a blog header" | /generate |
| "create an app icon" | /icon |
| "draw a flowchart of..." | /diagram |
| "fix this old photo" | /restore |
| "remove the background" | /edit |
| "create a repeating texture" | /pattern |
| "make a comic strip" | /story |
Note: Always use the --yolo flag to automatically approve all tool actions.
| Command | Use Case |
|---|---|
gemini --yolo "/generate 'prompt'" | Text-to-image generation |
gemini --yolo "/edit file.png 'instruction'" | Modify existing image |
gemini --yolo "/restore old_photo.jpg 'fix scratches'" | Repair damaged photos |
gemini --yolo "/icon 'description'" | App icons, favicons, UI elements |
gemini --yolo "/diagram 'description'" | Flowcharts, architecture diagrams |
gemini --yolo "/pattern 'description'" | Seamless textures and patterns |
gemini --yolo "/story 'description'" | Sequential/narrative images |
gemini --yolo "/nanobanana prompt" | Natural language interface |
--yolo - Required. Auto-approve all tool actions (no confirmation prompts)--count=N - Generate N variations (1-8)--preview - Auto-open generated images--styles="style1,style2" - Apply artistic styles--format=grid|separate - Output arrangement| Use Case | Dimensions | Notes |
|---|---|---|
| YouTube thumbnail | 1280x720 | --aspect=16:9 |
| Blog featured image | 1200x630 | Social preview friendly |
| Square social | 1080x1080 | Instagram, LinkedIn |
| Twitter/X header | 1500x500 | Wide banner |
| Vertical story | 1080x1920 | --aspect=9:16 |
Default: gemini-2.5-flash-image (~$0.04/image)
For higher quality (4K, better reasoning):
export NANOBANANA_MODEL=gemini-3-pro-image-preview# Modern illustration style
gemini --yolo "/generate 'modern flat illustration of developer coding at laptop, purple and blue gradient background, minimalist style, no text' --preview"
# Professional photography style
gemini --yolo "/generate 'professional editorial photo of coffee cup next to laptop on wooden desk, morning sunlight, shallow depth of field, no text' --count=3"
# Tech/abstract
gemini --yolo "/generate 'abstract visualization of neural network connections, dark background with glowing blue nodes, futuristic style' --preview"gemini --yolo "/icon 'minimalist app logo for productivity tool' --sizes='64,128,256,512' --type='app-icon' --corners='rounded'"gemini --yolo "/diagram 'user authentication flow with OAuth' --type='flowchart' --style='modern'"All generated images are saved to ./nanobanana-output/ in the current directory.
After generation completes:
./nanobanana-output/ to find generated filesWhen the user asks for changes:
--count=3gemini --yolo "/edit nanobanana-output/filename.png 'adjustment'"--styles="requested_style" to the command| Problem | Solution |
|---|---|
GEMINI_API_KEY not set | export GEMINI_API_KEY="your-key" |
| Extension not found | Run install command from setup section |
| Quota exceeded | Wait for reset or switch to flash model |
| Image generation failed | Check prompt for policy violations, simplify request |
| Output directory missing | Will be created automatically on first run |
© kkoppenhaver, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in the repository root of kkoppenhaver/cc-nano-banana.
Open the folder on GitHubat commit 3b13699
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in kkoppenhaver/cc-nano-banana, which our catalogue first saw on October 7, 2026.
Nano Banana 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Nano Banana this skillkkoppenhaver/cc-nano-banana | 378 | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Nano Bananajh941213/my-cc-harness | 125 | — | ~1k | Automated safety check: Pass | None | |
| AI MultimodalMicrock/ordinary-claude-skills | 404 | — | ~2.7k | Automated safety check: Notes | MIT | |
| Imagensanjay3290/ai-skills | 432 | 6 repos | ~657 | Automated safety check: Pass | Apache-2.0 | |
| Smart Illustratoraxtonliu/smart-illustrator | 564 | — | ~1.8k | Automated safety check: Pass | MIT | |
| FigureMuuuun/luxas | 1.2k | — | ~1.2k | Automated safety check: Pass | MIT |
jh941213/my-cc-harness
REQUIRED for all image generation requests. An agent skill from jh941213/my-cc-harness.
Microck/ordinary-claude-skills
Process and generate multimedia content using Google Gemini API.
sanjay3290/ai-skills
Generate images using Google Gemini's image generation capabilities.
axtonliu/smart-illustrator
Generates article illustrations, batch slide infographics and cover images from your text, using Gemini, Mermaid or Excalidraw engines and a prompt-only mode.
Muuuun/luxas
Hybrid figure pipeline (Nano Banana raster + rembg background removal + TikZ vector assembly).
krusemediallc/arcads-claude-code
Generate high-CTR YouTube thumbnails using Nano Banana 2 via the Arcads external API.
Works with
Categories
REQUIRED for all image generation requests. An agent skill from kkoppenhaver/cc-nano-banana. Nano Banana is an agent skill from kkoppenhaver/cc-nano-banana. REQUIRED for all image generation requests.
Nano Banana fits situations like: the user asks to create; tasks that involve Image generation; tasks that involve Diagrams.
Run `npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -a claude-code`. Or copy the skill folder (the kkoppenhaver/cc-nano-banana repository) into .claude/skills/nano-banana in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -a codex`. Or copy the skill folder (the kkoppenhaver/cc-nano-banana repository) into .agents/skills/nano-banana in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kkoppenhaver/cc-nano-banana --skill nano-banana -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, .gemini/skills/nano-banana, .github/skills/nano-banana and .opencode/skills/nano-banana in your project.
Going by SKILL.md and its folder, Nano Banana needs the command-line tools its instructions call (gemini) and credentials named GEMINI_API_KEY. Our summary lists: A credential in GEMINI_API_KEY. Its frontmatter pre-approves these tools: Bash(gemini:*).
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
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. Review the folder before installing.
Nano Banana is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Nano Banana: Nano Banana (jh941213/my-cc-harness, 125 stars), AI Multimodal (Microck/ordinary-claude-skills, 404 stars), Imagen (sanjay3290/ai-skills, 432 stars) and Smart Illustrator (axtonliu/smart-illustrator, 564 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kkoppenhaver (a GitHub user) maintains it in kkoppenhaver/cc-nano-banana, which has 378 GitHub stars. The repository was last updated on May 20, 2026.
Source: kkoppenhaver/cc-nano-banana on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.