Agent skill

Generate Image

by cluesmith in cluesmith/codev

AI image generation via Gemini with optional async providers.

Apache-2.0Auto-check passedMedia & Creative

Install Generate Image

skills CLI
$ npx skills add cluesmith/codev --skill generate-image -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cluesmith/codev generate-image --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cluesmith/codev.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/generate-image .claude/skills/generate-image && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
generate-image
GitHub stars
288
Token cost
~751 tokens
SKILL.md length
253 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

AI image generation via Gemini with optional async providers.

  • The user wants to generate
  • SKILL.md covers Synopsis, All flags, Aspect ratios and Examples, plus 3 more sections
  • Needs GEMINI_API_KEY and GOOGLE_API_KEY
  • You need to create visual assets like logos

What it does

Generate Image is an agent skill from cluesmith/codev. AI image generation via Gemini with optional async providers. Use when the user wants to generate, create, or make an image, or when you need to create visual assets like logos, diagrams, or illustrations. Requires the API key for the selected provider.

Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Image generation. It works with Google Gemini. The repository describes itself as: Codev helps humans and agents co-develop both the context and the code of the project. The licence is Apache-2.0.

When your agent uses it

  • The user wants to generate
  • You need to create visual assets like logos

Example prompts

  • “/generate-image”

Requirements

  • A credential in GEMINI_API_KEY
  • A credential in GOOGLE_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 9cd8607. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • muapi.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY
    • GOOGLE_API_KEY
    • ATLASCLOUD_API_KEY
    • MUAPI_API_KEY
    • MU_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Generate Image loads about 751 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 253 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~751

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cluesmith/codev at commit 9cd8607, republished under its Apache-2.0 licence (© cluesmith). 253 words, ~751 tokens.

Download SKILL.mdSave it as .claude/skills/generate-image/SKILL.md (or your agent's skills folder).
name
generate-image
description
AI image generation via Gemini with optional async providers. Use when the user wants to generate, create, or make an image, or when you need to create visual assets like logos, diagrams, or illustrations. Requires the API key for the selected provider.

generate-image - AI Image Generation

Uses Google Gemini to generate images from text prompts.

Synopsis

codev generate-image "<prompt>" [options]

Note: this is a codev subcommand, not standalone.

All flags

-o, --output <file>        Output file path (default: output.png)
-r, --resolution <res>     Resolution: 1K, 2K, 4K (default: 1K)
-a, --aspect <ratio>       Aspect ratio (default: 1:1)
--ref <image>              Reference image (repeatable, max 14)
-p, --provider <name>      Provider name (default: gemini)

Aspect ratios

1:1 | 16:9 | 9:16 | 3:4 | 4:3 | 3:2 | 2:3

Examples

bash
codev generate-image "A sunset over mountains"
codev generate-image "A futuristic city" -r 4K -a 16:9 -o city.png
codev generate-image "Same style but with cats" --ref style.png --ref layout.png
codev generate-image prompt.txt -o result.png    # Prompt from .txt file

Notes

  • Prompt must be quoted if it contains spaces
  • Prompt can be a .txt file path (auto-detected by extension)
  • Reference images must exist on disk
  • Requires GEMINI_API_KEY or GOOGLE_API_KEY environment variable

Alternative provider: Atlas Cloud

-p atlas generates through Atlas Cloud, which serves the same Nano Banana Pro model over a submit-then-poll REST API. Useful when a Google AI Studio key is not available. Requires ATLASCLOUD_API_KEY; the default provider is unchanged.

bash
codev generate-image "A sunset over mountains" -p atlas -a 16:9

Measured differences on that path:

  • -a/--aspect works (1:1 returns 1024x1024, 16:9 returns 1376x768).
  • -r/--resolution has no equivalent field; a note is printed and the model's default resolution comes back.
  • --ref is not supported (text-to-image only) and exits with an error rather than silently ignoring the images.
  • The model returns JPEG, so the output file is named after its actual bytes instead of writing JPEG into the default output.png.

MuAPI provider

-p muapi uses MuAPI's Nano Banana Pro endpoint with the same aspect-ratio and resolution controls. Set MUAPI_API_KEY (or MU_API_KEY) using the MuAPI access keys page. Reference images are uploaded to MuAPI and sent to the edit endpoint; returned media is downloaded only over HTTPS.

bash
codev generate-image "A sunset over mountains" -p muapi -a 16:9
codev generate-image "Keep the subject, change the lighting" -p muapi --ref subject.png

The provider submits a job, polls the MuAPI image API, and writes the returned image locally. Polling and individual requests are bounded, and the API key is never sent to the returned media host.

© cluesmith, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/generate-image of cluesmith/codev.

Open the folder on GitHubat commit 9cd8607

Compare with similar skills

Generate Image next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Generate Image compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Generate Image this skillcluesmith/codev288—~751Automated safety check: PassApache-2.0
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Gemini Web Reverse-Engineered ClientJimLiu/baoyu-skills26k6 repos~1.6kAutomated safety check: PassMIT
Logo Generatorop7418/logo-generator-skill2.2k—~1.8kAutomated safety check: NotesNone
NanobananaReScienceLab/opc-skills1.8k1 repos~1.3kAutomated safety check: PassApache-2.0
SEO Image GeneratorAgriciDaniel/claude-seo18k2 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Generates text and images through an unofficial, reverse-engineered Gemini Web API, supporting reference images and multi-turn conversations.

    26k GitHub starsUsed in 6 repos~1.6k tokens
    Media & CreativeAuto-check passed
  • Logo Generator

    op7418/logo-generator-skill

    Generate professional SVG logos and high-end showcase images.

    2.2k GitHub stars~1.8k tokensUpdated 5 mo ago
    Media & CreativeAuto-check: notes
  • Nanobanana

    ReScienceLab/opc-skills

    Generate and edit images using Google Gemini 3 Pro Image (Nano Banana Pro).

    1.8k GitHub starsUsed in 1 repo~1.3k tokens
    Media & CreativeAuto-check passed
  • SEO Image Generator

    AgriciDaniel/claude-seo

    Generates Open Graph previews, blog hero images, product photos and infographics for SEO use through Gemini image tools and the banana extension.

    18k GitHub starsUsed in 2 repos~2.1k tokens
    Media & CreativeAuto-check passed
  • BlockRun Image Generation

    BlockRunAI/ClawRouter

    Generates or edits images through ClawRouter's local image API, with a choice of models and sizes and payment handled automatically through x402.

    6.6k GitHub stars~2.1k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed

More from cluesmith/codev

All 12 skills in this repo
  • Afx

    cluesmith/codev

    Agent Farm CLI — the tool for spawning builders, managing Tower, workspaces, and cron tasks.

    288 GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • Arch Init

    cluesmith/codev

    Adopt an architect identity and recover its state from codev/state/<name.md.

    288 GitHub stars~2.7k tokensUpdated 2 days ago
    Auto-check passed
  • Arch Save

    cluesmith/codev

    Save an architect's state, clear its context, and re-init automatically — the packaged save→clear→re-init refresh cycle.

    288 GitHub stars~3.8k tokensUpdated 2 days ago
    Auto-check passed
  • Builder Refresh

    cluesmith/codev

    Refresh a builder's own context at a protocol boundary — save working state, verify it, clear, and re-orient.

    288 GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • Codev

    cluesmith/codev

    Codev project management CLI — init, adopt, update, and doctor commands.

    288 GitHub stars~962 tokensUpdated 2 days ago
    Auto-check passed
  • Consult

    cluesmith/codev

    AI consultation CLI — query Gemini, Codex, or Claude for reviews and analysis.

    288 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check: notes

Works with

Questions about Generate Image

What does Generate Image do?

AI image generation via Gemini with optional async providers. Generate Image is an agent skill from cluesmith/codev. AI image generation via Gemini with optional async providers.

When should I use Generate Image?

Generate Image fits situations like: the user wants to generate; you need to create visual assets like logos.

How do I install Generate Image in Claude Code?

Run `npx skills add cluesmith/codev --skill generate-image -a claude-code`. Or copy the skill folder (.codex/skills/generate-image in cluesmith/codev) into .claude/skills/generate-image in your project. Claude Code loads it when a task matches its description.

How do I install Generate Image in Codex?

Run `npx skills add cluesmith/codev --skill generate-image -a codex`. Or copy the skill folder (.codex/skills/generate-image in cluesmith/codev) into .agents/skills/generate-image in your project. Codex loads it when a task matches its description.

Can I use Generate Image in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cluesmith/codev --skill generate-image -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generate-image, .gemini/skills/generate-image, .github/skills/generate-image and .opencode/skills/generate-image in your project.

What does Generate Image need to run?

Going by SKILL.md and its folder, Generate Image needs credentials named GEMINI_API_KEY, GOOGLE_API_KEY, ATLASCLOUD_API_KEY and MUAPI_API_KEY. Our summary lists: A credential in GEMINI_API_KEY; A credential in GOOGLE_API_KEY.

Does Generate Image access the network?

SKILL.md names 1 domain. As links in the text: muapi.ai. This is read from the text; nothing was executed.

Is Generate Image safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Generate Image use?

Generate Image is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Generate Image use?

About 751 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Generate Image?

Skills that share tags, products or a category with Generate Image: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Gemini Web Reverse-Engineered Client (JimLiu/baoyu-skills, 26k stars), Logo Generator (op7418/logo-generator-skill, 2.2k stars) and Nanobanana (ReScienceLab/opc-skills, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Generate Image?

cluesmith (a GitHub organization) maintains it in cluesmith/codev, which has 288 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 6, 2026.

Source: cluesmith/codev on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.