Quick start
shipcut runs a Playwright scenario from your repository in headless Chromium and records the page, frame by frame if you ask. It then draws a pointer, click waves, step labels, a zoom and a frame over the video, and publishes the files to your Cloudflare R2 bucket with Markdown links for a PR or a changelog.
Install
In your app's folder:
npx shipcut initThe wizard asks before each step, with a sensible default:
- it checks Node 24 and installs
shipcutglobally with npm; - it downloads the Chromium that shipcut's Playwright drives;
- it checks for
ffmpegbuilt with librsvg andffprobe, and if one is missing prints the command that installs it on your system; - it adds the shipcut skill for Claude Code, Cursor or Codex, whichever your project uses;
- it writes a first scenario to
shipcut/landing.ts, and prints the commands to record it.
npx shipcut init --yes takes every default without asking, for a CI step. It exits 1 while something it needs is still missing, so run it again after a fix.
By hand instead:
npm install -g shipcut
npx playwright@1.63 install chromiumThe second line fetches the Chromium that shipcut's Playwright drives. It also needs Node 24, and ffmpeg built with librsvg and ffprobe on your PATH. Ubuntu's ffmpeg has librsvg, and ffmpeg -decoders | grep librsvg prints a line if yours does.
Linux is where shipcut is built and tested. On macOS it records, but without --frame-by-frame. Windows is untested.
Write a scenario
A scenario is a module in your project whose default export drives the page. Keep them in one folder, such as shipcut/. This one opens the landing and follows a link; save it as shipcut/landing.ts:
export default async ({ page, base, shot, step }) => {
step("The landing");
await page.goto(`${base}/`);
await page.getByRole("heading", { level: 1 }).waitFor();
await shot("landing");
step("Opening the docs");
await page.getByRole("link", { name: "Docs" }).first().click();
await page.waitForURL("**/docs");
await shot("docs");
};page is a Playwright page and base is the URL you record. step marks a chapter, and shot saves a PNG. Scenarios has the rest.
Record
Start your app, then run the scenario against it:
shipcut run shipcut/landing.ts --base http://localhost:3000 --video --pointer--video records video.mp4, and --pointer logs where the pointer goes and what it clicks, for polish to draw. The command prints each file:
/home/you/acme/out/20261009-093529-landing/01-landing.png 78 KB 1280x800
/home/you/acme/out/20261009-093529-landing/02-docs.png 82 KB 1280x800
/home/you/acme/out/20261009-093529-landing/video.mp4 109 KB 1280x800 3.07s
/home/you/acme/out/20261009-093529-landing/run.json
shipcut: video 30 fps, 3.05s from 38 repaints (12.5/s), encoded in 1.6s
shipcut: peak memory 414 MB of the 1500 MB capPolish
shipcut polish out/20261009-093529-landingshipcut: 1 labels in Inter SemiBold
shipcut: framed at 1100x688 in 1280x800, background #E4DDFF to #C9DCFF
shipcut: 1 zooms at 1.5x, 1.609-3.07s
out/20261009-093529-landing/video-polished.mp4 210 KB 1280x800 3.07s
added to run.json
shipcut: peak memory 479 MB of the 1500 MB capvideo-polished.mp4 has the pointer with a wave on each click, the step titles in labels beside it, a zoom on the clicks and a frame around the page. polish reads the pointer's log from run.json, so you can run it again with other flags without recording again. Commands lists them.
Publish
Publishing needs an R2 bucket and five variables, set up once as Publishing describes. Then:
shipcut publish out/20261009-093529-landing --project acme --title "The landing and the docs"Stdout is the Markdown to paste into the PR:
**The landing and the docs**


[video.mp4, 3.1s](https://media.example.com/acme/20261009-093529-landing/video.mp4)
[video-polished.mp4, 3.1s](https://media.example.com/acme/20261009-093529-landing/video-polished.mp4)What you get
- A run directory,
out/20261009-093529-landing/, with the shots,video.mp4,video-polished.mp4andrun.json, which holds the steps, the pointer's clicks and moves, and the git commit. - The same files in your bucket under
acme/20261009-093529-landing/, with amanifest.json, listed in the project'sindex.json. - A Markdown block for the PR: shots embedded, videos linked.
No Markdown host plays an mp4 inline. For motion in a PR, make a GIF and publish again:
shipcut clip out/20261009-093529-landing/video-polished.mp4 --gif
shipcut publish out/20261009-093529-landing --project acme --title "The landing and the docs"