A Claude Code plugin that turns a story into a finished anime
Ruby
Fix vulnerable rendering dependencies and setup documentation
Francesco 'makevoid' Canessa9ade49b48e13
diff --git a/README.md b/README.mdindex a81a9a6..6b8e8cc 100644--- a/README.md+++ b/README.md@@ -52,7 +52,7 @@ You also need these on your machine:| Ruby 3.2+ and Bundler | The toolkit itself || FFmpeg, ImageMagick | Video, audio and image work || Python 3 | Green-screen keying, score editing, analysis |-| Node.js 22+ and Chrome | Rendering p5 titles, subtitles and composites |+| Node.js 22.12+ and Chrome | Rendering p5 titles, subtitles and composites || macOS 14+ and Swift 5.9+ | Optional: the Core Image VFX pass |Each project installs its own Ruby, Node and Python packages when the skill runs `setup`, and `doctor` reports anything missing.diff --git a/skills/make-an-anime/SKILL.md b/skills/make-an-anime/SKILL.mdindex ce65982..e90a500 100644--- a/skills/make-an-anime/SKILL.md+++ b/skills/make-an-anime/SKILL.md@@ -2,7 +2,7 @@name: make-an-animedescription: Create and revise anime, from a 12-second battle scene to full episodes and narrated documentaries, from a story and optional character reference photos. Character and location sheets with GPT Image 2.6 Sunburst, cinematic camera-directed shots animated with MiniMax H3 Max with characters and world painted together, manga paper-cut panels, a distinct ElevenLabs Eleven v4 voice per character with lip-sync, ElevenLabs Music v2.5 scores, p5 screens/titles/subtitles, SFX and Swift VFX. Use for whole episodes, pilots, single scenes, or revisions to their cast, voices, shots, sound and effects.license: MIT-compatibility: Designed for Claude Code. Requires Ruby 3.2+, Bundler, web search and sub-agent tools. Media tasks require FFmpeg, ImageMagick, Python 3, Node.js 22+ and Chrome. Swift VFX requires macOS 14+ and Swift 5.9+. Fal generation requires the plugin's sensitive FAL_AI_API_KEY option or that environment variable for local development.+compatibility: Designed for Claude Code. Requires Ruby 3.2+, Bundler, web search and sub-agent tools. Media tasks require FFmpeg, ImageMagick, Python 3, Node.js 22.12+ and Chrome. Swift VFX requires macOS 14+ and Swift 5.9+. Fal generation requires the plugin's sensitive FAL_AI_API_KEY option or that environment variable for local development.---# Make an animediff --git a/skills/make-an-anime/references/tasks.md b/skills/make-an-anime/references/tasks.mdindex 9689d26..cfbe8a2 100644--- a/skills/make-an-anime/references/tasks.md+++ b/skills/make-an-anime/references/tasks.md@@ -44,7 +44,7 @@ ruby scripts/mv.rb --project /absolute/project openapi:fetchruby scripts/mv.rb --project /absolute/project openapi:summary```-`setup` calls Bundler, npm ci and Python venv/pip through Ruby. Install system Ruby, Node 22+, Chrome, FFmpeg/ffprobe and ImageMagick beforehand. On macOS install Swift/Xcode command line tools for VFX. `MV_PYTHON` overrides the local `.venv/bin/python3`; `CHROME_PATH` and `MEDIA_FONT` override detected Chrome/font paths. Configure the plugin's sensitive `FAL_AI_API_KEY` option, or set `FAL_AI_API_KEY` in the environment for direct developer CLI calls; never put the key in prompts/config/commits. `doctor` prints JSON booleans; `STRICT=1` makes missing dependencies fail. Tests require the full selected profile's tools and do not silently skip missing dependencies.+`setup` calls Bundler, npm ci and Python venv/pip through Ruby. Install system Ruby, Node 22.12+, Chrome, FFmpeg/ffprobe and ImageMagick beforehand. On macOS install Swift/Xcode command line tools for VFX. `MV_PYTHON` overrides the local `.venv/bin/python3`; `CHROME_PATH` and `MEDIA_FONT` override detected Chrome/font paths. Configure the plugin's sensitive `FAL_AI_API_KEY` option, or set `FAL_AI_API_KEY` in the environment for direct developer CLI calls; never put the key in prompts/config/commits. `doctor` prints JSON booleans; `STRICT=1` makes missing dependencies fail. Tests require the full selected profile's tools and do not silently skip missing dependencies.`fonts:list` scans installed macOS TTF/OTF files. Just before rendering, `fonts:copy[config/fonts.json]` copies a JSON mapping of project filenames to absolute source paths into the video's `tools/p5/fonts/`. Run with `--project /absolute/video-workspace`; see [Project fonts](animation-audio-vfx.md#project-fonts). Setup does not fetch fonts.diff --git a/skills/make-an-anime/references/testing.md b/skills/make-an-anime/references/testing.mdindex 29421b7..6ca1b2b 100644--- a/skills/make-an-anime/references/testing.md+++ b/skills/make-an-anime/references/testing.md@@ -10,7 +10,7 @@ PROFILE=media ruby scripts/mv.rb testPROFILE=swift ruby scripts/mv.rb test```-The repository root also has `rake test`. `PROFILE=all` (default) runs all non-live examples. It fails if a required backend cannot run, including Chrome local-server restrictions or Swift on a non-macOS machine. Use a narrower profile intentionally when that backend is unavailable; report what was not exercised. Tests leave diagnostic fixtures in `scripts/tmp/` and derived review outputs under `scripts/output/`, both ignored by git.+From the repository root, run `ruby skills/make-an-anime/scripts/mv.rb test`. Alternatively, run `bundle exec rake test` from `skills/make-an-anime/scripts/` or an initialized project. `PROFILE=all` (default) runs all non-live examples. It fails if a required backend cannot run, including Chrome local-server restrictions or Swift on a non-macOS machine. Use a narrower profile intentionally when that backend is unavailable; report what was not exercised. Tests leave diagnostic fixtures in `scripts/tmp/` and derived review outputs under `scripts/output/`, both ignored by git.## What is testeddiff --git a/skills/make-an-anime/scripts/package-lock.json b/skills/make-an-anime/scripts/package-lock.jsonindex e43a794..d5460bf 100644--- a/skills/make-an-anime/scripts/package-lock.json+++ b/skills/make-an-anime/scripts/package-lock.json@@ -7,7 +7,7 @@"name": "make-an-anime-tools","dependencies": {"p5": "^2.3.3",- "puppeteer-core": "^25.12.0"+ "puppeteer-core": "^25.16.0"}},"node_modules/@babel/runtime": {@@ -32,12 +32,12 @@"license": "MIT"},"node_modules/@puppeteer/browsers": {- "version": "3.2.3",- "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-3.2.3.tgz",- "integrity": "sha512-2Bt3m6dDAJqmZehn0wiXSYyQmuhyiHHZ7FjvrVaS1W2RoFGV6eCK71UvKYkNJjkwC1Q9nobjhvTMhLQztFVINA==",+ "version": "3.2.6",+ "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-3.2.6.tgz",+ "integrity": "sha512-MJP29gVoHznmqmwhH1tlZqzfeQ3aylTpSSa6WKZXtkwYUH02i9imBmWGTyZrbnAou5paX78SE4jMAUqnEPf8ug==","license": "Apache-2.0","dependencies": {- "modern-tar": "^0.8.4",+ "modern-tar": "^0.8.6","yargs": "^18.0.0"},"bin": {@@ -84,9 +84,9 @@}},"node_modules/ansi-regex": {- "version": "6.3.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz",- "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==",+ "version": "6.5.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.5.0.tgz",+ "integrity": "sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ==","license": "MIT","engines": {"node": ">=12"@@ -108,13 +108,13 @@}},"node_modules/chromium-bidi": {- "version": "17.0.2",- "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-17.0.2.tgz",- "integrity": "sha512-5v9GQFhTktFvotn/OFNJBmKLKRAb6n9r0bVCwf7sHgWc3/JryK0bj1nn93L3pHFrfgcsu6Be6EWsDi+1XHTGDg==",+ "version": "157.0.8090-0",+ "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-157.0.8090-0.tgz",+ "integrity": "sha512-KJw7IQgqXwxpJgJlEIPg5mr2ZoqA+jkTRtc5EABI7sUJ3bu3cpI7NuEBoj4Gn1AsF78CaT9So5WQWspK3/wYag==","license": "Apache-2.0","dependencies": {"mitt": "^3.0.1",- "zod": "^3.24.1"+ "zod": "^4.6.5"},"engines": {"node": ">=20.19.0 <22.0.0 || >=22.12.0"@@ -123,15 +123,6 @@"devtools-protocol": "*"}},- "node_modules/chromium-bidi/node_modules/zod": {- "version": "3.25.76",- "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",- "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/colinhacks"- }- },"node_modules/cliui": {"version": "9.0.1","resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz",@@ -174,9 +165,9 @@}},"node_modules/devtools-protocol": {- "version": "0.0.1687809",- "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1687809.tgz",- "integrity": "sha512-t7kSb+UKYdyxcmqy98U2P86ne6rCve3DIJ4+lp54i/hhClgFuG35JrLj23rO14Jw3sWDsp7i+22QhNU0+/qk8g==",+ "version": "0.0.1704951",+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1704951.tgz",+ "integrity": "sha512-GQhQOs9u/Mvm1zMtJIH872JS4AskuZdUSsPNPk4ChahtWAUqgz6atEtIsMt+nO7MqF1Ic4HxII/k8Cu36JivNg==","license": "BSD-3-Clause"},"node_modules/emoji-regex": {@@ -304,9 +295,9 @@"license": "MIT"},"node_modules/modern-tar": {- "version": "0.8.5",- "resolved": "https://registry.npmjs.org/modern-tar/-/modern-tar-0.8.5.tgz",- "integrity": "sha512-snEhs+6G5Tjd4I7tLCDOaoln2RgE0bD19RzEKgvgK2hZ5VKy3MpLhLTZ2fWpXSTg4K2cyPwp+VHATFJhxfnOeA==",+ "version": "0.8.6",+ "resolved": "https://registry.npmjs.org/modern-tar/-/modern-tar-0.8.6.tgz",+ "integrity": "sha512-LYSks0tNVqbtez/9OB0YFP6qLRSqkdAxJWOQpVaR67lNTbj2zNLyYpowkRMia5lXLCZKzxwoxkxH2MbbBR2aEg==","license": "MIT","engines": {"node": ">=18.0.0"@@ -356,17 +347,17 @@"license": "(MIT AND Zlib)"},"node_modules/puppeteer-core": {- "version": "25.12.0",- "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-25.12.0.tgz",- "integrity": "sha512-z6LQUt5SH7jwGtGA+nMtJuEjZIsqPiwQ+EFHCYuVDQrJpvifNmmGuyDvTzAKPyFzihxgHc5f3aMzu2kn8Ps37A==",+ "version": "25.16.0",+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-25.16.0.tgz",+ "integrity": "sha512-VA5Pf54N8shfopNkZZXCdiiwfnnY8ZJYAMqFQRhlH5mGUhfwf53Ar770GPtdpTDLUqvQeYpIBtC9/G2Jij2IJw==","license": "Apache-2.0","dependencies": {- "@puppeteer/browsers": "3.2.3",- "chromium-bidi": "17.0.2",- "devtools-protocol": "0.0.1687809",- "typed-query-selector": "^2.12.2",- "webdriver-bidi-protocol": "0.4.3",- "ws": "^8.21.3"+ "@puppeteer/browsers": "3.2.6",+ "chromium-bidi": "157.0.8090-0",+ "devtools-protocol": "0.0.1704951",+ "typed-query-selector": "^2.12.3",+ "webdriver-bidi-protocol": "1.0.1",+ "ws": "^8.22.0"},"engines": {"node": ">=22.12.0"@@ -414,15 +405,15 @@}},"node_modules/typed-query-selector": {- "version": "2.12.2",- "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.2.tgz",- "integrity": "sha512-EOPFbyIub4ngnEdqi2yOcNeDLaX/0jcE1JoAXQDDMIthap7FoN795lc/SHfIq2d416VufXpM8z/lD+WRm2gfOQ==",+ "version": "2.12.3",+ "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.3.tgz",+ "integrity": "sha512-/dtuMZyutHLlrxWhhC1uib00ELUr2dZ8C9B8YzZYsJmeE3V56OxRblrSM2UaF142pcMtak7ehZ6+poWGeehNIg==","license": "MIT"},"node_modules/webdriver-bidi-protocol": {- "version": "0.4.3",- "resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-0.4.3.tgz",- "integrity": "sha512-uuN0goWfxP22B7J/uAgBpOYNPttC+XVseYE+rSY5+rQ+YBeVz/VORw8WbmLVcqW78zNg5A4qnjNXYUWR3il2ig==",+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-1.0.1.tgz",+ "integrity": "sha512-WXWs/aXF2a6Al1Z2/V/7Gp2oPZOAAmHjJOTmv4KCXRJ122IMj3tSSMc6a4q3K4QOmhQbse/Ahr+oTVJOU2dUiw==","license": "Apache-2.0"},"node_modules/wrap-ansi": {@@ -460,9 +451,9 @@}},"node_modules/ws": {- "version": "8.21.3",- "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz",- "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==",+ "version": "8.22.1",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz",+ "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==","license": "MIT","engines": {"node": ">=10.0.0"@@ -516,9 +507,9 @@}},"node_modules/zod": {- "version": "4.6.5",- "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.5.tgz",- "integrity": "sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==",+ "version": "4.6.7",+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",+ "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==","license": "MIT","funding": {"url": "https://github.com/sponsors/colinhacks"diff --git a/skills/make-an-anime/scripts/package.json b/skills/make-an-anime/scripts/package.jsonindex 76573d0..b8276f6 100644--- a/skills/make-an-anime/scripts/package.json+++ b/skills/make-an-anime/scripts/package.json@@ -5,6 +5,6 @@"description": "p5 backends invoked only through Ruby Media::Anim","dependencies": {"p5": "^2.3.3",- "puppeteer-core": "^25.12.0"+ "puppeteer-core": "^25.16.0"}}