motion-stack SKILL.md skillA
motion-stack from majiayu000/spellbook is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add majiayu000/spellbook/motion-stack@git:20261102.d483374Pins git:20261102.d483374 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- majiayu000/spellbook
- Path
skills/motion-stack/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261102.d483374, committed Nov 2, 2026
- Size
- 15,310 bytes
- Repository stars
- 290
- License
- MIT
用代码做动效短片的通用底座:按 brief 从 20 个开源库(Three.js、PixiJS、p5、Paper、Matter、Rapier、anime.js、tsParticles、OGL、GL Transitions、Tone.js、Chatterbox、faster-whisper、Remotion、HyperFrames、FFmpeg 等)里挑最小组合,写成「画面是时间的纯函数」的场景,用本地无头渲染器出 MP4(可带离线合成的音效),并自动写出可复现清单(库版本、字体、文件哈希、引擎版本、命令)。当用户说「做个动效 / motion 短片 / 物理动画 / 3D 动画视频 / 用 three.js 做个视频 / 用这套 motion stack」时使用。MV、知识视频、尺寸图动画走各自专用 skill。只在明确请求时触发,忽略顺带提及。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Motion stack:从 brief 到可复现的成片 用中文交流。用户给方向和审片意见,你挑库、写场景、渲染、自检。 **这个 skill 要支撑的决定**:一个新的动效 brief,能不能不重写渲染器、只写一个场景文件就出片,并且两次渲染结果逐位一致。 **放弃条件**:到 2026-11-25 为止,除自带示例外没有一部片子用它做出来;或者连续两个项目都得改 `kit/render.mjs` 才能用。满足任一条就停用。每做完一部,在下方“做过的片子”表里记一行。 ## 先分流 下表里的其他 skill 装了就用它们的现成流程;没装时,这些片子也能用本 skill 从头做。 | brief 是什么 | 用哪个 | |---|---| | 歌词 MV、有歌有角色的片子 | `ai-music-video`(已有成片的完整流程) | | 已有 MV 要做“好玩版” | `mv-fun-pass` | | 竖屏数学 / 概率科普 | `vibe-knowledge-video`(VibeFX 组件库) | | 尺寸图、组件规格图的动画 | `dimensional-drawing-motion` | | 一个仓库一段时间的 git 记录做成流程图短片 | `repo-film`(基于本 skill) | | 其他代码动效:产品演示、物理、3D、粒子、数据动画、片头、转场 | 本 skill | ## 流程 1. **brief → 一句话 + 节拍表。** 写清时长、画幅(16:9 / 9:16 / 1:1)、帧率、每个节拍几秒发生什么,以及要不要声音。8–15 秒的片子最好控制;超过 30 秒先拆镜头。和用户确认节拍表再写代码,用户说“随便发挥”也要先给节拍表:创意由用户拍板,跳过这步做出的 GRAVITY 被评为“非常一般”。 2. **挑库,越少越好。** 查 `references/libraries.md`,一般 1 个画面库 + 0–1 个物理库 + 0–1 个声音库就够。20 个库功能大量重叠,不要为了用而用。许可证要看:Remotion 超过 3 人的公司需要买授权,p5 是 LGPL。 3. **建项目。** 复制 `examples/drop/` 到用户指定的目录,改 `package.json` 依赖(写死精确版本,不用 `^`),`npm install`。库从本地 `node_modules` 加载,不走 CDN;字体放进项目用 `@font-face` 引入。 4. **重的模拟先离线烘焙。** 上千个刚体时,用 Node 跑一次物理(`bake.mjs`),按片子帧率存成二进制轨迹,场景只读文件:8000 块 15 秒烘焙 40 秒,之后每次出图不再重算。 …
Read the whole file at its exact version.
How to install
mdr add majiayu000/spellbook/motion-stack@sha256:8f7d9051738dac2cThe line at the top of this page pins the label git:20261102.d483374, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_2la6inlzyctziflv)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Nov 2, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (15310 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
majiayu000/spellbook · 290 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2la6inlzyctziflv GET https://markdownregistry.com/api/v1/resolve?ref=majiayu000/spellbook/motion-stack GET https://markdownregistry.com/api/v1/blob/8f7d9051738dac2c4cadf0eb11dbd4435b4387af5d9461ec26cb5f6deb8ac9ac
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.