Agent Scripts is a repository of shared instructions, reusable skills, helper scripts, and local safeguards for coding-agent workflows across multiple workspaces. It is for maintaining common agent behavior and portable development utilities between repositories.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add steipete/agent-scripts --skill nano-banana-progit clone --depth 1 https://github.com/steipete/agent-scriptsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/steipete/agent-scripts/nano-banana-pro)<a href="https://agentmods.dev/skills/steipete/agent-scripts/nano-banana-pro"><img src="https://agentmods.dev/badge/skills/steipete/agent-scripts/nano-banana-pro/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/steipete/agent-scripts/nano-banana-pro"><img src="https://agentmods.dev/badge/skills/steipete/agent-scripts/nano-banana-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Memory Poisoning · line 88 Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
- medium Rogue Agent · line 87 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.02186 |
| Opus 5.5 | $0.00010 | $0.00874 |
| Sonnet 5.5 | $0.00005 | $0.00437 |
| Haiku 4.5 | $0.00003 | $0.00219 |
Grade A, and why
nano-banana-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
2 near-identical copies found in the catalogue:
- nano-banana-pro — 91% identical, 50 lines differ
- nano-banana-pro — 91% identical, 50 lines differ
How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nano Banana Image Generation & Editing
Generate new images or edit existing ones with Google's Gemini image models: Nano Banana 2 (Gemini 3.1 Flash Image, the default) or Nano Banana Pro (Gemini 3 Pro Image, --model pro).
Usage
Run the script by absolute path from the user's working directory (do NOT cd to the skill directory first). $SKILL_DIR below is the directory containing this SKILL.md, i.e. the skill's base directory as your agent reports it (for example ~/.claude/skills/nano-banana-pro for Claude Code, ~/.codex/skills/agent-scripts/nano-banana-pro for Codex).
Generate new image:
uv run "$SKILL_DIR/scripts/generate_image.py" --prompt "your image description" --filename "output-name.png" [--resolution 512|1K|2K|4K] [--model flash|pro|MODEL_ID] [--api-key KEY]
Edit existing image:
uv run "$SKILL_DIR/scripts/generate_image.py" --prompt "editing instructions" --filename "output-name.png" --input-image "path/to/input.png" [--resolution 512|1K|2K|4K] [--model flash|pro|MODEL_ID] [--api-key KEY]
Important: Always run from the user's current working directory so images are saved where the user is working, not in the skill directory.
Default Workflow (draft → iterate → final)
Goal: fast iteration without burning time on 4K until the prompt is correct.
- Draft (1K): quick feedback loop
uv run "$SKILL_DIR/scripts/generate_image.py" --prompt "<draft prompt>" --filename "yyyy-mm-dd-hh-mm-ss-draft.png" --resolution 1K
- Iterate: adjust prompt in small diffs; keep filename new per run
- If editing: keep the same
--input-imagefor every iteration until you’re happy.
- If editing: keep the same
- Final (4K): only when prompt is locked
uv run "$SKILL_DIR/scripts/generate_image.py" --prompt "<final prompt>" --filename "yyyy-mm-dd-hh-mm-ss-final.png" --resolution 4K
Model Selection
flash(default) →gemini-3.1-flash-image(Nano Banana 2): fast and cheap; the right choice for drafts, generation, and simple edits.pro→gemini-3-pro-image(Nano Banana Pro): 1K/2K/4K only, slower and costs more per image, but noticeably better at photoreal edits of real photos, such as inserting furniture or products into a room or patio while keeping perspective, lighting, and shadows believable. Use it for those edits, or when the user asks for Pro.- Any other value is passed through as a Gemini model id (for example
gemini-2.5-flash-image).
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed · +17 lines 044cc2dca1cf
- 1mo ago Changed · +3 lines 725fe51f5ede
- 3mo ago First seen · 133 lines · 25 tokens per session scan A 9df002420214
nano-banana-pro is a skill published in the GitHub repository steipete/agent-scripts (7,574 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 2,186 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
nano-banana-pro compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nano-banana-prosteipete/agent-scripts | Skill | 7.6k | 2d ago | MIT | A | 25 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |