routerbase-media-generation

routerbase-media-generation is a skill for Claude Code, Codex from YangsonHung/awesome-agent-skills. It costs 32 tokens per session (324 once invoked), scanned A, original, MIT.

A workflow for generating images, audio, speech, and video through RouterBase, a service that provides one interface to multiple media providers.

In plain words
What is it for?
Use it to build RouterBase media-generation requests, choose endpoints and providers, poll unfinished jobs, handle failures, retain assets, and define moderation or copyright checks.
Why use it?
It helps organize provider selection, request settings, retries, asynchronous jobs, output files, storage, and safety checks in one workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build RouterBase media-generation requests, choose endpoints and providers, poll unfinished jobs, handle failures, retain assets, and define moderation or copyright checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangsonhung/awesome-agent-skills/routerbase-media-generation
Install

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.

Any agent
npx skills add YangsonHung/awesome-agent-skills --skill routerbase-media-generation
Clone the repo
git clone --depth 1 https://github.com/YangsonHung/awesome-agent-skills

Made for: Claude Code, Codex.

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 routerbase-media-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-media-generation/github.svg)](https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-media-generation)
Your own site
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-media-generation"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-media-generation/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 routerbase-media-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-media-generation"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-media-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 324 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.
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.00032 $0.00324
Opus 5 $0.00016 $0.00162
Sonnet 5 $0.00006 $0.00065
Haiku 4.5 $0.00003 $0.00032

Measured 11d ago against content hash 89b946d99b84, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

routerbase-media-generation 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 11d 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.

skills/en/routerbase-media-generation/SKILL.md · 35 lines

What it actually says

RouterBase Media Generation

Overview

Use routerbase for image, audio, and video generation workflows through one API surface. This skill helps choose a media endpoint, shape prompts and parameters, handle sync or async responses, manage generated assets, and add safety checks.

When to Use

Use this skill when the user asks for:

  • Generating images, audio, speech, or video through RouterBase
  • Choosing the right media endpoint and provider for a workflow
  • Handling retries, polling, failed jobs, output URLs, and asset retention
  • Designing safe prompt, moderation, and storage rules for generated media
  • Writing client examples for media generation requests

Do not use

Do not use this skill for:

  • Creating or storing private user media without consent and retention guidance
  • Assuming generated asset URLs are permanent unless the platform documents it
  • Skipping moderation, copyright, or brand-safety review for externally published media

Instructions

  1. Identify the target media type, output format, resolution or duration, latency tolerance, and storage destination.
  2. Choose the endpoint pattern and provider assumptions before writing code.
  3. Use placeholders for API keys and user-specific asset paths.
  4. Include retry, polling, timeout, and failure-state handling for async generation.
  5. Add a safety checklist covering prompt constraints, private data, content rights, and generated asset retention.
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. 11d ago First seen · 35 lines · 32 tokens per session scan A 89b946d99b84

Subscribe to this mod's changes

routerbase-media-generation is a skill published in the GitHub repository YangsonHung/awesome-agent-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 324 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.

Related

Other skills, from other repositories

modellix

Integrate Modellix's unified API for AI image, video, and audio workflows. Use this skill whenever the user wants to generate or edit images, create or transform videos, synthesize speech, transcribe audio, clone a voice, do virtual try-on, or call any Modellix model API. Also trigger when the user mentions Modellix…

Modellix/modellix-plugin · 171 tokens

story-commentary-workflow

A specialized Agent Skill for organizing game story footage, planning story commentary videos, splitting chapters, transcribing subtitles, drafting narration, and matching narration to visuals. Use when the user mentions story commentary, game plot recaps, story condensation, chapter breakdowns, narration scripts…

JWCodeWrote/Agent_Skills_Plugin · 74 tokens

frontend-imagegen-director

Use when the user wants the agent to inspect the current project's style and product nature, clarify requirements in a Superpowers-style workflow, generate front-end visuals with gpt-image2 or the environment's imagegen path, and then build the actual front-end page from the approved image.

JWCodeWrote/Agent_Skills_Plugin · 62 tokens

story-worldbuilding-planner

Use this skill when the user wants to create or refine game stories, Chinese web novel plots, light novel plots, character arcs, faction settings, power systems, worldbuilding, lore bibles, chapter outlines, quest lines, or narrative design documents.

JWCodeWrote/Agent_Skills_Plugin · 56 tokens

pixel-snap

Convert upscaled pixel art images back to clean, sharp pixel art. Detects grid size, extracts true pixel colors, and outputs crisp results. Supports icon mode (remove background, crop, center) and scene mode (preserve full image).

DreamC0der-AI/pixel-snap · 53 tokens

create-video-seedance-2-fal

Generate a single 4-15s vertical video clip with ByteDance Seedance 2.0 reference-to-video via fal.ai. Multi-image reference (avatar + product + setting), native lip-synced VO + ambient audio (generate-audio on by default), internal multi-cut handling within one render. Routes through the GooseWorks FAL proxy (bills…

gooseworks-ai/goose-skills · 117 tokens