From fdb58deb6602d5fa3fa63c80503549d5cc1456a1 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 11:39:04 +0000 Subject: [PATCH 1/5] fix(plugin): keep set-up steps out of the directory edition The directory refused the skills-only edition: its text told Claude to download and run the latest installer without a pinned checksum, and to register OpenScreen's local MCP server, which the plugin does not declare. In the directory edition the demo skill now checks for the tools, and without them says so and links to OpenScreen's guide. The README follows. The build refuses those commands if they come back. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019SAKipREuKRNW28N1gsAuR --- .github/scripts/build-plugin-mirror.mjs | 14 +++++++++++++- plugin/README.md | 10 ++++------ plugin/skills/openscreen-demo/SKILL.md | 21 +++------------------ 3 files changed, 20 insertions(+), 25 deletions(-) diff --git a/.github/scripts/build-plugin-mirror.mjs b/.github/scripts/build-plugin-mirror.mjs index 977586516..ab1cad46e 100644 --- a/.github/scripts/build-plugin-mirror.mjs +++ b/.github/scripts/build-plugin-mirror.mjs @@ -49,7 +49,19 @@ const DIRECTORY_DROPS = [".mcp.json", "scripts"]; // reads `network` (the hosts the plugin reaches), but the directory does not list it. const DIRECTORY_MANIFEST_DROPS = ["network"]; // Words that would point Claude at something the directory edition does not ship. -const DANGLING = [/\.mjs\b/, /openscreenSetup/, /\/reload-plugins/, /\b(the|plugin.s) launcher\b/]; +// The directory also refuses text that registers an MCP server the plugin does not declare, +// or that downloads and runs code without a pinned version and checksum. +const DANGLING = [ + /\bmcp add\b/, + /\bwinget\b/, + /\bgh release\b/, + /releases\/latest/, + /\/plugin marketplace add\b/, + /\.mjs\b/, + /openscreenSetup/, + /\/reload-plugins/, + /\b(the|plugin.s) launcher\b/, +]; function walk(dir, root = dir) { return readdirSync(dir).flatMap((name) => { diff --git a/plugin/README.md b/plugin/README.md index e17a1c279..5d0fed1b5 100644 --- a/plugin/README.md +++ b/plugin/README.md @@ -4,7 +4,7 @@ This plugin turns one sentence into a finished demo video of an app or a feature OpenScreen is a free, open-source (MIT) screen recorder and video editor for Windows, macOS and Linux. The plugin carries several skills and OpenScreen's MCP server, so the recording and editing tools are there as soon as the plugin is enabled. The tools themselves come from the desktop app's own executable, started with `mcp`. ## The skills @@ -24,9 +24,9 @@ This edition of the plugin carries the skills. The recording and editing tools c - **Explains instead of failing when the app is missing.** If OpenScreen is not installed, is older than 2.1.0 or cannot start, the script serves one tool, `openscreenSetup`, that tells Claude what it checked and how to set OpenScreen up. -- **Installs OpenScreen, only after you agree.** If the app is missing, a skill offers to download the latest installer from [the project's GitHub releases](https://github.com/getopenscreen/openscreen/releases/latest), or the Microsoft Store on Windows, and install it. +- **Installs OpenScreen, only after you agree.** If the app is missing, a skill offers to download the latest installer from [the project's GitHub releases](https://github.com/getopenscreen/openscreen/releases/latest), or the Microsoft Store on Windows, and install it. - **Records the window you choose.** The recording and the project stay on your machine. The exported video leaves it only when you share it, as below. - **Attaches the video to a pull request** with `gh`, on the repository you work in, when you ask for a pull request video. - **Drafts a post on X** for a launch demo, and posts it only after your explicit yes. @@ -47,9 +47,7 @@ The server needs Node.js on the PATH. Without it, or in an agent without plugin Documentation: [Letting an agent make the whole video](https://getopenscreen.com/docs/ai-editing/#letting-an-agent-make-the-whole-video). diff --git a/plugin/skills/openscreen-demo/SKILL.md b/plugin/skills/openscreen-demo/SKILL.md index 25188da7a..fc2e74f3e 100644 --- a/plugin/skills/openscreen-demo/SKILL.md +++ b/plugin/skills/openscreen-demo/SKILL.md @@ -24,16 +24,6 @@ If you have only the tool `openscreenSetup`, the plugin's launcher is running bu - **The agent has no plugin support,** or you work in Codex, Cursor or another agent: register the server by hand, as below. **The app.** Its executable is the MCP server. The launcher checks these locations, and the environment variable `OPENSCREEN_EXE` overrides them: - - | OS | Executable | |---|---| @@ -48,22 +38,17 @@ Check every location in the table before you call OpenScreen missing: the Store - **Windows:** the Microsoft Store (`winget install --source msstore OpenScreen`), or the `Openscreen.Setup..exe` installer, run with `/S /currentuser` for a silent install for the current user. - **Linux:** the `.deb`, `.rpm` or `.pacman` for the distribution, or the `.AppImage` made executable. 2. Check `help` again. If even the latest release does not list `mcp`, this OpenScreen feature is not released yet: say so and stop. - 3. With the plugin, run `/reload-plugins` or start a new session: the launcher now finds the app. **The MCP server by hand,** only without the plugin's server: add it to the agent, then the tools load in the next session. - **Claude Code:** `claude mcp add openscreen -- "" mcp`. Not alongside the plugin's server, which would give you every tool twice. +- **Codex:** `codex mcp add openscreen -- "" mcp` +- **Cursor and others:** a stdio server with the executable as `command` and `["mcp"]` as `args`. -- **Codex:** `codex mcp add openscreen -- "" mcp` -- **Cursor and others:** a stdio server with the executable as `command` and `["mcp"]` as `args`. **Permissions.** - **macOS:** the app that runs the agent needs, in System Settings → Privacy & Security, the Screen Recording permission to record at all, and the Accessibility permission for OpenScreen to record the pointer's clicks and shapes. Without Accessibility a take driven with the real mouse gets no zoom on its clicks: grant it, or hand the clicks over with `setPointerTrack` as for a scripted take. From 5375cd4f3b20cf984499eb21129394c99464c92d Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 11:44:08 +0000 Subject: [PATCH 2/5] plugin: give the directory edition a route to update OpenScreen Where a skill offered to update OpenScreen through the demo skill's step 1, the directory edition now asks the user to update it from OpenScreen's guide, since that edition drops the install steps. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019SAKipREuKRNW28N1gsAuR --- plugin/skills/openscreen-demo/SKILL.md | 2 +- plugin/skills/openscreen-effects/SKILL.md | 2 +- plugin/skills/openscreen-motion/SKILL.md | 2 +- plugin/skills/openscreen-review/SKILL.md | 2 +- plugin/skills/openscreen-sound/SKILL.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/skills/openscreen-demo/SKILL.md b/plugin/skills/openscreen-demo/SKILL.md index fc2e74f3e..d517b4f16 100644 --- a/plugin/skills/openscreen-demo/SKILL.md +++ b/plugin/skills/openscreen-demo/SKILL.md @@ -157,7 +157,7 @@ Keep the rest as it is: the background, padding, shadow and cursor style are cho While you edit, you can call `getFrames` and `getContactSheet` with the `projectId` before exporting: without a current export they render the frames the export would show. -If a tool named here is not in your tool list (`getContactSheet`, `getAudioReport`, or `region`, `startSec` and `endSec` on `getFrames`), the installed OpenScreen is older than this skill: offer to update it as in step 1, or fall back to `getFrames` with `atSec`. +If a tool named here is not in your tool list (`getContactSheet`, `getAudioReport`, or `region`, `startSec` and `endSec` on `getFrames`), the installed OpenScreen is older than this skill: offer to update it as in step 1, or fall back to `getFrames` with `atSec`. ## 8. Deliver diff --git a/plugin/skills/openscreen-effects/SKILL.md b/plugin/skills/openscreen-effects/SKILL.md index 275ff7703..82573cfee 100644 --- a/plugin/skills/openscreen-effects/SKILL.md +++ b/plugin/skills/openscreen-effects/SKILL.md @@ -11,7 +11,7 @@ compositor runs it on every output pixel, in the preview and in the export alike user asked; reach for settings first (`setEditorSettings`, zooms, annotations). If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or fall back to what exists, +skill: offer to update it (see the `openscreen-demo` skill, step 1), or fall back to what exists, `getFrames` with `atSec` in place of `getContactSheet`, of `getBeforeAfter` and of `getFrames` `region`. diff --git a/plugin/skills/openscreen-motion/SKILL.md b/plugin/skills/openscreen-motion/SKILL.md index ad969b943..cbd5378ec 100644 --- a/plugin/skills/openscreen-motion/SKILL.md +++ b/plugin/skills/openscreen-motion/SKILL.md @@ -10,7 +10,7 @@ them time to read it, and get out of the way. Every rule below serves that. Appl place zooms, callouts and speed changes, and when you review an edit that looks busy or cheap. If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or use `getFrames` with +skill: offer to update it (see the `openscreen-demo` skill, step 1), or use `getFrames` with `atSec` where this skill says `getContactSheet`. ## 1. One focus per shot diff --git a/plugin/skills/openscreen-review/SKILL.md b/plugin/skills/openscreen-review/SKILL.md index 44bda75de..52b364996 100644 --- a/plugin/skills/openscreen-review/SKILL.md +++ b/plugin/skills/openscreen-review/SKILL.md @@ -9,7 +9,7 @@ Run this on every film before it leaves the machine, and again after every fix. **Tools.** `getFrames` returns up to 12 frames per call; with `region` it returns only that part of the frame at the video's own resolution (up to 1280 px wide), and with `startSec` / `endSec` and `count` it spreads frames inside that window. `getContactSheet` returns one image of a grid of frames, each with its time printed on it, up to 36 per sheet, for the cost of one image. `getAudioReport` measures the sound as the export mixes it. `getBeforeAfter` pairs up to 6 moments as they were at a checkpoint and as they are now, and says where each pair differs: after a fix, it shows that the fix landed and that nothing else moved. With `projectId`, times are ruler seconds, the ones the document tools use. With `path`, they are the file's own seconds. -If `getContactSheet`, `getAudioReport` or `getBeforeAfter` is not in your tool list, or `getFrames` refuses `region`, `startSec` or `endSec`, the installed OpenScreen is older than this skill: offer to update it (the `openscreen-demo` skill's setup), or fall back to `getFrames` with `atSec` (up to 12 times per call, 0.1 s apart for a dense window). For the sound, the fallback is `exportAudio` then `ffmpeg -i -af ebur128=peak=true -f null -`, and it needs both: `exportAudio` in your tool list (older installs lack it too) and ffmpeg installed. Without them the sound cannot be measured: say so in the report. +If `getContactSheet`, `getAudioReport` or `getBeforeAfter` is not in your tool list, or `getFrames` refuses `region`, `startSec` or `endSec`, the installed OpenScreen is older than this skill: offer to update it (the `openscreen-demo` skill's setup), or fall back to `getFrames` with `atSec` (up to 12 times per call, 0.1 s apart for a dense window). For the sound, the fallback is `exportAudio` then `ffmpeg -i -af ebur128=peak=true -f null -`, and it needs both: `exportAudio` in your tool list (older installs lack it too) and ffmpeg installed. Without them the sound cannot be measured: say so in the report. ## Before you look diff --git a/plugin/skills/openscreen-sound/SKILL.md b/plugin/skills/openscreen-sound/SKILL.md index dcdb463aa..f342ba116 100644 --- a/plugin/skills/openscreen-sound/SKILL.md +++ b/plugin/skills/openscreen-sound/SKILL.md @@ -10,7 +10,7 @@ Decide what leads, place it, then measure the mix instead of trusting it: you ca preview, and a render you did not measure is a guess. If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or measure as in +skill: offer to update it (see the `openscreen-demo` skill, step 1), or measure as in "Without getAudioReport" below. ## 1. Keep it simple From 1cedf46c6b9e5f7d475a4859a77a28b4e08e1fae Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 11:47:54 +0000 Subject: [PATCH 3/5] plugin: point the directory edition's update route at the install guide The AI editing guide does not explain updating; the installation guide shows where to get the latest installer. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019SAKipREuKRNW28N1gsAuR --- plugin/skills/openscreen-demo/SKILL.md | 2 +- plugin/skills/openscreen-effects/SKILL.md | 2 +- plugin/skills/openscreen-motion/SKILL.md | 2 +- plugin/skills/openscreen-review/SKILL.md | 2 +- plugin/skills/openscreen-sound/SKILL.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/skills/openscreen-demo/SKILL.md b/plugin/skills/openscreen-demo/SKILL.md index d517b4f16..e9209e311 100644 --- a/plugin/skills/openscreen-demo/SKILL.md +++ b/plugin/skills/openscreen-demo/SKILL.md @@ -157,7 +157,7 @@ Keep the rest as it is: the background, padding, shadow and cursor style are cho While you edit, you can call `getFrames` and `getContactSheet` with the `projectId` before exporting: without a current export they render the frames the export would show. -If a tool named here is not in your tool list (`getContactSheet`, `getAudioReport`, or `region`, `startSec` and `endSec` on `getFrames`), the installed OpenScreen is older than this skill: offer to update it as in step 1, or fall back to `getFrames` with `atSec`. +If a tool named here is not in your tool list (`getContactSheet`, `getAudioReport`, or `region`, `startSec` and `endSec` on `getFrames`), the installed OpenScreen is older than this skill: offer to update it as in step 1, or fall back to `getFrames` with `atSec`. ## 8. Deliver diff --git a/plugin/skills/openscreen-effects/SKILL.md b/plugin/skills/openscreen-effects/SKILL.md index 82573cfee..d23855095 100644 --- a/plugin/skills/openscreen-effects/SKILL.md +++ b/plugin/skills/openscreen-effects/SKILL.md @@ -11,7 +11,7 @@ compositor runs it on every output pixel, in the preview and in the export alike user asked; reach for settings first (`setEditorSettings`, zooms, annotations). If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or fall back to what exists, +skill: offer to update it (see the `openscreen-demo` skill, step 1), or fall back to what exists, `getFrames` with `atSec` in place of `getContactSheet`, of `getBeforeAfter` and of `getFrames` `region`. diff --git a/plugin/skills/openscreen-motion/SKILL.md b/plugin/skills/openscreen-motion/SKILL.md index cbd5378ec..cda85f508 100644 --- a/plugin/skills/openscreen-motion/SKILL.md +++ b/plugin/skills/openscreen-motion/SKILL.md @@ -10,7 +10,7 @@ them time to read it, and get out of the way. Every rule below serves that. Appl place zooms, callouts and speed changes, and when you review an edit that looks busy or cheap. If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or use `getFrames` with +skill: offer to update it (see the `openscreen-demo` skill, step 1), or use `getFrames` with `atSec` where this skill says `getContactSheet`. ## 1. One focus per shot diff --git a/plugin/skills/openscreen-review/SKILL.md b/plugin/skills/openscreen-review/SKILL.md index 52b364996..3795d048d 100644 --- a/plugin/skills/openscreen-review/SKILL.md +++ b/plugin/skills/openscreen-review/SKILL.md @@ -9,7 +9,7 @@ Run this on every film before it leaves the machine, and again after every fix. **Tools.** `getFrames` returns up to 12 frames per call; with `region` it returns only that part of the frame at the video's own resolution (up to 1280 px wide), and with `startSec` / `endSec` and `count` it spreads frames inside that window. `getContactSheet` returns one image of a grid of frames, each with its time printed on it, up to 36 per sheet, for the cost of one image. `getAudioReport` measures the sound as the export mixes it. `getBeforeAfter` pairs up to 6 moments as they were at a checkpoint and as they are now, and says where each pair differs: after a fix, it shows that the fix landed and that nothing else moved. With `projectId`, times are ruler seconds, the ones the document tools use. With `path`, they are the file's own seconds. -If `getContactSheet`, `getAudioReport` or `getBeforeAfter` is not in your tool list, or `getFrames` refuses `region`, `startSec` or `endSec`, the installed OpenScreen is older than this skill: offer to update it (the `openscreen-demo` skill's setup), or fall back to `getFrames` with `atSec` (up to 12 times per call, 0.1 s apart for a dense window). For the sound, the fallback is `exportAudio` then `ffmpeg -i -af ebur128=peak=true -f null -`, and it needs both: `exportAudio` in your tool list (older installs lack it too) and ffmpeg installed. Without them the sound cannot be measured: say so in the report. +If `getContactSheet`, `getAudioReport` or `getBeforeAfter` is not in your tool list, or `getFrames` refuses `region`, `startSec` or `endSec`, the installed OpenScreen is older than this skill: offer to update it (the `openscreen-demo` skill's setup), or fall back to `getFrames` with `atSec` (up to 12 times per call, 0.1 s apart for a dense window). For the sound, the fallback is `exportAudio` then `ffmpeg -i -af ebur128=peak=true -f null -`, and it needs both: `exportAudio` in your tool list (older installs lack it too) and ffmpeg installed. Without them the sound cannot be measured: say so in the report. ## Before you look diff --git a/plugin/skills/openscreen-sound/SKILL.md b/plugin/skills/openscreen-sound/SKILL.md index f342ba116..1b03c9409 100644 --- a/plugin/skills/openscreen-sound/SKILL.md +++ b/plugin/skills/openscreen-sound/SKILL.md @@ -10,7 +10,7 @@ Decide what leads, place it, then measure the mix instead of trusting it: you ca preview, and a render you did not measure is a guess. If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or measure as in +skill: offer to update it (see the `openscreen-demo` skill, step 1), or measure as in "Without getAudioReport" below. ## 1. Keep it simple From 30010b297ca12b97c505c2ebc6877381b6ca1a1a Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 11:53:17 +0000 Subject: [PATCH 4/5] plugin: ask for a new session after updating, and tell a disconnected app apart In the directory edition, the update route now asks the user to start a new session afterwards, and the sound, effects, motion and review skills send a user with no OpenScreen tool at all to the connection guide instead. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019SAKipREuKRNW28N1gsAuR --- plugin/skills/openscreen-demo/SKILL.md | 2 +- plugin/skills/openscreen-effects/SKILL.md | 2 +- plugin/skills/openscreen-motion/SKILL.md | 2 +- plugin/skills/openscreen-review/SKILL.md | 2 +- plugin/skills/openscreen-sound/SKILL.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/skills/openscreen-demo/SKILL.md b/plugin/skills/openscreen-demo/SKILL.md index e9209e311..a0e453868 100644 --- a/plugin/skills/openscreen-demo/SKILL.md +++ b/plugin/skills/openscreen-demo/SKILL.md @@ -157,7 +157,7 @@ Keep the rest as it is: the background, padding, shadow and cursor style are cho While you edit, you can call `getFrames` and `getContactSheet` with the `projectId` before exporting: without a current export they render the frames the export would show. -If a tool named here is not in your tool list (`getContactSheet`, `getAudioReport`, or `region`, `startSec` and `endSec` on `getFrames`), the installed OpenScreen is older than this skill: offer to update it as in step 1, or fall back to `getFrames` with `atSec`. +If a tool named here is not in your tool list (`getContactSheet`, `getAudioReport`, or `region`, `startSec` and `endSec` on `getFrames`), the installed OpenScreen is older than this skill: offer to update it as in step 1, or fall back to `getFrames` with `atSec`. ## 8. Deliver diff --git a/plugin/skills/openscreen-effects/SKILL.md b/plugin/skills/openscreen-effects/SKILL.md index d23855095..5240ba4df 100644 --- a/plugin/skills/openscreen-effects/SKILL.md +++ b/plugin/skills/openscreen-effects/SKILL.md @@ -11,7 +11,7 @@ compositor runs it on every output pixel, in the preview and in the export alike user asked; reach for settings first (`setEditorSettings`, zooms, annotations). If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or fall back to what exists, +skill: offer to update it (see the `openscreen-demo` skill, step 1), or fall back to what exists, `getFrames` with `atSec` in place of `getContactSheet`, of `getBeforeAfter` and of `getFrames` `region`. diff --git a/plugin/skills/openscreen-motion/SKILL.md b/plugin/skills/openscreen-motion/SKILL.md index cda85f508..872f51891 100644 --- a/plugin/skills/openscreen-motion/SKILL.md +++ b/plugin/skills/openscreen-motion/SKILL.md @@ -10,7 +10,7 @@ them time to read it, and get out of the way. Every rule below serves that. Appl place zooms, callouts and speed changes, and when you review an edit that looks busy or cheap. If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or use `getFrames` with +skill: offer to update it (see the `openscreen-demo` skill, step 1), or use `getFrames` with `atSec` where this skill says `getContactSheet`. ## 1. One focus per shot diff --git a/plugin/skills/openscreen-review/SKILL.md b/plugin/skills/openscreen-review/SKILL.md index 3795d048d..06ae6ff00 100644 --- a/plugin/skills/openscreen-review/SKILL.md +++ b/plugin/skills/openscreen-review/SKILL.md @@ -9,7 +9,7 @@ Run this on every film before it leaves the machine, and again after every fix. **Tools.** `getFrames` returns up to 12 frames per call; with `region` it returns only that part of the frame at the video's own resolution (up to 1280 px wide), and with `startSec` / `endSec` and `count` it spreads frames inside that window. `getContactSheet` returns one image of a grid of frames, each with its time printed on it, up to 36 per sheet, for the cost of one image. `getAudioReport` measures the sound as the export mixes it. `getBeforeAfter` pairs up to 6 moments as they were at a checkpoint and as they are now, and says where each pair differs: after a fix, it shows that the fix landed and that nothing else moved. With `projectId`, times are ruler seconds, the ones the document tools use. With `path`, they are the file's own seconds. -If `getContactSheet`, `getAudioReport` or `getBeforeAfter` is not in your tool list, or `getFrames` refuses `region`, `startSec` or `endSec`, the installed OpenScreen is older than this skill: offer to update it (the `openscreen-demo` skill's setup), or fall back to `getFrames` with `atSec` (up to 12 times per call, 0.1 s apart for a dense window). For the sound, the fallback is `exportAudio` then `ffmpeg -i -af ebur128=peak=true -f null -`, and it needs both: `exportAudio` in your tool list (older installs lack it too) and ffmpeg installed. Without them the sound cannot be measured: say so in the report. +If `getContactSheet`, `getAudioReport` or `getBeforeAfter` is not in your tool list, or `getFrames` refuses `region`, `startSec` or `endSec`, the installed OpenScreen is older than this skill: offer to update it (the `openscreen-demo` skill's setup), or fall back to `getFrames` with `atSec` (up to 12 times per call, 0.1 s apart for a dense window). For the sound, the fallback is `exportAudio` then `ffmpeg -i -af ebur128=peak=true -f null -`, and it needs both: `exportAudio` in your tool list (older installs lack it too) and ffmpeg installed. Without them the sound cannot be measured: say so in the report. ## Before you look diff --git a/plugin/skills/openscreen-sound/SKILL.md b/plugin/skills/openscreen-sound/SKILL.md index 1b03c9409..f3c905d8b 100644 --- a/plugin/skills/openscreen-sound/SKILL.md +++ b/plugin/skills/openscreen-sound/SKILL.md @@ -10,7 +10,7 @@ Decide what leads, place it, then measure the mix instead of trusting it: you ca preview, and a render you did not measure is a guess. If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or measure as in +skill: offer to update it (see the `openscreen-demo` skill, step 1), or measure as in "Without getAudioReport" below. ## 1. Keep it simple From fc719b0ea1005034f5c6b3c1da4a8770fd38269b Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 11:59:19 +0000 Subject: [PATCH 5/5] plugin: ask the user to quit OpenScreen before installing the update A running old build keeps serving the old tools to a new session. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019SAKipREuKRNW28N1gsAuR --- plugin/skills/openscreen-demo/SKILL.md | 2 +- plugin/skills/openscreen-effects/SKILL.md | 2 +- plugin/skills/openscreen-motion/SKILL.md | 2 +- plugin/skills/openscreen-review/SKILL.md | 2 +- plugin/skills/openscreen-sound/SKILL.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/skills/openscreen-demo/SKILL.md b/plugin/skills/openscreen-demo/SKILL.md index a0e453868..a114358d3 100644 --- a/plugin/skills/openscreen-demo/SKILL.md +++ b/plugin/skills/openscreen-demo/SKILL.md @@ -157,7 +157,7 @@ Keep the rest as it is: the background, padding, shadow and cursor style are cho While you edit, you can call `getFrames` and `getContactSheet` with the `projectId` before exporting: without a current export they render the frames the export would show. -If a tool named here is not in your tool list (`getContactSheet`, `getAudioReport`, or `region`, `startSec` and `endSec` on `getFrames`), the installed OpenScreen is older than this skill: offer to update it as in step 1, or fall back to `getFrames` with `atSec`. +If a tool named here is not in your tool list (`getContactSheet`, `getAudioReport`, or `region`, `startSec` and `endSec` on `getFrames`), the installed OpenScreen is older than this skill: offer to update it as in step 1, or fall back to `getFrames` with `atSec`. ## 8. Deliver diff --git a/plugin/skills/openscreen-effects/SKILL.md b/plugin/skills/openscreen-effects/SKILL.md index 5240ba4df..7dc4c8984 100644 --- a/plugin/skills/openscreen-effects/SKILL.md +++ b/plugin/skills/openscreen-effects/SKILL.md @@ -11,7 +11,7 @@ compositor runs it on every output pixel, in the preview and in the export alike user asked; reach for settings first (`setEditorSettings`, zooms, annotations). If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or fall back to what exists, +skill: offer to update it (see the `openscreen-demo` skill, step 1), or fall back to what exists, `getFrames` with `atSec` in place of `getContactSheet`, of `getBeforeAfter` and of `getFrames` `region`. diff --git a/plugin/skills/openscreen-motion/SKILL.md b/plugin/skills/openscreen-motion/SKILL.md index 872f51891..40156fc46 100644 --- a/plugin/skills/openscreen-motion/SKILL.md +++ b/plugin/skills/openscreen-motion/SKILL.md @@ -10,7 +10,7 @@ them time to read it, and get out of the way. Every rule below serves that. Appl place zooms, callouts and speed changes, and when you review an edit that looks busy or cheap. If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or use `getFrames` with +skill: offer to update it (see the `openscreen-demo` skill, step 1), or use `getFrames` with `atSec` where this skill says `getContactSheet`. ## 1. One focus per shot diff --git a/plugin/skills/openscreen-review/SKILL.md b/plugin/skills/openscreen-review/SKILL.md index 06ae6ff00..e70ddfdc3 100644 --- a/plugin/skills/openscreen-review/SKILL.md +++ b/plugin/skills/openscreen-review/SKILL.md @@ -9,7 +9,7 @@ Run this on every film before it leaves the machine, and again after every fix. **Tools.** `getFrames` returns up to 12 frames per call; with `region` it returns only that part of the frame at the video's own resolution (up to 1280 px wide), and with `startSec` / `endSec` and `count` it spreads frames inside that window. `getContactSheet` returns one image of a grid of frames, each with its time printed on it, up to 36 per sheet, for the cost of one image. `getAudioReport` measures the sound as the export mixes it. `getBeforeAfter` pairs up to 6 moments as they were at a checkpoint and as they are now, and says where each pair differs: after a fix, it shows that the fix landed and that nothing else moved. With `projectId`, times are ruler seconds, the ones the document tools use. With `path`, they are the file's own seconds. -If `getContactSheet`, `getAudioReport` or `getBeforeAfter` is not in your tool list, or `getFrames` refuses `region`, `startSec` or `endSec`, the installed OpenScreen is older than this skill: offer to update it (the `openscreen-demo` skill's setup), or fall back to `getFrames` with `atSec` (up to 12 times per call, 0.1 s apart for a dense window). For the sound, the fallback is `exportAudio` then `ffmpeg -i -af ebur128=peak=true -f null -`, and it needs both: `exportAudio` in your tool list (older installs lack it too) and ffmpeg installed. Without them the sound cannot be measured: say so in the report. +If `getContactSheet`, `getAudioReport` or `getBeforeAfter` is not in your tool list, or `getFrames` refuses `region`, `startSec` or `endSec`, the installed OpenScreen is older than this skill: offer to update it (the `openscreen-demo` skill's setup), or fall back to `getFrames` with `atSec` (up to 12 times per call, 0.1 s apart for a dense window). For the sound, the fallback is `exportAudio` then `ffmpeg -i -af ebur128=peak=true -f null -`, and it needs both: `exportAudio` in your tool list (older installs lack it too) and ffmpeg installed. Without them the sound cannot be measured: say so in the report. ## Before you look diff --git a/plugin/skills/openscreen-sound/SKILL.md b/plugin/skills/openscreen-sound/SKILL.md index f3c905d8b..d4f3c0f91 100644 --- a/plugin/skills/openscreen-sound/SKILL.md +++ b/plugin/skills/openscreen-sound/SKILL.md @@ -10,7 +10,7 @@ Decide what leads, place it, then measure the mix instead of trusting it: you ca preview, and a render you did not measure is a guess. If a tool this skill names is not in your tool list, the installed OpenScreen is older than this -skill: offer to update it (see the `openscreen-demo` skill, step 1), or measure as in +skill: offer to update it (see the `openscreen-demo` skill, step 1), or measure as in "Without getAudioReport" below. ## 1. Keep it simple