Agent skill · remotion-dev
import-canvas-capture
Import a recorded Remotion Canvas Capture into a project without Studio interactions using the internal experimental-codemod command. Use when adding a capture file as an editable composition with cursor keyframes.
What it needs
About 2k tokens when loaded.
What this skill does
Import Canvas Capture This is an internal, unstable workflow. Keep this skill in .agents/skills; do not distribute it through packages/skills or document the command as a stable API. Workflow 1. Locate the recorded capture file and the target Remotion project. The original recording must contain embedded REMOTIONCAPTUREDATA metadata; a converted video that has lost this metadata cannot be imported. 2. Inspect the project to find the TypeScript file containing its composition registrations (usually src/Root.tsx). Choose an unused composition ID. 3. From the target project's root, run: When developing this command in the monorepo, build the CLI first with bun run build, then invoke the local CLI from the target project's root: 4. Review the reported source files and public asset. The importer generates a component beside the registration file, registers it, copies the video to the public directory, and installs missing @remotion/media and @remotion/mac-cursors dependencies at the project's Remotion version. Studio does not need to be running. Existing Studio sessions pick up source changes through their file watchers; this operation does not enter Studio's undo stack. 5. Report the composition ID and changed files to the user. Options and conflicts Defaults match Studio's capture import: 1920×1080, 60 fps, and duration rounded up from the recording. Pass --width, --height, or --fps to override them. Recorded video dimensions remain independent from composition dimensions. --public-dir overrides the configured public directory. --package-manager selects the dependency installer. --dry-run parses the recording and generates source changes without installing dependencies or writing project files. The programmatic result includes the proposed source changes. The registration file is resolved relative to the project root; the CLI capture path is resolved relative to the current working directory. Existing component files and conflicting public assets are rejected. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills remotion-dev/import-canvas-capture