Skip to content
Skills Library
Design & UX · Building & coding

gemini-imagegen

/gemini-imagegen

Use when the user asks to generate, create, draw, edit, or restyle an image, or when a task needs image assets — logos, icons, illustrations, hero images, textures, photos, placeholder art, social/OG cards. Claude cannot produce raster images; a Gemini session via the agy (Antigravity) CLI has a generate_image tool that can. Trigger words include "generate an image", "make a picture/logo/icon", "draw", "nano banana", "image asset".

Licence
MIT
Last repository change
28.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 28.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when the user asks to generate, create, draw, edit, or restyle an image, or when a task needs image assets — logos, icons, illustrations, hero images, textures, photos, placeholder art, social/OG cards. Claude cannot produce raster images; a Gemini session via the agy (Antigravity) CLI has a generate_image tool that can. Trigger words include "generate an image", "make a picture/logo/icon", "draw", "nano banana", "image asset".

Triggers from the description

generate an imagemake a picture/logo/icondrawnano bananaimage asset
Original author description

Use when the user asks to generate, create, draw, edit, or restyle an image, or when a task needs image assets — logos, icons, illustrations, hero images, textures, photos, placeholder art, social/OG cards. Claude cannot produce raster images; a Gemini session via the agy (Antigravity) CLI has a generate_image tool that can. Trigger words include "generate an image", "make a picture/logo/icon", "draw", "nano banana", "image asset".

How it works

  1. Step 0 — Preflight
  2. Step 1 — Write the image prompt
  3. Step 2 — Dispatch
  4. Step 3 — Verify and deliver
  5. Common mistakes
Original SKILL.md headings · 81 lines, 629 words
SKILL.md preview
---
name: gemini-imagegen
description: Use when the user asks to generate, create, draw, edit, or restyle an image, or when a task needs image assets — logos, icons, illustrations, hero images, textures, photos, placeholder art, social/OG cards. Claude cannot produce raster images; a Gemini session via the agy (Antigravity) CLI has a generate_image tool that can. Trigger words include "generate an image", "make a picture/logo/icon", "draw", "nano banana", "image asset".
---

# gemini-imagegen

Claude cannot generate raster images. Gemini sessions launched through the
`agy` (Antigravity CLI) have a **`generate_image`** tool that can — this skill
dispatches an agy job that generates the image and saves it to a file you
specify.

Read the [model catalog](references/models.md) and use its `flash-high` profile.
Check `agy --help` if flags differ in your installed version. Image-tool
availability must be checked in the session; model listing alone does not
verify image generation.

## Step 0 — Preflight

1. `command -v agy` — if missing, stop and tell the user to install the
   Antigravity CLI (https://antigravity.google).
2. Run `agy models` and confirm the catalog’s exact model is available. Do not
   substitute a Pro model if it is missing.
3. Decide the **absolute** output path(s) for the image(s). agy `--print`
   sessions do not run in your invocation cwd, so relative paths land in the
   wrong place — always pass absolute paths in the prompt and `--add-dir` the
   destination directory.

## Step 1 — Write the image prompt

Be specific — the quality of the image tracks the prompt. Include:

- **Subject** — what the image shows.
- **Style** — photo, flat illustration, 3D render, watercolor, pixel art,
  logo mark, etc.
- **Composition** — framing, background, negative space.
- **Colors / mood** — palette, lighting.
- **Intended use** — favicon, hero banner, OG card — so the model picks a
  sensible aspect ratio and level of detail.

For **editing an existing image** (restyle, variation, background removal),
give the absolute path of the source image in the prompt, `--add-dir` its
directory too, and ask Gemini to load it before generating the edited version.

## Step 2 — Dispatch

One image (replace the model placeholder from the catalog, plus prompt and paths):

```bash
agy --print "Use your generate_image tool to create: <detailed image prompt>. Save the final image to /abs/path/out.png. When it is saved, print IMAGE_OK followed by the file path. If you cannot generate images, print IMAGE_UNSUPPORTED and stop." \
  --model "<exact agy model name from references/models.md>" \
  --print-timeout 5m \
  --add-dir /abs/path \
  --dangerously-skip-permissions --sandbox
```

- `--dangerously-skip-permissions --sandbox` lets the job write the file
  without an approval TTY (there is none in `--print` mode). If the user runs
  you in review mode and objects to auto-approval, ask before dispatching.
- **Multiple images:** dispatch them in parallel, one agy job per image —
  either background several of the above commands, or reuse the gemini-swarm
  dispatcher (`scripts/dispatch.sh`) with one `NN-slug.prompt.md` per image
  (`MODEL: <exact agy model name from references/models.md>` header). Never generate sequentially.

## Step 3 — Verify and deliver

1. Check the output: file exists, non-zero size, `IMAGE_OK` in stdout.
2. **Look at the image** (read/view the file) — confirm it actually matches
   the request before claiming success.
3. Wrong or off-brief result → refine the prompt (state what to change) and
   re-dispatch; for small revisions, include the previous image as a source
   to edit.
4. Deliver: send/show the file to the user, or wire it into the project
   (HTML `<img>`, README, app asset) if that was the task.

## Common mistakes

| Mistake | Fix |
|---------|-----|
| Relative output path | agy print jobs don't run in your cwd — absolute paths only, plus `--add-dir`. |
| Claiming success from exit code alone | View the image; models sometimes save a wrong or blank file. |
| Generating N images in one sequential session | One parallel agy job per image. |
| Trying to generate the image yourself (SVG "art", ASCII, base64) when the user wanted a real image | That's the failure this skill exists to prevent — dispatch to Gemini. |
| Telling the user "I can't generate images" | You can't, but Gemini via agy can. Use this skill instead of refusing. |
Files in this package (2)
  • SKILL.md 4 KB
  • references/models.md 1 KB

Versions

RepositoryScoreLicence
This page · vallykrie/gemini-swarm-skill100MIT
jikig-ai/soleur100Apache-2.0
davekilleen/Dex100MIT

Database snapshot: 13.11.2026 · package version 0ac8f0c66605 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100codex-imagegen
    Generates images and polished raster art (logos, mascots, hero images, icons, characters, sprite sheets, illustrations, product mockups) by driving Codex CLI's $imagegen skill. This is the default image generator, use it for any request to generate or create an image or visual…
  • 100codex-imagegen
    Generate or edit raster images (photos, illustrations, mockups, logos, product shots, game/UI assets, textures, infographics) using Codex's built-in image_gen tool — driven headlessly through `codex exec`. Billed via the user's ChatGPT/Codex login, so it needs NO OpenAI API key.…
  • 100nano-banana-imagegen
    Generate and edit images using Google Gemini image models via the nano-banana CLI. Use when the user asks to create, generate, make, or edit images with AI. Supports text-to-image, image editing, style transfer, and multi-image composition. Trigger on requests like "create an…
  • 100generating-images
    Generate or edit images using the OpenAI Image API (gpt-image-2). Use when the user asks to generate, create, draw, render, illustrate, mock up, or edit an image, icon, logo, mockup, illustration, OG image, blog hero, marketing asset, or similar visual. Also use when the user…
  • 100gemini-image-generator
    Generate or edit raster images with Google's Nano Banana model through the Antigravity CLI's built-in generate_image tool, run in a subagent. Use when the user names Gemini, Nano Banana, or Antigravity. Not for SVG, icons, or code diagrams. The default image path is codex-image-generator.
  • 100gemini-image
    Generate or edit images with Google's built-in Antigravity image tool (Nano Banana family) on the user's Google AI subscription, by running the official Antigravity CLI (agy) headlessly. Use whenever the user asks to generate, create, draw or edit an image, picture,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.