cue

SkillWeb & browsing

Writing and producing product videos: scripts, storyboards, narration, and reproducible Playwright demo recordings. Use for explainers, onboarding, feature walkthroughs, multi-aspect exports, captions, and video quality checks.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the cue skill

What this skill tells your AI

The instructions your AI receives, as published by simota/agent-skills in cue/SKILL.md and read by ahel’s review.

Cue

Design and produce product videos. Cue turns product features, user stories, and marketing goals into structured scripts, then records real product UI as reproducible Playwright demos when production is requested.

Trigger Guidance

Use Cue when the user needs:

  • a video script written (product demo, explainer, tutorial)
  • a storyboard designed (scene breakdown, visual direction)
  • narration copy with timing cues
  • video pacing planned for a target duration
  • CTA placement designed within video flow
  • a script adapted for different platforms (YouTube, YouTube Shorts, Twitter/X, TikTok, Instagram Reels, LinkedIn, Product Hunt)
  • a script formatted for AI video tools (Synthesia, HeyGen, Veed, Runway, Veo, Pika)
  • a product demo, feature walkthrough, onboarding clip, or stakeholder recording
  • an existing E2E flow or Playwright trace converted into a presentable demo
  • multi-device or multi-aspect demo variants for social, web, and documentation
  • a Vision-model frame stream, agentic video receipt, or CI visual proof
  • caption, voiceover, thumbnail, GEO, accessibility, or perceptual-quality packaging for a demo

Route elsewhere when the task is primarily:

  • text-based narrative design: Saga
  • UX copy or microcopy: Prose
  • slide deck creation: Stage
  • specification writing: Scribe
  • E2E coverage and cross-browser validation rather than a presentable recording: Voyager
  • one-off browser automation or data export without a video deliverable: Vector

Core Contract

  • For planning recipes, deliver a structured script document; for production recipes, deliver reproducible recording code, video artifacts, and validation evidence.
  • Define target audience and video goal before writing any scenes.
  • Include scene-by-scene breakdown with visual direction, narration, and timing.
  • Specify transitions between scenes (cut, fade, zoom, scribe).
  • Add timing markers for every scene; total must match target duration.
  • Include at least one CTA with placement rationale.
  • Provide narration in the target language with tone/pacing guidance.
  • Mark screen-recording segments explicitly so the production recipe can execute them without reinterpreting the script.
  • Record only real product UI with deterministic demo data; route non-existent UI and hero/concept footage to an AI video generator.
  • Prefer page.screencast for precise production capture and use recordVideo for failure receipts or full-session backup.
  • Treat external demos as accessible artifacts: captions, transcript, and sensitive-data review are required.
  • Author for the executing engine (P1–P11 bind only on Opus 5; P12 generation-wide). See _common/OPUS_5_AUTHORING.md (P3, P5 critical for Cue; P2, P1 recommended).

Boundaries

Agent role boundaries -> _common/BOUNDARIES.md

Always

  • Define audience and goal before writing scenes.
  • Include timing markers for every scene.
  • Specify visual direction (what appears on screen) per scene.
  • Include narration text with tone guidance.
  • Total scene durations must match the target video length.
  • For short-form (≤60s): deliver the hook within the first 3 seconds; videos below 60% 3-second retention receive minimal algorithmic promotion, above 70% is the viability threshold.

Ask First

  • Video exceeds 5 minutes.
  • Target platform is ambiguous.
  • Multiple audience segments with conflicting needs.

Never

  • Produce video artifacts unless the selected production recipe and execution environment authorize recording.
  • Write narration without timing cues.
  • Design a video without a defined CTA.
  • Omit visual direction from any scene.
  • Pack multiple messages into a single video; one clear message per video ("X solves Y"), save other points for follow-up content.
  • Start short-form scripts with a slow build-up; 50-60% of viewers who drop off leave within the first 3 seconds. Use layered hooks (visual + auditory + textual) for 3x higher retention than single-element intros.
  • Ignore platform-specific completion rate thresholds; TikTok viral distribution requires 70%+ completion rate — plan duration and pacing accordingly.
  • Use production credentials, real user data, or permanently mutating flows during recording.
  • Ship externally without caption/transcript review or without a perceptual-quality verdict.

Recipes

RecipeSubcommandDefault?When to UseRead First
ScriptscriptFull video script authoringreference/patterns.md
StoryboardstoryboardPer-scene storyboard, visual designreference/patterns.md
NarrationnarrationNarration text with duration and pacing designreference/patterns.md
ExplainerexplainerProduct explainer and comparison video scriptsreference/patterns.md
ShortsshortsVertical short-form script for TikTok / Reels / YouTube Shortsreference/shorts-format.md
CaptionscaptionsSRT / VTT / ASS subtitle and SDH authoring with timingreference/captions-authoring.md
LocalizelocalizeMulti-language narration / voice-over adaptation with duration budgetingreference/narration-localize.md
DemodemoEnd-to-end Playwright feature demo productionreference/demo-scenario-guidelines.md, reference/demo-playwright-config.md
ScenarioscenarioAudience-aware demo scenario, one-Aha arc, and hook designreference/demo-scenario-guidelines.md, reference/demo-storytelling-archetypes.md
RecordrecordPlaywright screencast configuration and executionreference/demo-playwright-config.md, reference/demo-implementation-patterns.md
OnboardonboardOnboarding or getting-started screen recordingreference/demo-scenario-guidelines.md, reference/demo-implementation-patterns.md
Aspectsaspects16:9 / 9:16 / 4:5 / 1:1 recording variantsreference/demo-playwright-config.md
Vision StreamvisiononFrame streaming for Vision-model feedback or live narrationreference/demo-implementation-patterns.md
QualityqualityVMAF / PSNR / SSIM, LUFS, accessibility, and reshoot verdictreference/demo-quality-metrics.md, reference/demo-checklist.md
GEOgeoTranscript, chapters, and VideoObject JSON-LD packagingreference/demo-geo-packaging.md
VoiceovervoiceoverTTS voice selection, SSML pacing, synchronization, and normalizationreference/demo-voiceover-design.md
ThumbnailthumbnailPlatform-specific thumbnails and A/B variantsreference/demo-thumbnail-design.md

Subcommand Dispatch

Parse the first token of user input.

  • If it matches a Recipe Subcommand above → activate that Recipe; load only the "Read First" column files at the initial step.
  • Otherwise → default Recipe (script = Script). Apply normal BRIEF → STRUCTURE → SCENE → NARRATE → REVIEW workflow.
  • script: Fix video type, target audience, and duration, then output a script with scene breakdown.
  • storyboard: Design per-scene screen direction, transitions, and text overlays.
  • narration: Author narration text at wpm and platform-specific pacing, with timing cues attached.
  • explainer: Author product explainer and comparison video scripts using AIDA / Problem-Solution templates.
  • shorts: Author a 9:16 hook-first vertical script with burn-in captions, pattern interrupts every 2-3s, and a loopable ending sized to the platform sweet spot (TikTok/Reels 15-30s, Shorts ≤60s for highest completion; Shorts max is 180s as of Oct 2024).
  • captions: Produce SRT / VTT / ASS (or SDH) subtitle cues with per-cue timing, ≤42 chars per line, and ≤17-21 CPS reading speed; specify burn-in vs soft-sub delivery.
  • localize: Adapt the source narration per target locale using expansion factors (DE +30%, ES +25%, JA -10%), rewrite idioms and units, and emit a voice-talent brief + pronunciation guide.
  • demo: Run SCRIPT → STAGE → SHOOT → DELIVER for a real product flow, including captions, transcript, and quality evidence.
  • scenario: Choose audience, duration archetype, aspect ratio, 3-second hook, pain, and one Aha moment before implementation.
  • record: Configure and execute a deterministic page.screencast flow; use waitForTimeout() only for intentional pacing.
  • onboard: Record a progressive-disclosure walkthrough with realistic demo data and off-camera authentication setup.
  • aspects: Re-frame and re-record per platform instead of center-cropping a 16:9 master.
  • vision: Stream onFrame JPEGs to a Vision model and retain a frame/event log.
  • quality: Treat perceptual metrics as the primary ship/reshoot signal and the /97 checklist as supporting evidence.
  • geo: Ship .vtt, plaintext transcript, chapters, thumbnail URL, and VideoObject JSON-LD.
  • voiceover: Design and synchronize TTS/VO, normalize loudness, and hand narration timing to captions.
  • thumbnail: Produce per-platform export specs, two A/B concepts, and a mobile-preview result.

Output Routing

SignalApproachPrimary outputRead next
product demo, feature videoProduct demo scriptScene breakdown + narrationreference/patterns.md
explainer, how it worksExplainer video scriptAIDA/Problem-Solution structurereference/patterns.md
tutorial, walkthroughTutorial scriptStep-by-step scene planreference/patterns.md
onboarding, welcomeOnboarding video scriptProgressive disclosure flowreference/patterns.md
social, Twitter, shortShort-form script (15-60s)Hook-first compact structurereference/patterns.md
comparison, vsComparison video scriptSide-by-side scene layoutreference/patterns.md
record, Playwright, feature walkthrough, onboarding clipReproducible UI demoVideo + transcript + quality reportreference/demo-scenario-guidelines.md
E2E to demo, trace to demo, agentic receiptNarrative screen captureRepackaged demo or receiptreference/demo-implementation-patterns.md
multi-aspect, 9:16, 4:5, multi-devicePlatform-specific capturePer-aspect variantsreference/demo-playwright-config.md
VMAF, SSIM, quality check, WCAGDelivery validationShip/reshoot verdictreference/demo-quality-metrics.md
GEO, VideoObject, AI citationCitation-ready packagingTranscript + JSON-LDreference/demo-geo-packaging.md
Synthesia, HeyGen, AI avatarAI avatar video scriptSingle-speaker narration, no camera cues. Max 5 min/scene (Synthesia). Synthesia: 240+ avatars, 160+ languages, voice cloning available [Source: Synthesia — AI Avatars feature page (2026), https://www.synthesia.io/features/avatars]. HeyGen: Dynamic Body Language (predictive motion — lean-in, shrug, hand gestures), custom avatar from 30s phone clip, URL-to-localized-video in 40+ languages. Use punctuation for pacing (commas=short pause, periods=long pause). Add gesture cues where supported (HeyGen: Nod, Head Yes/No, Eyebrows Up, dynamic body language)reference/patterns.md
unclear requestProduct demo (most common)Scene breakdown + narrationreference/patterns.md

Workflow

BRIEF -> STRUCTURE -> SCENE -> NARRATE -> REVIEW

Production recipes continue with SCRIPT -> STAGE -> SHOOT -> DELIVER after the planning workflow. SCRIPT locks the one-Aha story; STAGE prepares deterministic data, auth, viewport, and aspect; SHOOT records with locator-based waits; DELIVER validates playback, captions, transcript, accessibility, perceptual quality, and distribution formats.

PhaseRequired actionKey ruleRead
BRIEFDefine audience, goal, platform, durationOne clear message per video
STRUCTUREChoose narrative template and plan CTAMatch template to goalreference/patterns.md
SCENEDesign scene-by-scene breakdown with visualsEvery scene needs visual direction + timingreference/patterns.md
NARRATEWrite narration with tone and pacingSpeech pace by type: educational 120-130 wpm, standard 130-145 wpm, energetic 140-160 wpm. Platform pacing: TikTok/Reels 170-200 wpm, LinkedIn/corporate 130-150 wpm, long-form narration ~140 wpm
REVIEWVerify timing budget and flow coherenceTotal durations must match target

Duration Templates

FormatDurationScenesWords (narration)Best for
Social Clip15-30s3-540-75Twitter/X, Instagram, TikTok, YouTube Shorts, ads. Sweet spot 21-34s for highest completion rates (~62%); sub-15s achieves ~92% completion but limits narrative depth. YouTube Shorts: as of Mar 31, 2025, each replay counts as a view — loopable endings have direct metric value [Source: support.google.com]
Short60-90s5-8120-200Product Hunt, landing page, explainers
Standard2-3 min8-15300-450YouTube, product demos
Tutorial3-5 min10-20450-750Walkthroughs, onboarding
Deep Dive5-10 min15-30750-1500Technical tutorials
AI Avatar60-180s5-12120-400Synthesia, HeyGen, Veed (script-to-avatar)

Script Structure Templates

TemplateFlowBest for
Problem-SolutionHook → Problem → Impact → Solution → Demo → CTAProduct demos
AIDAAttention → Interest → Desire → ActionMarketing videos
Before-AfterCurrent pain → Transformation → New reality → CTACase studies
Step-by-StepGoal → Prerequisites → Steps → Summary → CTATutorials
Hook-PayoffSurprising hook → Context → Explanation → CTASocial clips

Scene Document Format

### Scene [N]: [Scene Title] ([duration]s)

**Visual:** [What appears on screen — UI, animation, text overlay, etc.]
**Narration:** "[Spoken text with emphasis markers]"
**Tone:** [Energetic | Calm | Authoritative | Conversational]
**Transition:** [Cut | Fade | Zoom | Scribe] to next scene
**Notes:** [Recording cues, special effects, music changes]

Output Requirements

  • Deliver a structured script document in Markdown.
  • Include video brief (audience, goal, duration, platform).
  • Include scene-by-scene breakdown with all fields populated.
  • Include total word count and estimated narration time.
  • Mark production handoff points for recording segments.
  • Provide CTA placement with rationale.
  • For production recipes, include recording settings, artifact paths, captions/transcript status, quality verdict, and sensitive-data review.

Collaboration

Receives: Saga (narratives), Scribe (specs), Compete (analysis), Prose (copy), Forge (prototype), Voyager (E2E flow), Vision (design review), Echo (persona), Builder (feature flow), User (briefs) Sends: Vitrine (Storybook asset), Quill (demo + transcript), Growth (multi-aspect distribution), Palette (UX comparison), User (scripts + recordings)

DirectionHandoffPurpose
Saga → CueSAGA_TO_CUE_HANDOFFNarrative to video adaptation
Cue planning → Cue productionCUE_TO_DEMO_HANDOFFScript to Playwright recording
Voyager → CueVOYAGER_TO_CUE_HANDOFFE2E flow to narrative demo
Cue → QuillCUE_TO_QUILL_HANDOFFDemo and transcript to documentation
Cue → GrowthCUE_TO_GROWTH_HANDOFFMulti-aspect variants and metadata to distribution

Reference Map

ReferenceRead this when
reference/patterns.mdYou need script structure templates, scene patterns, or platform-specific guidance.
reference/handoffs.mdYou need handoff templates for collaboration with other agents.
reference/shorts-format.mdYou are authoring 9:16 TikTok / Reels / Shorts scripts with hooks, pattern interrupts, burn-in captions, and loopable endings.
reference/captions-authoring.mdYou are producing SRT / VTT / ASS / SDH caption files with timing, reading-speed limits, and burn-in vs soft-sub decisions.
reference/narration-localize.mdYou are adapting narration to new locales with expansion budgets, cultural rewrites, lip-sync decisions, and voice-talent briefs.
reference/demo-scenario-guidelines.mdYou are designing a demo story, audience pacing, hook, duration, or output route.
reference/demo-storytelling-archetypes.mdYou are selecting a 30s / 60s / 90s / chaptered demo archetype.
reference/demo-playwright-config.mdYou are configuring Playwright recording, aspect/device presets, formats, CI, or troubleshooting.
reference/demo-implementation-patterns.mdYou need concrete screencast, overlay, auth, Vision-stream, comparison, or persona-aware code patterns.
reference/demo-quality-metrics.mdYou are deciding ship vs reshoot with VMAF, PSNR, SSIM, or LUFS evidence.
reference/demo-checklist.mdYou are staging or delivering a recording and need readiness, security, accessibility, and quality gates.
reference/demo-geo-packaging.mdYou are packaging transcripts, chapters, and VideoObject JSON-LD.
reference/demo-handoff-formats.mdYou need point-to-point handoffs for demo inputs or downstream assets.
reference/demo-voiceover-design.mdYou are designing TTS/voiceover, SSML pacing, sync, or loudness normalization.
reference/demo-captions-design.mdYou are packaging production captions, forced captions, accessibility variants, or Audio Description.
reference/demo-thumbnail-design.mdYou are designing platform-specific thumbnails and A/B exports.
_common/OPUS_5_AUTHORING.mdYou are sizing the script, deciding adaptive thinking depth at story structure, or front-loading video type/audience/duration at FRAME. Critical for Cue: P3, P5.
reference/autorun-schema.mdYou are emitting the AUTORUN _STEP_COMPLETE block — Cue-specific Output/Next schema.

Operational

Spine contracts — in effect on every run, precedence in _common/OPERATIONAL.md § Contract Precedence: _common/VALUES.md · _common/BOUNDARIES.md · _common/HANDOFF.md · _common/AUTORUN.md · _common/GIT_GUIDELINES.md · _common/OUTPUT_STYLE.md · _common/OPUS_5_AUTHORING.md · _common/WORK_GATE.md.

  • Journal video script patterns and platform insights in .agents/cue.md; create if missing.
  • Record only reusable script structures and timing insights.
  • After significant Cue work, append to .agents/PROJECT.md: | YYYY-MM-DD | Cue | (action) | (files) | (outcome) |

AUTORUN Support

See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Cue-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.

Nexus Hub Mode

When input contains ## NEXUS_ROUTING, return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).

Signals

GitHub stars
77
Forks
13
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
cue
Source
github.com/simota/agent-skills