Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/secondsky/claude-skills/generate-variantgit clone --depth 1 https://github.com/secondsky/claude-skillsWrote 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/commands/secondsky/claude-skills/generate-variant)<a href="https://agentmods.dev/commands/secondsky/claude-skills/generate-variant"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/generate-variant.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00048 | $0.03734 |
| Opus 5 | $0.00024 | $0.01867 |
| Sonnet 5 | $0.00010 | $0.00747 |
| Haiku 4.5 | $0.00005 | $0.00373 |
Grade A, and why
cloudflare-images:generate-variant scanned grade A with 1 finding 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 yesterday.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
RESPONSE=$(curl -s -X POST \ How it starts
The opening of the file, as written. The whole thing — 547 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Cloudflare Images Variant
Interactive tool for creating named variants for Cloudflare Images. Walks through variant configuration and generates the API call to create it.
What This Command Does
When you run /generate-variant, Claude will:
- Prompt for variant configuration (name, dimensions, fit, quality)
- Validate variant name and options
- Generate API call to create variant
- Execute API call (if confirmed)
- Output variant configuration
- Optionally add variant to
wrangler.jsonc
Usage
/generate-variant
Claude will ask interactive questions to gather variant configuration.
Variant Configuration Options
Variant Name
- Format: Alphanumeric + hyphens only
- Max length: 32 characters
- Examples:
thumbnail,avatar-lg,product-preview - Reserved: Cannot use
public(default variant)
Dimensions
- Width: 1-9999 pixels (optional)
- Height: 1-9999 pixels (optional)
- Note: At least one dimension required
Fit Modes
- scale-down (default): Never enlarge, preserve aspect ratio
- contain: Resize to fit within box, preserve aspect ratio
- cover: Resize to cover entire box, crop if needed
- crop: Crop to exact dimensions
- pad: Resize to fit, pad with background color
Quality
- Range: 1-100
- Default: 85
- Recommendations:
- Thumbnails: 80
- Product photos: 85
- Hero images: 90
Optional Parameters
- Background: Color for padding (hex format:
#FFFFFF) - Metadata:
keep|copyright|none(default:none) - Blur: 1-250 pixels (for blur effect)
Implementation
Step 1: Interactive Configuration
Ask user for each parameter:
Variant Name (e.g., thumbnail, avatar-lg):
> thumbnail
Width (pixels, leave empty for auto):
> 300
Height (pixels, leave empty for auto):
> 300
Fit mode:
1. scale-down (never enlarge, default)
2. contain (fit within box)
3. cover (cover entire box, crop if needed)
4. crop (crop to exact dimensions)
5. pad (fit and pad with background)
> 3
Quality (1-100, default 85):
> 85
Background color for padding (optional, e.g., #FFFFFF):
> (skip)
Metadata (keep/copyright/none, default none):
> none
Blur radius (optional, 1-250):
> (skip)
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.
- yesterday First seen · 547 lines · 48 tokens per session scan A 57c51ccdeb16
cloudflare-images:generate-variant is a command published in the GitHub repository secondsky/claude-skills (214 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 3,734 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
correlate
Find related failures through pattern matching.
diff
Compare two command outputs with intelligent diff.
open
Open/retrieve an offloaded output by ID or shortcut.
search
Search through offloaded outputs with hard caps.
stats
Show FewWord session statistics with rich output and token savings.
timeline
Visual timeline of command outputs in current session.