image-gemini-s3

image-gemini-s3 is a skill for Claude Code from tadeukaiba/mcp-media-toolkit. It costs 129 tokens per session (1,472 once invoked), scanned A, original, MIT.

Instructions for generating an image with Google Gemini and uploading it to S3-compatible storage, which is cloud storage that can provide a usable public link.

In plain words
What is it for?
Handling image requests, improving the image prompt, generating the image, uploading it, and returning both a local file and a public URL.
Why use it?
They turn image creation and online publishing into one workflow, so the result can be embedded, shared, or used in a project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mcp-media-toolkit plugin — 3 skills shipped together

Good fit Handling image requests, improving the image prompt, generating the image, uploading it, and returning both a local file and a public URL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tadeukaiba/mcp-media-toolkit/image-gemini-s3
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.

Any agent
npx skills add tadeukaiba/mcp-media-toolkit --skill image-gemini-s3
Clone the repo
git clone --depth 1 https://github.com/tadeukaiba/mcp-media-toolkit

Made for: Claude Code.

Or install mcp-media-toolkit, the plugin that ships this one along with the rest of its 3 skills.

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 image-gemini-s3

README.md
[![agentmods](https://agentmods.dev/badge/skills/tadeukaiba/mcp-media-toolkit/image-gemini-s3/github.svg)](https://agentmods.dev/skills/tadeukaiba/mcp-media-toolkit/image-gemini-s3)
Your own site
<a href="https://agentmods.dev/skills/tadeukaiba/mcp-media-toolkit/image-gemini-s3"><img src="https://agentmods.dev/badge/skills/tadeukaiba/mcp-media-toolkit/image-gemini-s3/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 image-gemini-s3

Your own site · 80×15
<a href="https://agentmods.dev/skills/tadeukaiba/mcp-media-toolkit/image-gemini-s3"><img src="https://agentmods.dev/badge/skills/tadeukaiba/mcp-media-toolkit/image-gemini-s3.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,472 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.00129 $0.01472
Opus 5 $0.00064 $0.00736
Sonnet 5 $0.00026 $0.00294
Haiku 4.5 $0.00013 $0.00147

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

Security

Grade A, and why

image-gemini-s3 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.

skills/image-gemini-s3/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate Image with Gemini and Upload to S3

One-shot workflow: take a user request, optimize the prompt, generate an image with Gemini, upload it to S3-compatible storage, and return the public URL. This is the most common image use case — the user almost always wants a URL they can use.

When to use this skill vs /generate-image-gemini

  • Use this skill (image-gemini-s3) when the user will want the image online — embedding in docs, sharing a link, using in a project, posting somewhere.
  • Use /generate-image-gemini when the user explicitly only wants a local file, is in a disconnected environment, or hasn't configured S3.

When in doubt, default to this skill. Adding an upload takes almost no extra time and the user ends up with both the local file path AND the URL.

Workflow

  1. Capture the request. If the prompt is vague, ask one focused question to lock down the subject. Otherwise proceed.

  2. Optimize the prompt. Rewrite the user's description into a detailed image prompt. See the Prompt Optimization section below — it's the same approach as /generate-image-gemini, and it's the main reason this skill produces better results than calling the raw tool.

  3. Pick defaults.

    • quality: fast (Nano Banana, 1K) — this is the right default. It's cheap and quick, and most image requests don't need more. Move up to balanced only when the user signals they care about quality ("for my landing page", "this needs to look polished"). Use quality only when the user explicitly asks for photorealistic/print-quality work — warn them it takes several minutes.
    • aspect_ratio: match the use case — 1:1 for avatars/icons, 16:9 for landing pages/banners, 9:16 for portraits/stories, 4:3 for photos, 3:4 for posters
    • format: png default, webp if the user mentioned web performance, jpeg only for large photographic content
  4. Call the tool. Use mcp__mcp-media-toolkit__generate_and_upload_gemini_s3 with the optimized prompt and chosen options. This runs generation and upload in one call, so partial failures are handled cleanly.

Read the full file on GitHub · 87 lines

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 · 87 lines · 129 tokens per session scan A 7a8e4302955d

Subscribe to this mod's changes

image-gemini-s3 is a skill published in the GitHub repository tadeukaiba/mcp-media-toolkit (0 stars, last pushed 5mo ago), licensed MIT. It adds 129 tokens to every session and 1,472 once invoked, about $0.0006 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 skills, from other repositories