pattern-router
Route short-form video prompt work into the right hook or segment pattern before writing storyboards or provider requests. Use when the user has a brief, a segment type such as hook/benefit/cta/creator, duration constraints, and optional references, and you need to choose the strongest narrative structure instead of freehand prompting.
How do I install this agent skill?
npx skills add https://github.com/postplusai/postplus-skills --skill pattern-routerIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The Pattern Router skill provides narrative structure guidance for short-form video creation. It includes an extensive library for managing workspace assets, project state, and media processing. The skill introduces security risks by executing external binaries like ffmpeg and yt-dlp, downloading media from arbitrary external URLs, and storing authentication tokens in local configuration files.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
Pattern Router
Follow shared public skill rules in:
postplus-sharedpublic skill rules
Use this skill at the start of prompt design.
This skill is for:
- choosing the right segment pattern before writing prompts
- mapping a brief into a concrete opening mechanism
- reducing prompt drift when reference quality is uneven or absent
- making later storyboard and video-request work more consistent
This skill is not for writing the final storyboard or provider request.
When the segment is hook, this skill should route the segment and opening job,
then hand off visual mechanism selection to visual-hook.
Core Rule
Do not begin from adjective stacks like "premium", "viral", or "cinematic".
Begin from:
- segment type
- viewer question
- opening mechanism
- product reveal timing
Default Workflow
1. Identify the segment type
Classify the request as one of:
hookbenefitctacreatorlifestyletestimonial
If the user gives a custom segment, map it to the nearest working type and state the mapping.
2. Pick the dominant pattern family
Read references/pattern-families.md.
Select one primary family, then optionally one support family.
Do not mix many families unless the timing clearly supports it.
3. Lock the routing summary before writing prompts
Print a short routing block first:
Segment type:
Primary pattern:
Support pattern:
Viewer question:
Opening mechanism:
Product reveal rule:
Need explicit hook mechanism:
Why this route fits:
This block is the handoff to visual-hook, reference-decode, or
video-request-architect.
4. Choose the next skill
- If the segment is
hookand the stop-scroll mechanism still needs to be chosen, hand off tovisual-hook - If references exist and need decoding, hand off to
reference-decode - If the target is a storyboard grid, beat sheet, or provider-ready request, hand off to
video-request-architect - If the target is a provider-ready request, hand off to
video-request-architect
Routing Rules
hook: optimize for stop-scroll and immediate legibilitybenefit: optimize for one visible proof mechanismcta: optimize for payoff plus next action, not a static end cardcreator: optimize for believable human delivery and social-native behaviorlifestyle: optimize for desirability first, explanation secondtestimonial: optimize for proof plus human specificity
For hook segments:
- this skill decides segment route and opening job
hook-designdecides the dominant hook mechanism and downstream handoff- do not let multiple downstream skills guess the hook mechanism independently
Failure Mode
Stop and say the routing is under-specified if the brief does not provide enough to answer at least:
- what segment is being made
- what question the viewer should ask
- whether the product can appear in the opening
- whether references exist
Ask this when the missing piece is the segment type:
- "Is this segment a hook, benefit, or CTA?"
Do not let later skills guess the structure from vague taste words alone.
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/pattern-router">View pattern-router on skillZs</a>