| name | video-to-superprompt |
| description | Turn a reference video into a super detailed recreation or inspiration prompt. Use when the user provides, mentions, uploads, links, or points to a video and asks to analyze the design, UI, animations, transitions, scroll interactions, typography, colors, assets, WebGL/Three.js, storytelling, section-by-section behavior, or to create a prompt/article that recreates the page, app, interaction, or motion system.
|
| allowed-tools | Bash Read Write Edit Glob Grep WebFetch |
| compatibility | Authored for Codex CLI workflows; portable to any agent with filesystem and shell access. Some steps need the tool named in the skill body (browser capture, ffmpeg, Gmail, X/Twitter, ElevenLabs). |
| license | MIT |
| metadata | {"tags":"video, superprompt, mengto-skills, codex-workflow","version":"1.0","source":"https://github.com/MengTo/Skills/tree/main/agent-skills/codex/video-to-superprompt"} |
Video To Superprompt
When to use this skill
- The user provides, mentions, uploads, links, or points to a video and asks to analyze its design, UI, animations, transitions, scroll interactions, typography, colors, or assets.
- The user wants a prompt or article that recreates the page, app, interaction, or motion system shown in a reference video (exact recreation or inspired adaptation).
- The task needs technical video inspection (
ffprobe/ffmpeg frame extraction) plus layered analysis of story, layout, motion, visual design, technical rebuild, and accessibility/performance.
- The user needs an asset map and separate AI-generation prompts for image plates, video clips, WebGL/canvas elements, posters, sprites, or texture overlays derived from a video.
- The desired output is a paste-ready superprompt, an article with evidence, an implementation brief, or an asset-generation pack based on a video reference.
- Not for: static design/UI review with no video reference, or when the user wants the page built directly rather than a recreation prompt — route to a design-review or implementation skill instead.
Goal
Convert any usable reference video into a builder-ready prompt that captures what the video shows, how it moves, how it should be rebuilt, and what assets or generated media are needed. The default output is one paste-ready prompt unless the user asks for an article, asset pack, or implementation.
Workflow
-
Locate the source video.
- Accept local paths, uploaded files, URLs, browser-visible videos, article assets, or repo media.
- If the video is referenced but inaccessible, ask for the exact file or URL before inventing details.
- If the user wants exact recreation, inspect any source HTML/CSS/JS or local page connected to the video before writing the prompt.
-
Inspect the video technically.
- For local files, run
ffprobe for duration, dimensions, frame rate, codec, and size.
- Extract representative frames with
ffmpeg, favoring timeline beats over uniform thumbnails.
- Suggested quick pass:
ffprobe -v error -show_entries format=duration,size:stream=width,height,r_frame_rate -of json "$VIDEO"
mkdir -p /tmp/video-frames
ffmpeg -y -i "$VIDEO" -vf fps=1 /tmp/video-frames/frame-%03d.jpg
- For long or scroll-heavy videos, also extract start/middle/end and visible transition moments.
-
Analyze in layers.
- Story: page/app purpose, emotional arc, section order, transition between beats.
- Screen/layout: viewport framing, grids, sticky zones, cards, media, overlays, margins, navigation, footer.
- Motion: reveal timing, easing, parallax, masks, pinned sections, scroll scrubbing, hover/tap states, looped ambient motion, camera moves.
- Visual design: typography, color palette, surfaces, borders, shadows, texture, iconography, image/video treatment.
- Technical rebuild: CSS/native APIs, IntersectionObserver, Web Animations API, GSAP ScrollTrigger, Lenis, Framer Motion/Motion One, Three.js/WebGL, canvas, video currentTime scrubbing, carousels, or other domain libraries.
- Accessibility/performance: reduced motion, mobile behavior, touch/keyboard states, lazy loading, video preload, pixel-ratio caps, static fallbacks.
-
Plan assets.
- Produce an asset map. Include exact URLs when supplied, local filenames when used, or placeholder names when assets still need generation.
- If AI assets are needed, create separate prompts for image plates, video clips, WebGL/canvas elements, posters, sprites, masks, and texture overlays.
- If user names specific models or APIs, preserve them exactly in the prompt and separate image prompts from video prompts.
Output Modes
- Prompt only: Give the paste-ready prompt and, when helpful, a short asset map above it.
- Article: Create
content.md plus local frame/video evidence, manifest, and prompts. Follow the current repo article conventions.
- Implementation brief: Add a build plan and QA checklist after the prompt.
- Asset-generation pack: Split prompts into background images, video clips, sprites/WebGL, posters, and final page prompt.
Quality Bar
- The prompt should be long enough to rebuild the interaction without seeing the original video.
- It should preserve the video’s sequence, pacing, and notable quirks.
- It should name exact motion mechanisms: pinned section, scrubbed timeline,
video.currentTime, parallax layer, opacity reveal, transform, mask, shader, particle field, hover state, or carousel physics.
- It should include mobile behavior and reduced-motion behavior every time.
- It should call out what to avoid, especially generic landing-page sections, decorative blobs, mismatched stock media, autoplay-only video when scroll-scrubbing is required, and text overlap.
References
- Read
references/superprompt-template.md when writing the final prompt from scratch or when the user asks for the “full detailed prompt.”
- Upstream source: MengTo/Skills — video-to-superprompt
agents/openai.yaml — Codex/OpenAI agent interface metadata for this skill.