Claude-skill-registry gemini-gen
Generates images using Google's Gemini model. Prioritizes standard resolution to save quota. Automatically opens images on macOS.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/gemini-gen" ~/.claude/skills/majiayu000-claude-skill-registry-gemini-gen && rm -rf "$T"
manifest:
skills/data/gemini-gen/SKILL.mdsource content
Gemini Image Generator
This skill generates images using Google's Gemini model. It is configured to be cost-efficient by defaulting to standard resolution models.
Usage
python3 {script_path} "Prompt" [--model model_name] [--output filename.png] [--no-open]
IMPORTANT: Model Selection Policy (Quota Saving)
Always default to standard resolution models. Do NOT use 4K models unless the user explicitly mentions "4K", "Ultra HD", or "High Definition".
Available Models
| Model Name | Aspect Ratio | Resolution | Cost Category |
|---|---|---|---|
(Default) | 1:1 | Standard | Low (Recommended) |
| 16:9 | Standard | Low (Recommended) |
| 9:16 | Standard | Low (Recommended) |
| 1:1 | 4K | High |
| 16:9 | 4K | High |
| 9:16 | 4K | High |
Decision Logic for Alma
- Default: Use
.gemini-3-pro-image - Aspect Ratio:
- If "landscape/widescreen/16:9", use
.gemini-3-pro-image-16x9 - If "portrait/mobile/9:16", use
.gemini-3-pro-image-9x16
- If "landscape/widescreen/16:9", use
- 4K (Only if explicitly requested):
- Only upgrade to a
model if the user explicitly says "4K" or equivalent high-res keywords.-4k
- Only upgrade to a
Note on Display
Alma's chat UI does not render local images. The skill uses
open to show the image in the system viewer.