codev: Skill for Claude Code

.claude/skills/generate-image/SKILL.md

generate-image is a skill for Claude Code from cluesmith/codev. It costs 53 tokens per session (795 once invoked), scanned A, original, Apache-2.0.

A command that creates images from text prompts using Google's Gemini image service, with optional reference images and output settings.

In plain words
What is it for?
Use it to make illustrations, concept images, or other visual assets, choosing a file name, resolution, and aspect ratio such as 16:9. It requires a Gemini or Google API key.
Why use it?
It removes the need to create simple visual assets manually when a written description is enough to start.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is cluesmith/codev's own configuration. It tells Claude Code how to work on codev itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codev configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cluesmith/codev. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cluesmith/codev/main/.claude/skills/generate-image/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cluesmith/codev

Made for: Claude Code.

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 generate-image

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cluesmith/codev/generate-image"><img src="https://agentmods.dev/badge/skills/cluesmith/codev/generate-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 795 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.00795
Opus 5.5 $0.00021 $0.00318
Sonnet 5.5 $0.00011 $0.00159
Haiku 4.5 $0.00005 $0.00080

Measured 1mo ago against content hash c8a59781218b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-image 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/generate-image/SKILL.md · 84 lines

How it starts

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

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

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.

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.

Read the full file on GitHub · 84 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. 1mo ago Changed · +17 lines · -19 tokens per session c8a59781218b
  2. 2mo ago Changed · +21 lines · +22 tokens per session 7514b3e5e946
  3. 2mo ago First seen · 46 lines · 50 tokens per session scan A 90c1095f23b4

Subscribe to this mod's changes

generate-image is a skill published in the GitHub repository cluesmith/codev (297 stars, last pushed 2d ago), licensed Apache-2.0. It adds 53 tokens to every session and 795 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

generate-image compared with skills from other repositories

generate-image next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-imagecluesmith/codevSkill2972d agoApache-2.0A53Claude Code
hns-lsel-curatormodu-ai/moai-adkSkill1.3k3d agoApache-2.0A135Claude Code
moai-workflow-worktreemodu-ai/moai-adkSkill1.3k3d agoApache-2.0A41Claude Code
moai-lane-watchdogmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A86Claude Code
hns-workflow-ci-loopmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A76Claude Code
hns-moaiadk-patternsmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A116Claude Code
moai-harness-learnermodu-ai/moai-adkSkill1.3k3d agoApache-2.0A61Claude Code