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 skills/blockrunai/clawrouter/imagegennpx skills add BlockRunAI/ClawRouter --skill imagegengit clone --depth 1 https://github.com/BlockRunAI/ClawRouterWrote 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/blockrunai/clawrouter/imagegen)<a href="https://agentmods.dev/skills/blockrunai/clawrouter/imagegen"><img src="https://agentmods.dev/badge/skills/blockrunai/clawrouter/imagegen.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.00045 | $0.01750 |
| Opus 5 | $0.00023 | $0.00875 |
| Sonnet 5 | $0.00009 | $0.00350 |
| Haiku 4.5 | $0.00005 | $0.00175 |
Grade A, and why
imagegen 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Image Generation & Editing
Generate or edit images through ClawRouter. Payment is automatic via x402.
Shortcuts:
- Slash:
/cr-imagegen <prompt> [--model=<alias>] [--size=1024x1024] [--n=1](/imagegenstill accepted in chat for backward compatibility) - Partner tool:
blockrun_image_generation(LLM-callable) /blockrun_image_edit(inpainting)
Generate an Image
POST to http://localhost:8402/v1/images/generations:
{
"model": "google/nano-banana",
"prompt": "a golden retriever surfing on a wave",
"size": "1024x1024",
"n": 1
}
Response:
{
"created": 1741460000,
"data": [{ "url": "http://localhost:8402/images/abc123.png" }]
}
Display inline: 
Model Selection
| Alias | Full ID | Price | Sizes | Best for |
|---|---|---|---|---|
nano-banana |
google/nano-banana |
$0.05 | 1024×1024 | Default — fast, cheap, good quality |
banana-2 |
google/nano-banana-2 |
$0.09 | 1024×1024 | Gemini 3.1 Flash imagegen — sharper than nano-banana at 1K |
banana-pro |
google/nano-banana-pro |
$0.10–$0.15 | 1024×1024, 2048×2048, 4096×4096 | High-res, large format |
gpt-image |
openai/gpt-image-1 |
$0.02–$0.04 | 1024×1024, 1536×1024, 1024×1536 | Budget option; supports editing |
gpt-image-2 |
openai/gpt-image-2 |
$0.06–$0.12 | 1024×1024, 1536×1024, 1024×1536 | Photorealistic, reasoning-driven, text rendering (slow — proxy polls up to 5min); legacy dalle alias routes here |
seedream |
bytedance/seedream-5-pro |
$0.045–$0.09 | up to 2848×1600 / 2304×1728 | Flagship quality, reference-image support |
grok-imagine |
xai/grok-imagine-image |
$0.02 | 1024×1024 | xAI Grok image style |
grok-imagine-pro |
xai/grok-imagine-image-pro |
$0.07 | 1024×1024 | Grok high-quality |
cogview |
zai/cogview-4 |
$0.015–$0.02 | 512×512 to 1440×1440 | Cheapest — Zhipu CogView |
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.
- 4d ago First seen · 145 lines · 45 tokens per session scan A 39663f6e7a3c
imagegen is a skill published in the GitHub repository BlockRunAI/ClawRouter (6,578 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 1,750 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
route
Route a task to the best LLM based on task type and complexity.
routing
Route tasks to the cheapest capable model automatically using llmrouter MCP tools.
savings
Report how much routing has saved by sending tasks to cheaper models.
openspec-sync-specs
Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.
commit
分析 git 变更并生成规范的提交信息。用于提交代码、生成 commit message 时触发。.
delegate
Delegate implementation work to a stunt double (a headless worker — Claude Code via a local proxy, opencode running DeepSeek/Groq/Ollama/Grok/Kimi, OpenAI's Codex CLI, Google's Antigravity CLI, or Meta's Muse Code CLI). Claude plans the task, the worker executes it, Claude reviews the diff and iterates. Use when the…