clip
Installation
SKILL.md
Clip
scripts/clip.ts (in <skill dir>) records 60 fps demos with a 60 Hz drawn cursor and checks each take before rendering.
Set up
Requires Bun and ffmpeg. If <skill dir>/scripts/node_modules is missing, run bun install --cwd <skill dir>/scripts (and bunx --cwd <skill dir>/scripts playwright-core install chromium if Chromium fails to launch).
Record a clip
-
Write a Bun scene in the run folder:
import { openClip } from '<skill dir>/scripts/clip.ts'