dashi-animationstyle: Style Animation (Produced by "Master's AI Workshop)
In the following, $SKILL refers to the folder containing this file (once installed, typically at ~/.claude/skills/dashi-animationstyle). Always replace paths in commands with actual paths; enclose paths with spaces or Chinese characters in quotation marks.
A voiceover + a style = a project folder containing all intermediate files and the final video:
<Project Folder>/
├── project.json Configuration: style, voiceover, subtitles, storyboard, output filename (created by new-project.mjs, render.mjs reads defaults from here)
├── voiceover.wav Voiceover audio (converted from m4a/mp3/wav/mov by new-project.mjs)
├── script.txt Transcript of the voiceover (optional, improves accuracy)
├── subtitles.json/.srt Subtitles: sentences, display text, word-level timings (generated by subtitles.mjs)
├── storyboard.json/.md Storyboard: shots, keywords, fixed-color words (written by Claude)
├── timeline.js Page timeline object window.TL (generated by generate-timeline.mjs)
├── index.html Page (copied from style folder, modified by Claude according to storyboard)
└── <Folder Name>.mp4 Final video
Place the project folder in the user's own project directory (e.g., ./animations/<Name>_<Style>/, where ./ is your current working directory, usually the user's project folder). Do not put it inside $SKILL.
First-time Use: Verify the System Can Produce Videos (approx. 2 minutes)
- Check the environment:
node "$SKILL/pipeline/self-check.mjs"- For items marked ✗, follow the prompts: Node must be v22+ (
brew install node), ffmpeg (brew install ffmpeg), Chrome (install Google Chrome). The user must install these themselves; you only tell them what to install and how. - Fonts marked ✗: macOS on-demand fonts (Lantinghei, Helvetica Neue Rounded, Shoujin, Pianpian). Ask the user to open the Font Book app, search for the font name, and click "Download." Rendering works without them, but those fonts will fall back to PingFang.
- whisper marked ! is optional: It works without it (uses a fallback based on script + silence detection).
- For items marked ✗, follow the prompts: Node must be v22+ (
- Have the user pick a style:
node "$SKILL/pipeline/new-project.mjs" --listlists 7 styles. For a preview of each, see the 3 images in$SKILL/styles/<Style>/frames/(use Read to view, oropento show the user). If the user has already specified a style, use that for a test render; otherwise, use "Hand-drawn Notes." - Create a project using the built-in Token example and render it:
This produces a 21-second videonode "$SKILL/pipeline/new-project.mjs" ./animations/token_handdrawn --style hand-drawn-notes --example token node "$SKILL/pipeline/render.mjs" ./animations/token_handdrawn/index.htmltoken_handdrawn.mp4(a voiceover about "prompts and tokens"). Measured on Apple M2 Max, v1.3, when idle: 65 seconds for hand-drawn notes; 34–72 seconds for other styles (flat flowchart is fastest, tech black is slowest). After rendering,openthe video for the user. - Once the system can produce videos, proceed with the user's own voiceover (Mode 1).