import-canvas-capture
БесплатноБез исполняемых скриптовНе проверенImport a recorded Remotion Canvas Capture into a project without Studio interactions using canvas-capture import. Use when adding a capture file as an…
от remotion-dev★ 77 030 звёзд на GitHubОб этом скилле
Import Canvas Capture
Workflow
Locate the recorded capture file and the target Remotion project. The original recording must contain embedded
REMOTION_CAPTURE_DATAmetadata; a converted video that has lost this metadata cannot be imported.The command finds the root file and derives the composition ID from the recording's filename. Use
--root-fileor--compositionto override these defaults.From the target project's root, run:
bunx remotion canvas-capture import /absolute/path/capture.webm \ --composition MyCaptureWhen 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:node /absolute/path/to/remotion/packages/cli/remotion-cli.js \ canvas-capture import /absolute/path/capture.webm \ --composition MyCaptureReview the reported source files and public asset. The importer generates a component beside the root file, registers it, copies the video to the public directory, and installs missing
@remotion/mediaand@remotion/mac-cursorsdependencies 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.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--fpsto override them. Recorded video dimensions remain independent from composition dimensions. --public-diroverrides the configured public directory.--package-managerselects the dependency installer.- Imports proceed immediately.
--dry-runparses the recording and generates source changes without installing dependencies or writing project files. The programmatic result includes the proposed source changes. - The root 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. If the recording is already in the public directory, pass that file as the input to reuse it. Otherwise rename the input or select another composition ID; do not overwrite an existing asset or component to bypass an error.
Programmatic access
Use CliInternals.importCanvasCapture from @remotion/cli. It is internal and
unstable. Its inputs are captureFile, rootFile, compositionId,
remotionRoot, publicDir, fps, width, height, packageManager, logLevel,
and dryRun. Supply null for default directory, dimensions, frame rate, and
package manager. File paths are resolved relative to remotionRoot.
The result contains the composition ID, source and asset paths, composition
metadata, and codemod changes. Pass dryRun: true to inspect changes in memory.
Установить import-canvas-capture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл import-canvas-capture?
Import a recorded Remotion Canvas Capture into a project without Studio interactions using canvas-capture import. Use when adding a capture file as an editable composition with cursor keyframes.
Как установить скилл import-canvas-capture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл import-canvas-capture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic