Agent skill · AI & Agents

nano-banana-pro-openrouter

Deterministic OpenRouter image generation adapter for Nano Banana Pro / Gemini image models. Use as skill_exec when a meta-skill needs local image files and structured IMAGE_READY records without spawning an LLM agent.

opensquilla6,385★ · +160/wk · 1 repos on radarProfile →
claude-codeships scriptsApache-2.0
Install
npx skills add opensquilla/opensquilla --skill nano-banana-pro-openrouter --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
Path: src/opensquilla/skills/bundled/nano-banana-pro-openrouter/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 6,515 · +130 this week
Language: Python
Read our review of the source →

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

From the SKILL.md

# Nano Banana Pro OpenRouter Adapter This skill is a deterministic adapter around OpenRouter image generation. It is intended for meta-skill `skill_exec` use, not as an open-ended agent surface. ## Contract - Uses an explicit `with.api_key` value by injecting it into the configured `with.api_key_env` child process environment variable; it never renders the key into argv. - Does not read `.env` files, prompt for credentials, print credentials, or write credentials to disk. - Uses only the model, base URL, output directory, and local path prefix passed by the caller. - Saves generated image bytes under the supplied output directory. - Emits one `IMAGE_READY:` JSON line per saved image. - On missing config or provider failure, emits `IMAGE_CONFIG_NEEDED` or `IMAGE_GENERATION_FAILED` instead of raising non-zero process errors. ## Meta-Skill Payload Mode When stdin is JSON containing `media_slots`, `image_slots`, `slots`, or `page_outline`, the adapter generates image slots and preserves already downloaded images. Structured slots are preferred over free-form outline text: ```json { "requirement_framing": "...", "media_slots": {"slots": [{"slot_id": "hero-visual", "modality": "image"}]}

What's inside
Steps it walks through
  1. Contract
  2. Meta-Skill Payload Mode
  3. Plain Prompt Mode
Ships with 2 files
  • _meta.json
  • scripts/openrouter_image.py
More from opensquilla
All skills →
About this skill
What does the nano-banana-pro-openrouter skill do?

Deterministic OpenRouter image generation adapter for Nano Banana Pro / Gemini image models. Use as skill_exec when a meta-skill needs local image files and structured IMAGE_READY records without spawning an LLM agent.

How do I install it?

Run `npx skills add opensquilla/opensquilla --skill nano-banana-pro-openrouter --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 opensquilla/opensquilla, a repository with 6,515 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