A toolbox of film styles made in code for Claude Code: 66 ready to use, and your own. Each style is a style prompt plus a demo film made entirely in code by Claude Opus 5.5, with no video model. By Lemomo. · 一套用代码做片的风格工具箱:66 种现成风格,也能做出你自己的
JavaScript agent-skillsai-agentsai-short-filmai-videoanimationcanvasclaudeclaude-codeclaude-code-pluginclaude-code-skillcreative-codingffmpegfilmmakingmotion-graphicsopus-5-5prompt-librarytext-to-speechthreejsvideo-productionwebgl
Require ffmpeg 7+: 6.1 under-reports audio length through loudnorm, so mux.sh rejects intact files (#7)
lemomo-ai804c750905a6
diff --git a/README.md b/README.mdindex 2960a59..0c58098 100644--- a/README.md+++ b/README.md@@ -144,7 +144,7 @@ Library updates and reinstalling never touch them. When the base style is update### Before you start- A film takes an agent about 30–60 minutes and a fair amount of tokens.-- You need Node 20+, ffmpeg and Python 3.11+ (or [uv](https://docs.astral.sh/uv/)); the agent installs the rest.+- You need Node 20+, ffmpeg 7+ and Python 3.11+ (or [uv](https://docs.astral.sh/uv/)); the agent installs the rest. Ubuntu 24.04 ships ffmpeg 6.1, which is too old: use a [static build](https://johnvansickle.com/ffmpeg/).- Default output 1920×1080, 24 fps; other sizes on request.### Update or uninstalldiff --git a/README.zh-CN.md b/README.zh-CN.mdindex 4510eec..bc26a60 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -144,7 +144,7 @@ agent 会读三份指南,像一个小工作室一样开工。<br>### 开始之前- 一支片子 agent 大约要做 30–60 分钟,token 用量不小。-- 需要 Node 20+、ffmpeg 和 Python 3.11+(或 [uv](https://docs.astral.sh/uv/)),其余由 agent 安装。+- 需要 Node 20+、ffmpeg 7+ 和 Python 3.11+(或 [uv](https://docs.astral.sh/uv/)),其余由 agent 安装。Ubuntu 24.04 自带的 ffmpeg 是 6.1,版本太旧,请换成[静态版](https://johnvansickle.com/ffmpeg/)。- 默认输出 1920×1080、24 fps,其他尺寸可以指定。### 更新和卸载diff --git a/TECHNIQUE.md b/TECHNIQUE.mdindex 9732687..1b66605 100644--- a/TECHNIQUE.md+++ b/TECHNIQUE.md@@ -14,7 +14,7 @@ mix (duck, compress, balance) ──► mux with ffmpeg, two-pass loudnorm −14## 1. Requirements and install-System tools, which the user installs: **Node 20+**, **ffmpeg**, and **Python 3.11+** or [uv](https://docs.astral.sh/uv/). Developed on macOS (Apple silicon); Linux should work; on Windows use WSL. 3D and shader-heavy styles want a GPU.+System tools, which the user installs: **Node 20+**, **ffmpeg 7+** (6.x under-reports audio length through `loudnorm`, and `mux.sh` then rejects the file as cut off), and **Python 3.11+** or [uv](https://docs.astral.sh/uv/). Developed on macOS (Apple silicon); Linux should work; on Windows use WSL. 3D and shader-heavy styles want a GPU.Everything else installs in tiers, from the library root (`$LIB` in skill mode). Install a tier only when the film needs it:diff --git a/plugin/skills/lemo-opuscar/scripts/setup.sh b/plugin/skills/lemo-opuscar/scripts/setup.shindex 16b9f00..5acbeeb 100644--- a/plugin/skills/lemo-opuscar/scripts/setup.sh+++ b/plugin/skills/lemo-opuscar/scripts/setup.sh@@ -98,7 +98,10 @@ miss=""if command -v node >/dev/null; then[ "$(node -p 'process.versions.node.split(".")[0]')" -ge 20 ] || miss="$miss node20+(found $(node -v))"else miss="$miss node20+"; fi-command -v ffmpeg >/dev/null || miss="$miss ffmpeg"+if command -v ffmpeg >/dev/null; then+ ffv=$(ffmpeg -version 2>/dev/null | sed -n '1s/^ffmpeg version n\{0,1\}\([0-9][0-9]*\)\..*/\1/p')+ [ -z "$ffv" ] || [ "$ffv" -ge 7 ] || miss="$miss ffmpeg7+(found $ffv.x)"+else miss="$miss ffmpeg"; ficommand -v uv >/dev/null || find_py >/dev/null || miss="$miss python3.11+(or uv)"[ -n "$miss" ] && echo "! missing:$miss"node_ok && py_ok core || echo "! packages not installed yet: run 'sh setup.sh deps' (a few minutes) before the first render"