agy-image-gen

agy-image-gen is a skill for Claude Code from yinjs/agyenvoy. It costs 57 tokens per session (686 once invoked), scanned A, original, MIT.

A skill for generating or editing raster images—bitmap files such as photos, illustrations, logos, icons, and concept art—through the agy tool, which uses Google's Gemini image model.

In plain words
What is it for?
Creating website images, placeholders, hero images, avatars, illustrations, photos, logos, and icons from text descriptions.
Why use it?
It tells the agent how to handle image requests when Claude has no built-in image-generation tool, including where to save the result.

Skill for Claude Code

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

Part of the agyenvoy plugin — 3 skills shipped together

Good fit Creating website images, placeholders, hero images, avatars, illustrations, photos, logos, and icons from text descriptions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yinjs/agyenvoy/agy-image-gen
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 yinjs/agyenvoy --skill agy-image-gen
Clone the repo
git clone --depth 1 https://github.com/yinjs/agyenvoy

Made for: Claude Code.

Or install agyenvoy, 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 agy-image-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/yinjs/agyenvoy/agy-image-gen/github.svg)](https://agentmods.dev/skills/yinjs/agyenvoy/agy-image-gen)
Your own site
<a href="https://agentmods.dev/skills/yinjs/agyenvoy/agy-image-gen"><img src="https://agentmods.dev/badge/skills/yinjs/agyenvoy/agy-image-gen/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 agy-image-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/yinjs/agyenvoy/agy-image-gen"><img src="https://agentmods.dev/badge/skills/yinjs/agyenvoy/agy-image-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 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.00057 $0.00686
Opus 5 $0.00028 $0.00343
Sonnet 5 $0.00011 $0.00137
Haiku 4.5 $0.00006 $0.00069

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

Security

Grade A, and why

agy-image-gen 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 8d 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/agy-image-gen/SKILL.md · 60 lines

How it starts

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

Generating Images with agy

Overview

Claude has no image-generation tool. The agy (Antigravity) CLI wraps Google's Gemini native image model and can produce real raster images from a text prompt. This plugin exposes agy as the agy_ask MCP tool. When asked for an image, call agy_ask instead of refusing.

When to Use

  • User wants a generated image/illustration/photo/logo/icon/concept art from a description.
  • User wants a placeholder, hero, avatar, or asset image for a site or doc.
  • NOT for: charts/plots/diagrams from data (write code — matplotlib/mermaid/SVG), or flat geometric/vector shapes (agy writes code for those too — see Traps).

Recipe

Call agy_ask with the target directory in add_dir and an absolute save path in the prompt:

  • prompt: Using your native image generation model, create <rich photographic description>. Save the image to <absolute-dir>/<name>.png. Do NOT write a script or use matplotlib/PIL.
  • add_dir: ["<absolute-dir>"] ← same dir as the save path
  • timeout_ms: 600000 ← generation takes ~30–90s; give ≥5 min

Without both add_dir and an absolute save path, agy dumps the image to its own scratch dir instead of where you want it.

If agy_ask returns "not logged in", call agy_login first, then retry.

Traps

Symptom Cause Fix
Tiny PNG (few KB), flat shapes Simple/geometric prompt → agy writes matplotlib/PIL code instead of calling the AI model Say "Using your native image generation model" and describe a rich, photographic scene
Image saved elsewhere No workspace set Pass add_dir and an absolute path in the prompt
Command hangs / times out Prompt referenced an input file not in the workspace Only reference paths that exist; put any input image in the add_dir dir

Read the full file on GitHub · 60 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. 8d ago First seen · 60 lines · 57 tokens per session scan A dc737e7afb8e

Subscribe to this mod's changes

agy-image-gen is a skill published in the GitHub repository yinjs/agyenvoy (1 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 686 once invoked, about $0.0003 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

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens