gemini-nanobanana
Use this skill when users ask to generate, edit, or compose images with Gemini Nano Banana 2, including text-to-image, image editing, multi-image composition…
Skill by duotify
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/duotify-gemini-nanobanana
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 4
codeload.github.com· found in install commandgenerativelanguage.googleapis.com· found in codegithub.com· found in codelearn.duotify.com· found in code
Files it touches
~/.claude/skills/gemini-nanobanana
What's inside
- Skill name
gemini-nanobanana- Description
- Use this skill when users ask to generate, edit, or compose images with Gemini Nano Banana 2, including text-to-image, image editing, multi-image composition, grounding, and output sizing/saving controls.
- License
- MIT
- Instructions
- 82 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- README.md
- SKILL.md
- githubclaw.json
- image-generation-api.md · references/
- sources.md · references/
- gemini-nanobanana-cli.js · scripts/
SKILL.md (first lines)
## Do this first
- Use a Node.js wrapper (`@google/genai`) as the primary flow (multi-turn edits, grounding, advanced `generationConfig`).
- Use `scripts/gemini-nanobanana-cli.js` for quick single-turn generation/editing runs.
- Do **not** teach raw `curl`; keep guidance in JS CLI/wrapper form.
## Enforce these defaults
- API key source: `GEMINI_NANOBANANA_API_KEY` with fallback `GEMINI_API_KEY`.
- Default model: `gemini-3.1-flash-image-preview` (allow env override via `GEMINI_NANOBANANA_MODEL`).
- Reference images: support up to **14** total.
- Thinking strength: configurable (`minimal|low|medium|high`), default **High**.
- Aspect ratio: default **Auto**.
- Resolution: default **1K**.
- Output mode: default **Images only**.
- Google Search grounding tool: default **Disabled**; enable with `--google-search` when needed.
- Output directory: default `nanobanana-output/`, unless the prompt explicitly asks for another location.
- 512px rule: send `imageConfig.imageSize` as string `"512"` in API calls (never numeric `512`).
## Read references intentionally
- Start in [`references\image-generation-api.md`](references/image-generation-api.md) for operational payload rules, model behavior, sizing, thinking, grounding, and limits.
- Use [`references\sources.md`](references/sources.md) to verify source provenance and jump to upstream docs.
- For canonical API behavior, read:
- [Gemini image-generation docs](https://ai.google.dev/gemini-api/docs/image-generation)
- [Aspect ratios and image size](https://ai.google.dev/gemini-api/docs/image-generation#aspect_ratios_and_image_size)
- [Thinking process](https://ai.google.dev/gemini-api/docs/image-generation#thinking-process)
- [Grounding with Google Search](https://ai.google.dev/gemini-api/docs/image-generation#use-with-grounding)
- [Grounding with Google Image Search](https://ai.google.dev/gemini-api/docs/image-generation#image-search)
## Output formatting rules
After successful generation, **always** report results in this format:
1. `✅ 圖片已產出`
2. Each image as a **markdown embed with absolute GitHub URL**:
``
3. File metadata: format (`JPEG`/`PNG`), dimensions, file size
4. **Artifact metadata** block (enables Telegram relay to send the actual photo):
`<!-- githubclaw-artifacts: {"images":[{"branch":"{BRANCH}","path":"{relative_path}"}],"html":[]} -->`
### Example (single image)
Assuming `GITHUB_REPO=test/baoclaw-5`, `BRANCH=issue-3`:
```
✅ 圖片已產出

- 格式:JPEG · 1408×768 · 757 KB
<!-- githubclaw-artifacts: {"images":[{"branch":"issue-3","path":"issue-3/artifacts/4153431460/matcha-latte-01.jpg"}],"html":[]} -->
```
### Example (multiple images)
```
✅ 圖片已產出


- 圖 1:JPEG · 1408×768 · 703 KB
- 圖 2:JPEG · 1408×768 · 512 KB
<!-- githubclaw-artifacts: {"images":[{"branch":"issue-3","path":"issue-3/artifacts/4153431460/cute-puppy-01.jpg"},{"branch":"issue-3","path":"issue-3/artifacts/4153431460/cute-puppy-02.jpg"}],"html":[]} -->
```
### Why this format
- **GitHub Issue comments** require absolute URLs to render images inline (relative paths won't display).
- **Telegram relay** detects `githubclaw-artifacts` metadata → downloads image via GitHub API → sends as photo.
- `?raw=true` ensures GitHub serves raw image bytes instead of the HTML file viewer.
## Execution pattern
- Default to Node.js wrapper flows for regular usage, especially when payload control is needed.
- Quick path (agent runs from `issue-N/`; resolve the repo root first):
- `REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || echo "../..")` then
`node "$REPO_ROOT/.agents/skills/gemini-nanobanana/scripts/gemini-nanobanana-cli.js" --prompt "..."`
- Add references via repeated `-i/--image` (up to 14).
- Enable grounding via `--google-search` when prompt needs fresh web context.
- The API key (`GEMINI_NANOBANANA_API_KEY` / `GEMINI_API_KEY`) is injected by the workflow environment; do **not** hardcode it. The CLI reads it automatically from the environment.From duotify/GitHubClawToolkit, MIT.
More from duotify/GitHubClawToolkit
- 0.754score
gemini-deep-researcher
duotify
Use this skill when a user wants a comprehensive research report on any topic with cited sources.
SkillBFreshness: B★ 254Claude Code +9 - 0.754score
gemini-summary
duotify
Use this skill when a user provides a web page URL, PDF file, video, or audio file and wants a Traditional Chinese summary.
SkillBFreshness: B★ 254Claude Code +9 - 0.754score
gemini-audio-transcriber
duotify
Use this skill when a user provides an audio file (local file or URL) and wants it transcribed into Traditional Chinese text.
SkillBFreshness: B★ 254Claude Code +9 - 0.690score
pr-creator
duotify
Use this skill when asked to create a pull request (PR).
SkillCFreshness: C★ 254Claude Code +9 - 0.621score
google-stitch
duotify
Use this skill when users want to generate UI mockups, landing pages, wireframes, design concepts, marketing sections, or page prototypes from a prompt and…
SkillDFreshness: D★ 254Claude Code +9 - 0.621score
gemini-image-describer
duotify
Use this skill when a user provides an image (local file or URL) and wants a detailed Traditional Chinese description of the image content.
SkillDFreshness: D★ 254Claude Code +9 - 0.621score
telegram-notify
duotify
Send Telegram Bot notifications for development events, CI/CD pipeline status, and AGENTS.md progress updates.
SkillDFreshness: D★ 254Claude Code +9 - 0.621score
felo-x-search
duotify
Search X (Twitter) data using Felo X Search API.
SkillDFreshness: D★ 254Claude Code +9 - 0.621score
felo-search
duotify
Felo AI real-time web search for questions requiring current/live information.
SkillDFreshness: D★ 254Claude Code +9 - 0.621score
felo-slides
duotify
Generate PPT/slides with Felo PPT Task API in Claude Code.
SkillDFreshness: D★ 254Claude Code +9 - 0.618score
githubclaw-json-generator
duotify
為 GitHubClawToolkit 的 skill 或 template 目錄生成 githubclaw.json metadata 檔案。當使用者新增、更新 skill/template 並需要建立或更新 githubclaw.json 時觸發。也適用於批次為多個 skill/template 產生…
SkillDFreshness: D★ 254Claude Code +9 - 0.618score
felo-web-fetch
duotify
Extract webpage content with Felo Web Extract API.
SkillDFreshness: D★ 254Claude Code +9
Signals
- Stars
- 254
- Forks
- 54
- Open issues
- 1
- Last commit (this folder)
- Mar 31, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/duotify/GitHubClawToolkit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from duotify
- 0.754score
gemini-deep-researcher
duotify
Use this skill when a user wants a comprehensive research report on any topic with cited sources.
SkillBFreshness: B★ 254Claude Code +9 - 0.754score
gemini-audio-transcriber
duotify
Use this skill when a user provides an audio file (local file or URL) and wants it transcribed into Traditional Chinese text.
SkillBFreshness: B★ 254Claude Code +9 - 0.754score
gemini-summary
duotify
Use this skill when a user provides a web page URL, PDF file, video, or audio file and wants a Traditional Chinese summary.
SkillBFreshness: B★ 254Claude Code +9 - 0.690score
pr-creator
duotify
Use this skill when asked to create a pull request (PR).
SkillCFreshness: C★ 254Claude Code +9 - 0.621score
felo-search
duotify
Felo AI real-time web search for questions requiring current/live information.
SkillDFreshness: D★ 254Claude Code +9 - 0.621score
felo-slides
duotify
Generate PPT/slides with Felo PPT Task API in Claude Code.
SkillDFreshness: D★ 254Claude Code +9
Cite this page
gemini-nanobanana skill. Agent Mart. https://agentmart.dev/skills/duotify-gemini-nanobanana (last updated 2026-10-24)