AGENT SKILL

product-video

Makes a product launch, feature demo or ad video from a website URL. Asks a short brief (what to show, for whom, the end action), crawls the home page and up to 20 inner pages headlessly, ranks the site's use cases in its own words, records real click-throughs of each (clicks, typing, ⌘K, scrolling, desktop and phone size) with a real cursor, and cuts them from a shot library (cursor POV, keycaps, tilted plane, macro rack focus, isometric stack, push-through, split, orbit, whip, grid, type) in a measured style (Linear default, Apple, Stripe, Arc, Raycast). Scores its own music and UI sounds (synthesised, nothing to licence), cuts on the beat, -14 LUFS. 16:9, 9:16 filled by the product, 1:1. Use when the user pastes a website and says "make a launch video for <url>", "product video", "demo video of my site", "turn my landing page into a video", "make an ad from my website", "feature video for <url>". Not for talking-head footage (cut, style-edit) or measuring a creator (creator-teardown).

License 许可
MIT
最近更新
2026-11-14
Stars
★ 202
Forks
70

01 前言 Front Matter

name
product-video
license
MIT
description
Makes a product launch, feature demo or ad video from a website URL. Asks a short brief (what to show, for whom, the end action), crawls the home page and up to 20 inner pages headlessly, ranks the site's use cases in its own words, records real click-throughs of each (clicks, typing, ⌘K, scrolling, desktop and phone size) with a real cursor, and cuts them from a shot library (cursor POV, keycaps, tilted plane, macro rack focus, isometric stack, push-through, split, orbit, whip, grid, type) in a measured style (Linear default, Apple, Stripe, Arc, Raycast). Scores its own music and UI sounds (synthesised, nothing to licence), cuts on the beat, -14 LUFS. 16:9, 9:16 filled by the product, 1:1. Use when the user pastes a website and says "make a launch video for <url>", "product video", "demo video of my site", "turn my landing page into a video", "make an ad from my website", "feature video for <url>". Not for talking-head footage (cut, style-edit) or measuring a creator (creator-teardown).
compatibility
Python 3.9+, ffmpeg, Node 20+ and the Remotion renderer the setup skill installs (its Chrome Headless Shell does the crawling). Internet for the crawl. Runs from the full ai-editor plugin folder (uses style-edit's scripts, lib/ and remotion/).

02 资源文件 15

03 SKILL.md 正文

Product video

Paths: ${CLAUDE_SKILL_DIR} means the folder containing this SKILL.md, and ${CLAUDE_PLUGIN_ROOT} the plugin folder two levels above it.

Read ${CLAUDE_PLUGIN_ROOT}/PRINCIPLES.md first: the rules every video follows (story first, smooth before varied, nothing leaves the frame, privacy, no presses that write).

Every question to the user goes in the question box: call the AskUserQuestion tool (2-4 options, the recommended one first). Only in an agent without that tool, ask numbered questions in text.

A URL in. A product video out, made only of the site's real UI, real recorded click-throughs of it, its own colours and type, and its own words, scored and mixed for this cut. S="${CLAUDE_SKILL_DIR}/scripts", Run the scripts with python3 on Mac and Linux, py on Windows. PY="${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/run.py"; python3 "$PY" below runs the editor's venv Python (py "$PY" on Windows). Work in product/<name>/ in the library (PRINCIPLES.md "Where").

URL -> brief (questions) -> crawl.mjs -> site.json + pages/ (features, pricing, docs, changelog, customers...)
    -> pages.md -> use-cases.md (ranked, quoted, sourced) -> the user picks 2-5, ordered as a journey
    -> storyboard.md (the story first: hook, reveal, each use case as cause then effect, payoff, end)
    -> flows.json (chained) -> record.mjs --states (+ --mobile) -> flows/*.states.json (3x stills of every UI state)
    -> story.json beats -> plan (one camera, every frame checked, score + mix) -> animatic -> critic -> user approves
    -> render (60 fps) -> check (framing, fill, names, smoothness meter)

Read references/story.md before writing storyboard.md or story.json, references/style.md before judging the animatic sheet, references/sound.md before changing the sound and references/brief.md for music rights and logging in.

0. Setup

No renderer yet (~/.ai-video-editor/remotion missing): run the setup skill's Remotion step first. It installs the Chrome Headless Shell the crawl and the recordings drive. Read the user's taste: python3 "${CLAUDE_PLUGIN_ROOT}/skills/taste/scripts/taste.py" show.

1. The brief, in the question box, before crawling deeply

Start the crawl (step 2) in the background (Bash run_in_background), then python3 "$S/product.py" copy product/<name>: it waits for the home page (about 50 s; the inner pages load while the questions are asked). Its tagline: and nav: lines and the headings under them are the options, in the site's own words. Never read site.json (about 20 KB). Then two AskUserQuestion calls, the recommended option first and marked "(Recommended)", "Other" always open for their own words.

Call 1, what gets built (four questions):

  1. What it does, in one line: the tagline: line of product.py copy / Other.
  2. The 2-3 things the video must show (multi-select): the jobs in product.py copy's headings and nav: line, each in the site's words.
  3. Who will watch: new users (Recommended) / existing users / investors / developers.
  4. The one action at the end: visit the URL (Recommended) / sign up / try a feature.

Call 2, one question to confirm the defaults. List them in the question, then: Use these (Recommended) / Change some (ask only the ones they name, with the options below).

  • A page or flow that must be in it: none / a URL.
  • Style: Linear (tilted plane, slow drift, blur-dissolves, small low-left words) / Apple / Stripe / Arc / Raycast (references/style.md, one line each).
  • Length and shape: 30 s 16:9 / 30 s 9:16 / both / 15 s. (--fps 60 on request: smoother camera moves, twice the render time.)
  • Logged-in product: public pages only (default to log in now when a must-show item needs a login) / log in now / later.
  • Music: generated here for this cut (synthesised, nothing to licence) / ElevenLabs Music (only with their key) / their own track (a file) / a link (YouTube, SoundCloud, Bandcamp) / none. A link or a file: ask who holds the rights, then product.py music (references/brief.md "Music").
  • Sound effects: subtle UI sounds (clicks and key ticks where the UI acts, a swell into the logo) / none.
  • Voice: none, on-screen words only / their own recording / text to speech (only with an ElevenLabs key).

The first option of each is the default.

Write the answers to product/<name>/brief.json (shape: references/shapes.md). plan refuses without it. Example brief for nextwork.ai: must_show = the Create button (prompt your own project), search other people's projects, roadmaps, step-by-step guides, the portfolio in Your Library.

Logging in (on "log in now"): follow references/brief.md "Logging in": say where the login is kept first, then node "$S/login.mjs" login <url> opens a separate Chrome window they log in to by hand. Recording stays read-only (no create, delete, pay, publish or invite without a yes in the question box) and blurs personal data; show the user the flows/<id>-blurred.png sheets before rendering.

2. Crawl the site

node "$S/crawl.mjs" <url> product/<name> [--include <brief urls>] [--pages 20] [--app <url> --cookies cookies.json]

Started in step 1; about a minute, product.py pages waits for it (a brief page it missed: rerun with --include). The home page (2x tiles, element crops, brand from computed styles, logo, font files, the page's own videos), then, four at a time beside it, up to 20 inner pages from the site's nav and sitemap.xml, ranked features > pricing > customers > templates > docs > changelog > blog, the brief's URLs first. Each page: its headings and lines, its controls (tabs, buttons, inputs), its videos and GIFs, a screenshot. Look at images/tile-0.jpg: a blank tile means the site blocked the headless browser; say so and offer another URL.

3. Use cases

python3 "$S/product.py" pages product/<name>

Writes pages.md: every page compact (never raw HTML), the brief on top. Read it and write use-cases.md: who it is for and 3-4 jobs ranked, each with the site's own words quoted, the source URL, and the flow that would show it. Brief items first, marked [brief]. Ask in the question box which 2-3 to feature (recommended first).

4. Storyboard, then record the states

Write storyboard.md first (references/story.md "Story first"): the beats in story order, each with its job, its words (the site's, at most ~5), the capture it uses and how it hands off to the next. Order the use cases as the user's journey, so each one leaves the screen where the next begins.

Then flows.json, one flow per use case in that order, chained: each flow's url is the page the last one ended on. Steps as in record.mjs's header (text=<the site's words> or a CSS selector).

node "$S/record.mjs" product/<name> flows.json --states            # every UI state as a 3x still
node "$S/record.mjs" product/<name> flows.json --states --mobile   # the phone layout, for 9:16

Each flow writes flows/<id>.states.json and flows/states/*.jpg: the start, each step's after-state, the focused field and the typed text with the caret measured per character, a tall still for each scroll. It waits for each view to finish loading (pictures, skeletons) before taking it. Look at the states, not every file: a loading page, a click that opened the wrong thing, a modal you did not want. Fix the flow and capture again (--only <id>). Without --states it records screencasts (flows/*.mp4) for the shot film below. {"write": "..."} types into whatever has focus (a search a button or shortcut opened); a link that opens a new tab is followed in the same one; with a dialog open, a text= target is looked for in the dialog first; a flow may carry "mobile": {"steps": [...]} where the phone layout's controls differ. Each take also records the page's headline, so the opening never crops it.

5. Story and plan

Write story.json as beats from the storyboard (shape: references/shapes.md; rules: references/story.md): hook, action and result per use case, payoff, end. Each beat's steps are its flow's step numbers.

python3 "$PY" "$S/product.py" plan product/<name> --story story.json --style linear --aspect 16:9 [--music generated|eleven|none|audio/<track>] [--sfx subtle|none] [--vo audio/vo.wav]

Length: about 8 s a use case (40 s for five), the hook, payoff and logo included, unless the user asked for a length (--length, or "length" in the story). The plan paces the result, hook, payoff and travel moments down to fit, never below reading time, and keeps the story, the steps and every per-frame check. It stops shortening where the camera would get busier than the reference films (journey.py SPEED_BAR, from the planned camera): smooth beats short, so a site with long pages can run a few seconds over.

A story of beats plans the rendered film (journey.py): the pages on one canvas left to right, one camera on one easing, a drawn cursor, every change revealed in place, 60 fps. The plan checks every frame from the camera path (the held focus in the safe frame and clear of the words, the cursor whole or hidden, every line of text whole or out of frame, no capture past its own resolution), re-plans the camera when a frame fails, and exits 1 on what is left. A sparse page is framed tighter on its detected content (references/story.md "Framing guarantee"). The score follows the beats (a section per beat, the chord changing at each), effects land on the clicks, keys and new pages; -14 LUFS, -1 dBTP. A story of shots plans the older shot film (screencasts and the shot library, each shot naming its job).

6. The animatic, the critic, approval

python3 "$PY" "$S/product.py" animatic product/<name> --plan plan-linear-16x9.json

Writes animatic-<tag>/sheet.png, the animatic sheet: the start, middle and end of every beat, captioned with its job, time and words, in seconds. Run the storyboard-critic agent on the sheet; apply its fixes to the story (order, steps, words, a capture) and plan again; two rounds at most. Then show the sheet and ask in the question box: Approve (Recommended) / Change the order / Swap a shot / Redo a capture. Do not render before Approve. On Approve, stamp it: python3 "$PY" "$S/product.py" approve product/<name> --plan plan-linear-16x9.json. render refuses a plan with no stamp, or one whose plan or story changed after it (scripts/gates.py).

stills still makes the denser per-shot sheet for the shot film.

7. Render

Only after step 6's Approve. "Just render it" on a plan with no stamp still goes through step 6 first: make the animatic and ask Approve.

python3 "$PY" "$S/product.py" render product/<name> --plan plan-linear-16x9.json [--draft | --modal | --lambda]

A 30 s video renders in about a minute on a laptop. The same renderer and render paths as style-edit (edit.py): laptop by default; --modal or --lambda once the setup skill has set those up. Writes render-<tag>.mp4.

8. Check

python3 "$PY" "$S/product.py" check product/<name> --plan plan-linear-16x9.json

The camera: every zoom changes size in log space (the same scale factor every frame), takes 0.9-1.4 s, eases in and out (sine.inOut; expo.inOut for arc), and zooms about the target. plan and check print WARN for a zoom faster than 7x a second at its peak, a speed that jumps between frames, or a continued camera that changes speed at the join.

FAIL: a render older than its plan or story, words not on the site or over 7 words, emoji, an AI tell the site's brand does not own (purple-blue, neon on black, a flat saturated ground, heading + subline

  • rule), clipping audio, a shot where the product fills under 75% of a 9:16 frame (60% of 16:9; type and the end card exempt; plain ground of the site's colour does not count). WARN: over 2.5 s with nothing moving, words under 4.5:1 contrast on the ground, loudness outside -23 to -9 LUFS (the mix is mastered to -14), a centred block (expected on the end card). Fix FAILs, then render again; at most two rounds. For the rendered film check also runs the framing on every frame, the focus found by template match where the plan put it, the product filling the frame by detected content (edges, not colour), OCR for the logged-in name, and the smoothness meter (meter.py: judder, dead stops, jerk, carry across cuts) against the Linear bar in references/style.md. Also make a 2 fps strip and look at it: ffmpeg -i render-<tag>.mp4 -vf "fps=2,scale=300:-1,tile=12x5" -frames:v 1 strip-<tag>.png.

9. Share copy, hand over

python3 "$S/product.py" share product/<name>

share.txt: the caption (checked: only the site's sentences and its domain), the URL, and alt text that says what is shown. Hand the render over on the review page (../style-edit/references/review.md; folder product/<name>, alt for a second tag), give the paths of the sheet and share.txt. Notes about taste go to the taste skill.

A logged-in run: say where the login is kept (node "$S/login.mjs" where <domain> prints the folder) and that it stays logged in on this computer until removed. Once the video is approved, ask in the question box "Log out of <domain> on this computer?" (Yes, delete the saved login (Recommended) / Keep it for the next video); on yes, node "$S/login.mjs" logout <domain>.

If a script stops

message do
no brief: ask the brief ... / brief.json has no ... ask those in the question box (step 1), write brief.json
plan-<tag> is not approved / changed after it was approved / no animatic-<tag>/sheet.png step 6: animatic, show it, ask Approve, approve
story names '...', which is not in site.json elements / click target ... not in site.json product.py copy lists the elements; use one of them
not the site's words: ... replace those words with the site's own (pages.md)
--rights is required ask who holds the rights (references/brief.md "Music")
LOGIN: the site wants a login (music) ask before retrying with --cookies-from-browser <browser>, or offer the generated score
No ElevenLabs key offer on-screen words or their own recording
Modal is not set up on this computer the setup skill's Modal step, or render on the laptop
a blank images/tile-0.jpg after the crawl the site blocked the headless browser: say so, ask for another URL

Files

  • scripts/crawl.mjs: the crawl, home page and inner pages. Reuses style-edit/scripts/capture.mjs (Chrome binary, cookie banners).
  • scripts/record.mjs: UI states as 3x stills (--states) or screencasts, desktop and --mobile; logged in via a profile, read-only deny-list, auto-blur (the logged-in account's own name and handle read from the session into flows/whoami.json, avatars, profile names, emails).
  • scripts/journey.py: the rendered film's plan (canvas, camera, cursor per frame), the framing guarantee, the render checks. journey.py demo self-checks.
  • scripts/meter.py: the smoothness meter. meter.py demo self-checks.
  • scripts/login.mjs: login (a visible window on a dedicated profile), check, logout, where.
  • scripts/product.py: pages, record, copy, plan, animatic, stills, approve, render, check, meter, share, tts. product.py demo self-checks.
  • scripts/gates.py: what plan and render refuse without (brief, approval, music rights, story order). gates.py demo self-checks.
  • scripts/sound.py: the score, the effects, the mix and the master. sound.py demo self-checks.
  • audio/LICENSES.md: every sound's licence and evidence (all synthesised; what was evaluated and why not).
  • references/story.md: story.json, the shot library, flows, the words rules, purposes, 9:16.
  • references/style.md: what Apple, Linear, Stripe, Arc and Raycast films do, measured; how the styles borrow it; what to look for.
  • references/sound.md: their sound, measured; what sound.py does with it.
  • references/brief.md: music rights and logging in, for the brief.
  • references/brag.md: what this takes from latent-spaces/brag (MIT) and what it does differently.
  • ../../remotion/src/product/: ProductVideo.tsx (the composition, page/lift/media/flow shots), Journey.tsx (the rendered film), Shots.tsx (the shot library), kit.tsx (styles, geometry, words, the logo).
  • ../../agents/storyboard-critic.md: reviews the animatic against the checklist.

04 同仓库更多 Skills

nextwork-projects
nextwork-projects/ai-video-editor-cooked

creator-teardown

Reverse-engineers a short-form creator's video format from their real numbers. Pulls a TikTok or YouTube Shorts profile (or pasted links, Instagram reels too) with view, like and save counts, transcribes the top videos word for word, measures pace, pauses and fillers, maps each video into timed beats, and writes a teardown.md someone can film from, a teardown.html page of their graphics, motion and sound, and the style.json the ai-editor plugin edits from (on its own it can write an edit plan as a table and .srt). Use when the user wants to analyse, break down or study a creator ("analyse @handle", "tear down @handle", "teardown of @handle", "break down this creator", "what makes this creator's videos work"), pastes TikTok, YouTube or Instagram links and asks what the pattern is, or asks to set up creator-teardown. Not for editing the user's own video like a creator when ai-editor is installed (its start skill), not for researching a topic, and not for cutting raw footage.

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

update

Updates cooked. to its newest version. Works out how it was installed and does the right thing for each. The official plugin from the marketplace gets the plugin update commands for ai-editor and creator-teardown. A fork the user owns (the power-user route, where they change the editor's own code) gets its new versions pulled from nextwork-projects/ai-video-editor-cooked and merged with their changes kept, after a backup branch, then the fast self-checks, with a rollback if they fail. A plain clone gets the fork route in three steps. Use when the user says "update the editor", "get the latest version", "sync my fork", "pull the new version", or asks how to stay up to date after changing the editor's code. Not for changing a style or a setting (that is taste or the home page), and not for maintainers turning feedback into fixes (that is improve).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

trial-reels

Makes Instagram Trial Reels of a reel the user already made or posted. A trial reel is a re-cut of the same take, never the posted file again. Names the video's type first (story, list or pitch), because that decides what may change, then makes 2-4 versions that each look like a different video at a glance (their own hook, start point, opening, overlays, caption look and sound), every element inside the Reels safe zone, all in the user's own style. Each version goes on the review page as a trial, and only the ones the user names are posted as Trial Reels through post.py, spread over the day. Use when the user says "trial reels", "make trial reels of this", "a few more versions of this reel", "post the trial reels", "test other hooks on this", presses Make on the review page's Trial reels tab, or `wait` prints TRIALS. Not the main edit of a new video (start, cut, style-edit), not clips from a long video (clips).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

taste

Remembers how the user likes their videos edited, so they never give the same correction twice. Saves every correction or preference about an edit (the cut, captions, visuals, sound, layout) into ~/.ai-video-editor/taste.md as a plain rule, and into taste.json when it maps to a setting the scripts read (pause length, fillers, caption size, words per caption, zooms, sound, layout), deduplicated, scoped to every video or just this one, and counted when applied; one that would help everyone goes to the maintainers. Every other cooked. skill reads both before it starts. Use whenever the user reacts to an edit ("too slow", "captions are too small", "fewer zooms", "I hate the whoosh", "that's perfect, keep it like that"), and when they ask "what do you know about my taste", "show my settings", "forget that rule" or "are you learning". Also learns how they cut from a raw take and their posted version ("I already edit by hand", "learn from my edit"). Not for a finished video's notes as a batch (skill-improver).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

style-edit

Turns an approved cut into the finished video in a creator's measured style. Takes cut.mp4 from the cut skill plus a style.json (from start or creator-teardown), plans captions and zooms to match the creator, adds visuals timed to the spoken word (the user's own images, real screenshots, posts and logos of what is named, the line marked on the real page; no type cards, stock icons or emoji), shows the stills on the review page for approval, then renders 9:16 or 16:9 with Remotion on the laptop, Modal, GitHub Actions or the user's AWS Lambda, and can export the edit to Final Cut, Premiere, Resolve or CapCut. Use when a cut already exists and the user says "style it", "now add the style", "add captions and zooms", "add my images to the video", "render the edit", "change the captions", "export to Final Cut" or "send it to Premiere". Not for a raw take or a first request to edit a video like a creator (that is start), not for cutting mistakes out (cut), and not for measuring a creator (creator-teardown).

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

start

The front door of cooked. Takes the user's video and a few multiple-choice answers (platform, creators to copy and what to take from each, audience, brand kit, own photos, names, what to avoid, captions, sound), saves them once to a profile, then runs the whole edit in order (setup if a tool is missing, creator-teardown for a new creator, cut, style-edit) so the user only drops a video, answers, approves the cut and approves the stills. Use when the user says "edit my video", "edit this like @creator", "make my video look like @creator", "make this look like <creator>'s videos", "I want my videos edited", "start", "new video", drops a video file or pastes any link (video, Drive or Dropbox share, creator profile, website, podcast) with no other instruction, or asks how to use the editor. Not for one step named on its own (only cutting is cut, only analysing a creator is creator-teardown, a correction is taste, styling an existing cut is style-edit).

★ 202