Skip to content

🎥 Make videos programmatically with React

Skills: Remove Canvas Capture browser installation skill

JonnyBurgerc2d6aed30951
diff --git a/.agents/skills/canvas-capture-extension/SKILL.md b/.agents/skills/canvas-capture-extension/SKILL.md
index a231f9b04b..809e3bdd74 100644
--- a/.agents/skills/canvas-capture-extension/SKILL.md
+++ b/.agents/skills/canvas-capture-extension/SKILL.md
@@ -23,8 +23,7 @@ the unpacked copy outside the checkout so deleting a worktree cannot break it.
The script builds with Bun and installs the complete WXT bundle in
`/Users/jonathanburger/Applications/Remotion Canvas Capture Extension`.
Building does not require an installed browser. To use the extension, choose
- Chrome 157.0.8080.0 or newer with Canvas Draw Element enabled. If no compatible browser
- is installed, use `$install-canvas-capture-browser` to install one.
+ Chrome 157.0.8080.0 or newer with Canvas Draw Element enabled.
3. Confirm that the installed directory contains `manifest.json`,
`background.js`, `capture.js`, `drag-image.js`, `shot-tools.js`, `logo.svg`,
diff --git a/.agents/skills/install-canvas-capture-browser/SKILL.md b/.agents/skills/install-canvas-capture-browser/SKILL.md
deleted file mode 100644
index 68b603b0e0..0000000000
--- a/.agents/skills/install-canvas-capture-browser/SKILL.md
+++ /dev/null
@@ -1,44 +0,0 @@
----
-name: install-canvas-capture-browser
-description: Install and verify Chrome for Testing 157.0.8080.0 or newer for the private Remotion Canvas Capture extension on Apple Silicon macOS. Use when setting up Canvas Capture or when no compatible Chrome browser is installed.
----
-
-# Install Canvas Capture Browser
-
-Canvas Capture requires Chrome 157.0.8080.0 or newer with Canvas Draw Element enabled.
-Use an existing compatible Chrome browser, or install Chrome for Testing with
-the bundled script. The extension also checks the required HTML-in-canvas API
-and video encoding configuration before allowing recording.
-
-## Install
-
-1. Run the bundled installer:
-
- ```bash
- .agents/skills/install-canvas-capture-browser/scripts/install-browser.sh
- ```
-
- The script only supports Apple Silicon macOS. It selects the first compatible
- Stable, Beta, Dev, or Canary release from Google's Chrome for Testing metadata,
- verifies that the downloaded app matches that release, and
- installs the app at `/Users/jonathanburger/Applications/Recorder Chrome.app`.
- It exits successfully without downloading when the version is 157.0.8080.0 or newer and the browser is
- already installed. It does not overwrite an incompatible existing app.
-
-2. Confirm the script reports the expected installed path and a version of at least 157.0.8080.0.
-
-3. Launch it for Canvas Capture with:
-
- ```bash
- '/Users/jonathanburger/Applications/Recorder Chrome.app/Contents/MacOS/Google Chrome for Testing' \
- --user-data-dir='/Users/jonathanburger/Library/Application Support/Remotion Canvas Capture' \
- --enable-features=CanvasDrawElement \
- --no-first-run \
- --no-default-browser-check
- ```
-
- `--enable-features=CanvasDrawElement` is equivalent to enabling
- `chrome://flags/#canvas-draw-element` and restarting Chrome; either method is
- sufficient. Do not add `--enable-blink-features=CanvasDrawElement`: this
- developer override directly changes Blink's state and triggers Chrome's
- unsupported-command-line warning, even when the feature is supported.
diff --git a/.agents/skills/install-canvas-capture-browser/agents/openai.yaml b/.agents/skills/install-canvas-capture-browser/agents/openai.yaml
deleted file mode 100644
index 580adc5276..0000000000
--- a/.agents/skills/install-canvas-capture-browser/agents/openai.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-interface:
- display_name: 'Install Canvas Capture Browser'
- short_description: 'Install Chrome 157.0.8080.0 or newer for Canvas Capture'
- default_prompt: 'Use $install-canvas-capture-browser to install Chrome for Testing 157.0.8080.0 or newer for Canvas Capture.'
diff --git a/.agents/skills/product-recording/SKILL.md b/.agents/skills/product-recording/SKILL.md
index d7977777ed..8da9c5af04 100644
--- a/.agents/skills/product-recording/SKILL.md
+++ b/.agents/skills/product-recording/SKILL.md
@@ -15,9 +15,7 @@ Remotion workflow; keep this skill in `.agents/skills`.
and install the extension in its durable directory. Reload the installed
extension through `chrome://extensions` after rebuilding; a successful build
alone does not refresh Chrome's loaded extension.
-2. Use an existing compatible Chrome with Canvas Draw Element enabled. If none
- is available, follow
- [install-canvas-capture-browser](../install-canvas-capture-browser/SKILL.md).
+2. Use an existing compatible Chrome with Canvas Draw Element enabled.
Preserve unrelated browser tabs and unfinished recordings.
3. Find the requested composition's registration and owning package. Follow
[studio](../studio/SKILL.md) for dependency/build preparation and server
diff --git a/packages/canvas-capture-extension/README.md b/packages/canvas-capture-extension/README.md
index aabe596993..ea26969d28 100644
--- a/packages/canvas-capture-extension/README.md
+++ b/packages/canvas-capture-extension/README.md
@@ -17,7 +17,7 @@ Chrome versions below the manifest minimum cannot load the extension at all.
To install a compatible Chrome for Testing build, run:
```bash
-.agents/skills/install-canvas-capture-browser/scripts/install-browser.sh
+packages/canvas-capture-extension/scripts/install-browser.sh
```
The installer uses a compatible release from Google's Chrome for Testing channels and installs it at:
diff --git a/.agents/skills/install-canvas-capture-browser/scripts/install-browser.sh b/packages/canvas-capture-extension/scripts/install-browser.sh
similarity index 100%
rename from .agents/skills/install-canvas-capture-browser/scripts/install-browser.sh
rename to packages/canvas-capture-extension/scripts/install-browser.sh
diff --git a/packages/it-tests/src/templates/publish.ts b/packages/it-tests/src/templates/publish.ts
index e18825547a..621dc07abc 100644
--- a/packages/it-tests/src/templates/publish.ts
+++ b/packages/it-tests/src/templates/publish.ts
@@ -258,14 +258,7 @@ const publishCanvasCapture = async () => {
);
const installBrowserPath = path.join(workingDir, 'install-browser.sh');
copyFileSync(
- path.join(
- monorepoDir,
- '.agents',
- 'skills',
- 'install-canvas-capture-browser',
- 'scripts',
- 'install-browser.sh',
- ),
+ path.join(packageDir, 'scripts', 'install-browser.sh'),
installBrowserPath,
);
chmodSync(installBrowserPath, 0o755);