gemini-imagegen

gemini-imagegen is a command for Claude Code from Vallykrie/gemini-swarm-skill. It costs 22 tokens per session (170 once invoked), scanned A, original, MIT.

An image-making command that uses a Gemini session to create a new image or change an existing one.

In plain words
What is it for?
Use it for image requests such as illustrations, photos, icons, or edits, with the result saved to a chosen file path.
Why use it?
It gives a coding agent a way to handle image work when its usual tools cannot generate raster images.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the gemini-swarm plugin — 2 skills, 2 commands, 1 agent shipped together

Good fit Use it for image requests such as illustrations, photos, icons, or edits, with the result saved to a chosen file path.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vallykrie/gemini-swarm-skill/gemini-imagegen
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Vallykrie/gemini-swarm-skill

Made for: Claude Code.

Or install gemini-swarm, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 1 agent.

Wrote 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.

agentmods badge for gemini-imagegen

README.md
[![agentmods](https://agentmods.dev/badge/commands/vallykrie/gemini-swarm-skill/gemini-imagegen/github.svg)](https://agentmods.dev/commands/vallykrie/gemini-swarm-skill/gemini-imagegen)
Your own site
<a href="https://agentmods.dev/commands/vallykrie/gemini-swarm-skill/gemini-imagegen"><img src="https://agentmods.dev/badge/commands/vallykrie/gemini-swarm-skill/gemini-imagegen/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.

agentmods 80×15 button for gemini-imagegen

Your own site · 80×15
<a href="https://agentmods.dev/commands/vallykrie/gemini-swarm-skill/gemini-imagegen"><img src="https://agentmods.dev/badge/commands/vallykrie/gemini-swarm-skill/gemini-imagegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00170
Opus 5 $0.00011 $0.00085
Sonnet 5 $0.00004 $0.00034
Haiku 4.5 $0.00002 $0.00017

Measured 10d ago against content hash 3b108450fdb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gemini-imagegen 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 10d 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.

commands/gemini-imagegen.md · 18 lines

What it actually says

Run the gemini-imagegen skill (skills/gemini-imagegen/SKILL.md in this plugin — read it now and follow it exactly).

Arguments given: $ARGUMENTS

Treat the whole argument string as the image request. If it is empty, ask the user what image they want and where to save it, then proceed.

Follow the skill: build a detailed image prompt, pick an absolute output path (ask only if no sensible default exists in the project), dispatch the agy job, verify by viewing the resulting file, and deliver it. Multiple requested images are dispatched in parallel, one agy job each.

Changes

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.

  1. 10d ago First seen · 18 lines · 22 tokens per session scan A 3b108450fdb7

Subscribe to this mod's changes

gemini-imagegen is a command published in the GitHub repository Vallykrie/gemini-swarm-skill (6 stars, last pushed 21d ago), licensed MIT. It adds 22 tokens to every session and 170 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other commands, from other repositories

media

Ask a question about an AUDIO, VIDEO or IMAGE file (or a YouTube/remote URL) with Antigravity (agy / Gemini 3.x multimodal). Beyond transcription — "what decisions were made in this meeting?", "what happens at 2:30 in the video?", "what's the tone of this voice note?". Claude Code can't see/hear media; agy can.

MarcosNahuel/antigravity-plugin-cc · 80 tokens

transcribe

Transcribe and summarize an AUDIO or VIDEO file (or a YouTube/remote URL) with Antigravity (agy / Gemini 3.x multimodal) — something Claude can't do natively. Voice notes, meetings, calls, screencasts. Faithful transcript + summary; timestamps for video/URLs. Saves to docs/agy/transcripts/.

MarcosNahuel/antigravity-plugin-cc · 71 tokens

video

WATCH a video and return a structured VISUAL breakdown (not just a transcript) with Antigravity (agy / Gemini 3.x, natively multimodal in video). Scene-by-scene segments with timestamps, on-screen text/OCR (slides, charts, UI, captions), key visual events, and a summary. For screencasts, tutorials, presentations…

MarcosNahuel/antigravity-plugin-cc · 96 tokens

agy-debug

Send an error/stack trace plus the relevant file(s) to Antigravity (agy) for root-cause analysis.

AIgen-Solutions-s-r-l/agy-claude-plugin · 25 tokens

agy-review

Send the current change set to Antigravity (agy) for a senior-reviewer code review.

AIgen-Solutions-s-r-l/agy-claude-plugin · 20 tokens

agy-panel

Ask Antigravity (agy) the same question across several distinct models and compare their answers side by side.

AIgen-Solutions-s-r-l/agy-claude-plugin · 22 tokens