generation-router
Route generative media requests before any creative planning or provider execution. Use this when the user asks to generate, modify, dub, animate, or assemble image, video, audio, workflow, or analysis-derived media and the first decision is which generation controller should own the job.
How do I install this agent skill?
npx skills add https://github.com/postplusai/postplus-skills --skill generation-routerIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill functions as a logic router for directing generative media requests, such as image or video generation, to the appropriate processing skill. It utilizes vendor-specific CLI tools for readiness checks and transaction confirmations, which is consistent with its intended purpose. No security risks or malicious patterns were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Generation Router
Use When
- The user asks for generated media, edited media, dubbing, voice, lip-sync, storyboard-to-video, reference-to-asset, or analysis-derived generation.
- The first decision is the output family, not the provider or model.
- The request may need a media generation controller before execution.
Do Not Use When
- Transcription, subtitles, video analysis, beat maps, or edit plans are the
primary output. Use
media-router. - The user already selected
image-generation,video-generation,audio-generation, orugc-flowand supplied that controller's inputs. - The task is only research, creator discovery, copywriting, or publishing.
Core Rule
Classify the generation job before choosing a model or runner.
The router owns only the first split:
image: new image, image edit, product image, batch variants, reference image generationvideo: simple clip, storyboard video, UGC video, reference video, motion or talking-head renderaudio: TTS, voice change, translated dub, voice clone, audio handoff for lip-syncworkflow: a multi-step production line such as UGC creative, podcast clip, product demo, or ad variant setanalysis_after_generation: media understanding first, generation second, such as "analyze this competitor clip, then make our version"
Route Table
| Request shape | Route | First handoff |
|---|---|---|
| Pure image prompt, uploaded image edit, product page image | image | image-generation |
| Clip, storyboard, creator video, reference-motion video | video | video-generation |
| Voice, TTS, dubbing, translated audio, voice reference | audio | audio-generation |
| Product-to-UGC, creator pipeline, repeated asset production | workflow | ugc-flow or the named workflow skill |
| "Analyze this, then generate..." | analysis_after_generation | media-router for analysis, then the right generation controller |
Output Shape
Return a compact route artifact:
generationFamilywhycontrollerSkillupstreamSkillwhen analysis or research must happen firstrequiredInputshandoffNotesmustNotDo
Stop Conditions
- Stop when required user intent, source evidence, or owned input artifacts are missing and guessing would change the result.
- Do not choose a provider, endpoint key, runner, or storyboard format here.
- Do not submit generation jobs.
- If an owned CLI or script command fails, report the exact error and stop. Do not bypass the failure with metadata-only answers, readiness probing, local payload rewrites, fallback providers, or unpublished tools.
Handoff
- Image route ->
image-generation. - Video route ->
video-generation. - Audio route ->
audio-generation. - Workflow route ->
ugc-flowor another workflow skill. - Understanding-first route ->
media-router, then return to this router or the selected generation controller.
Public Command Boundary
- Choose the smallest matching command or workflow from the user input and run it directly.
- If an owned CLI or script command fails, report the exact error and stop. Do not bypass the failure with metadata-only answers, readiness probing, local payload rewrites, fallback providers, or unpublished tools.
- This public skill is instruction-driven. Produce the route artifact directly from the available evidence.
- Do not call private provider/runtime paths or unpublished local tools.
- If the CLI returns a quote-confirmation challenge, run
postplus quote confirm --json --challenge-file <challenge.json>and retry with the returned token.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/postplusai/postplus-skills/generation-router">View generation-router on skillZs</a>