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.
curl -O https://raw.githubusercontent.com/cluesmith/codev/main/.claude/skills/generate-image/SKILL.mdgit clone --depth 1 https://github.com/cluesmith/codevWrote 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.
[](https://agentmods.dev/skills/cluesmith/codev/generate-image)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- generate-image — 100% identical, 40 lines differ
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
.txtfile path (auto-detected by extension) - Reference images must exist on disk
- Requires
GEMINI_API_KEYorGOOGLE_API_KEYenvironment 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/--aspectworks (1:1returns 1024x1024,16:9returns 1376x768).-r/--resolutionhas no equivalent field; a note is printed and the model's default resolution comes back.--refis 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.
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.
- 1mo ago Changed · +17 lines · -19 tokens per session c8a59781218b
- 2mo ago Changed · +21 lines · +22 tokens per session 7514b3e5e946
- 2mo ago First seen · 46 lines · 50 tokens per session scan A 90c1095f23b4
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.
generate-image compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-imagecluesmith/codev | Skill | 297 | 2d ago | Apache-2.0 | A | 53 | Claude Code |
| hns-lsel-curatormodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 135 | Claude Code |
| moai-workflow-worktreemodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 41 | Claude Code |
| moai-lane-watchdogmodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 86 | Claude Code |
| hns-workflow-ci-loopmodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 76 | Claude Code |
| hns-moaiadk-patternsmodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 116 | Claude Code |
| moai-harness-learnermodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 61 | Claude Code |