Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/iofold/ainative-claude-pluginsnpx agentmods add skills/iofold/ainative-claude-plugins/gemini-batchWrote 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/iofold/ainative-claude-plugins/gemini-batch)<a href="https://agentmods.dev/skills/iofold/ainative-claude-plugins/gemini-batch"><img src="https://agentmods.dev/badge/skills/iofold/ainative-claude-plugins/gemini-batch/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/iofold/ainative-claude-plugins/gemini-batch"><img src="https://agentmods.dev/badge/skills/iofold/ainative-claude-plugins/gemini-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00046 | $0.01537 |
| Opus 5.5 | $0.00018 | $0.00615 |
| Sonnet 5.5 | $0.00009 | $0.00307 |
| Haiku 4.5 | $0.00005 | $0.00154 |
Grade B, and why
gemini-batch scanned grade B with 1 finding 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 1mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
Set in `~/.claude/settings.json` under the `env` key (available as `process.env` automatically). How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gemini CLI
Standalone CLI for Google Vertex AI Gemini models. Single prompts, file attachments, batch processing, and image generation.
Script: skills/gemini-batch/gemini-batch.ts
Quick Start
# Simple prompt
skills/gemini-batch/gemini-batch.ts "Explain quantum computing"
# Analyze files
skills/gemini-batch/gemini-batch.ts -f screenshot.png "Describe this UI"
skills/gemini-batch/gemini-batch.ts -f before.png -f after.png "Compare these"
# Batch process directory
skills/gemini-batch/gemini-batch.ts --batch ./screenshots/ --out ./analysis/ -p prompt.txt
# Generate images (Nano Banana 2)
skills/gemini-batch/gemini-batch.ts --image "A serene mountain landscape" --out ./images/
Configuration
Required env vars: VERTEXAI_PROJECT, VERTEXAI_LOCATION, GOOGLE_APPLICATION_CREDENTIALS
Option A — Inject from vault:
vault inject VERTEXAI_PROJECT VERTEXAI_LOCATION GOOGLE_APPLICATION_CREDENTIALS
# Or if vault keys differ from .env names:
vault inject VERTEXAI_PROJECT_MYAPP=VERTEXAI_PROJECT
Option B — Claude Code session env:
Set in ~/.claude/settings.json under the env key (available as process.env automatically).
Usage Modes
1. Single Prompt
gemini-batch.ts "Your prompt" # inline
gemini-batch.ts -p system-prompt.txt # from file
echo "prompt" | gemini-batch.ts --stdin # from stdin
2. File Attachments
gemini-batch.ts -f image.png -f doc.pdf "Analyze these"
Supported: .png, .jpg, .jpeg, .gif, .webp, .pdf, .txt, .md, .json, .csv, .html, .xml
3. Batch Mode
# Directory of files + shared prompt
gemini-batch.ts --batch ./images/ --out ./results/ -p "Analyze this UI"
# Subdirectories with individual prompt.txt files
gemini-batch.ts --batch ./tasks/ --out ./results/
Output: one .md file per input. Cached results reused unless --no-cache.
4. Image Generation (Nano Banana)
gemini-batch.ts --image "A cute robot reading a book" --out ./images/
gemini-batch.ts --image "Cyberpunk city" --out ./art/ --count 4 --aspect 16:9
What ships with it
1 file 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.
- 1mo ago Changed · -142 lines · +13 tokens per session scan A → B a037cd345cd5
- 3mo ago First seen · 308 lines · 33 tokens per session scan A 96e4c9da1266
gemini-batch is a skill published in the GitHub repository iofold/ainative-claude-plugins (3 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 1,537 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
gemini-batch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gemini-batchiofold/ainative-claude-plugins | Skill | 3 | 1mo ago | MIT | B | 46 | Claude Code |
| agent-platform-model-registrygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| llm-evaluationsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 25 | Claude Code |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 25k | today | Apache-2.0 | A | 132 | Claude Code, Codex |
| training-checkwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | yesterday | MIT | A | 35 | Claude Code |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 30 | Claude Code |