rove: Skill for Claude Code

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

image-gen is a skill for Claude Code from Sma1lboy/rove. It costs 42 tokens per session (923 once invoked), scanned A, original, MIT.

A command-line guide for creating one image from a written prompt through the MiniMax image-generation service.

In plain words
What is it for?
Use it when a task needs a single generated image with specified width and height.
Why use it?
It explains the required prompt, image dimensions, and output filename so an agent can produce the requested image file.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Sma1lboy/rove's own configuration. It tells Claude Code how to work on rove 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 rove configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Sma1lboy/rove. 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/Sma1lboy/rove/main/.claude/skills/image-gen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Sma1lboy/rove

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sma1lboy/rove/image-gen"><img src="https://agentmods.dev/badge/skills/sma1lboy/rove/image-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 923 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.00042 $0.00923
Opus 5.5 $0.00017 $0.00369
Sonnet 5.5 $0.00008 $0.00185
Haiku 4.5 $0.00004 $0.00092

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

Security

Grade A, and why

image-gen 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/image-gen.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/image-gen/SKILL.md · 72 lines

How it starts

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

image-gen

Generate one image from a text prompt via MiniMax image-01 model. The output file is written to the filename you pass as the 4th argument (relative to the caller's cwd).

The script path is resolved relative to this SKILL.md (not the caller's cwd), so it works from any directory. It accepts exactly four positional arguments: prompt, width, height, output_filename.

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
python3 "$SCRIPT_DIR/scripts/image-gen.py" "<prompt>" <width> <height> <output_filename>
Argument Type Constraints
prompt string ≤ 1500 chars; describe subject + style + mood
width int 512–2048, must be a multiple of 8
height int 512–2048, must be a multiple of 8
output_filename string Filename to write the image to, relative to cwd (e.g. img1.png). The file extension is preserved as-is.

Output

  • File: <output_filename> (relative to cwd — the directory the command is invoked from)
  • Format: raw image bytes base64-decoded from the API response; extension is whatever you pass (e.g. .png, .jpeg)
  • Always overwrites an existing file at the same path

After running, confirm the file exists with ls -lh <output_filename> and report the absolute path to the user.

Prompt writing tips

Be explicit about style to avoid photorealistic defaults. Example style keywords:

  • Flat / UI / vector: UI style, flat illustration, vector art, minimalist, clean cut-and-paste aesthetic, no photography no realistic textures
  • Collage / cut-and-paste: paper cut collage, layered flat cut-out shapes, torn paper edges, mixed media
  • Vintage / retro: vintage paper collage, sun-faded tones, retro travel poster
  • Photorealistic: photorealistic, documentary photography, film grain

Combine subject + style + palette. Example structure: "<style keywords>: <subject>, <key visual elements>, <color palette>, <negative constraints>"

Examples

Read the full file on GitHub · 72 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 72 lines · 42 tokens per session scan A 8b6db9cbbe9e

Subscribe to this mod's changes

image-gen is a skill published in the GitHub repository Sma1lboy/rove (178 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 923 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

Other skills, from other repositories

xlsx

Create, read and edit Microsoft Excel .xlsx spreadsheets — data tables, formulas, multiple sheets, number formats, conditional formatting, charts, frozen panes and named ranges. Also covers reading an existing workbook to extract values or formulas, recalculating formulas so cached values are correct, converting to…

smith-network-solutions/threadknot · 84 tokens

pdf

Read, create and manipulate PDF files — extract text and tables, merge, split, rotate, reorder and delete pages, read and fill AcroForm fields, add or strip metadata, encrypt and decrypt, and generate new PDFs from HTML or from scratch. Also covers rasterising pages to images so a PDF can actually be looked at, and…

smith-network-solutions/threadknot · 88 tokens

ai-usage-review

Review recorded AI coding-tool usage and recommend concrete optimizations. Reads real token, cost, session and harness-configuration data from the AI Insights MCP server, then reports ranked, evidence-backed fixes — trimming instruction files, raising the prompt-cache hit rate, right-sizing models, cutting MCP…

starbringer/AI-Insights · 156 tokens

procedural-generation

Procedural generation patterns — Perlin/Simplex noise, BSP dungeon generation, random walk, loot tables with weighted random, wave function collapse basics, seed-based reproducibility.

XeldarAlz/everything-claude-unity · 39 tokens

dialogue-system

Dialogue tree patterns — ScriptableObject graph, node types (text, choice, condition, event), typewriter effect, localization-ready. Load when implementing NPC conversations.

XeldarAlz/everything-claude-unity · 37 tokens

save-system

Save/load patterns — ISaveable interface, JSON serialization, save file management, scene persistence, cloud sync prep. Load when implementing save functionality.

XeldarAlz/everything-claude-unity · 32 tokens