/supercut:supercutfrom supercut
Records a cinematic launch video of a running web app using real browser interactions. Acts as the director, writing a recipe script that films and renders the app with camera moves and music.
Ships in supercut. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
supercut films a real web app with a real browser and renders a cinematic video (camera moves, motion blur, music). Normally an LLM director writes the filming script. Here you write it yourself, so the user needs no API key.
The pipeline is: you write recipe.json, then supercut record films it, then supercut render produces final.mp4. Both commands are keyless and deterministic.
[email protected]). Never type real credentials or secrets.npx @co-messi/supercut doctor
If npm cannot find @co-messi/supercut (it is not published yet), use a source checkout instead: git clone https://github.com/Co-Messi/supercut, then npm ci && npm run build inside it, and run node <checkout>/dist/cli/index.js wherever these steps say npx @co-messi/supercut.
It needs Node 20 or newer, ffmpeg on PATH, and Playwright's Chromium. Fix whatever it reports, using the exact command it prints: the Chromium command runs supercut's own copy of Playwright (node "<its path>/cli.js" install chromium). Do not substitute npx playwright install chromium: inside an app that has its own Playwright it installs that app's browser version, which supercut cannot use.
Ask the user for the URL, or find the dev command in package.json. Confirm it answers:
curl -sS -o /dev/null -w "%{http_code}\n" http://localhost:3000/
Start the dev server in the background if it is not running, and stop only the process you started when you are done. Make sure the port belongs to this app and not to something else.
Work out what the product is and which 2 to 4 moments sell it.
app/, pages/, src/routes/, a router file), and the components behind the main flows. Look for the real selectors: id, data-testid, stable class names, aria-label.Write it next to the app or under out/. It must satisfy this schema (the real parser is parseRecipe in src/schema/recipe.ts):
recipe: {
version: 0, // literal 0
app_url: "http://localhost:3000",// http or https only
music_track: "pulse"|"daybreak"|"midnight"|"momentum"|"off",
scenes: Scene[] // at least 1
}
Scene: {
name: string, // unique, kebab-case
priority: int >= 1, // 1 = most important
entry: { url: string, prelude: [] }, // page this scene starts on
depends_on: string[], // names of EARLIER scenes, usually []
actions: Action[], // at least 1
hold_ms: int >= 0 // extra hold on the final frame
}
Action: {
kind: "click"|"type"|"hover"|"scroll"|"wait"|"goto",
selector: string, // required for click, type, hover
text: string, // required for type
submit: boolean, // type only: press Enter after typing
url: string, // required for goto
focus_selector: string, // optional: the RESULT region the camera should frame
duration_ms: int >= 200,
zoom: [x, y, w, h] // optional camera box in CSS px, rarely needed
}
Rules that make a recipe fail validation:
duration_ms and hold_ms, plus 1000 ms, plus 2400 ms per scene after the first, plus an ending of 1000 to 4100 ms (the full 4100 ms when the last scene ends on a click or type, or on a hover with focus_selector, with no hold after it). record checks this before it opens a browser and prints the estimate when it is over. A good launch video is 20 to 40 seconds, so aim for 3 to 6 actions in total.entry.url. Do not rely on typed text, filters or other page state left behind by an earlier scene: a scene reloads its entry.url unless the previous scene only hovered or waited on that same page, in which case it continues from there.Minimal valid example (this exact JSON is validated by the repo's tests):
{
"version": 0,
"app_url": "http://localhost:3000",
"music_track": "daybreak",
"scenes": [
{
"name": "search-and-results",
"priority": 1,
"entry": { "url": "http://localhost:3000/", "prelude": [] },
"depends_on": [],
"actions": [
{ "kind": "type", "selector": "#search", "text": "quarterly report", "submit": true, "focus_selector": "#results", "duration_ms": 2200 },
{ "kind": "hover", "selector": "#results li:first-child", "duration_ms": 1400 }
],
"hold_ms": 1000
}
]
}
Tips for a good take:
focus_selector on the action that produces the payoff, so the camera holds on the result and not on the button.music_track to match the look: pulse for sleek dev tools, daybreak for bright consumer apps, midnight for dark data products, momentum for fast action-heavy apps, off for silence. render does not read the recipe, so pass the same name to it with --music (step 6).Show the actions list and get a yes (safety rule 4). Then:
npx @co-messi/supercut record --recipe recipe.json --out out/take
record exits nonzero if any scene failed, and prints which. A failed scene usually means a wrong selector, a wrong URL, or another app on that port. Fix the recipe and record again. Do not render a partial take unless the user agrees.
npx @co-messi/supercut render --take out/take --out out/final.mp4 --music daybreak
Replace daybreak with the recipe's music_track. Without --music the video is silent. Optional: --bg cobalt|glacier|sunrise|daydream|magenta|coral|lavender|aurora|midnight|dusk|paper for the backdrop.
Make a contact sheet and view it with your image-reading tool:
ffmpeg -y -i out/final.mp4 -vf "fps=1/3,scale=480:-1,tile=4x3" -frames:v 1 out/contact.png
Check that the cursor lands on the intended controls, the camera frames the result, no frame shows an error page or a blank screen, and nothing sensitive is on screen. If something is wrong, adjust the recipe and repeat from step 5.
Report the path of out/final.mp4, the scenes you filmed, and anything you noticed that the user might want changed. Do not claim the video looks good unless you actually looked at the contact sheet.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
launch-video, product-demo, screen-recording, video-generation
npx claudepluginhub co-messi/supercut --plugin supercutOther plugins' skills for the same job