Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add majiayu000/spellbook --skill motion-stackgit clone --depth 1 https://github.com/majiayu000/spellbookWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/majiayu000/spellbook/motion-stack)<a href="https://agentmods.dev/skills/majiayu000/spellbook/motion-stack"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/motion-stack/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/majiayu000/spellbook/motion-stack"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/motion-stack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00221 | $0.04988 |
| Opus 5.5 | $0.00088 | $0.01995 |
| Sonnet 5.5 | $0.00044 | $0.00998 |
| Haiku 4.5 | $0.00022 | $0.00499 |
Grade A, and why
motion-stack scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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 |
流程
- brief → 一句话 + 节拍表。 写清时长、画幅(16:9 / 9:16 / 1:1)、帧率、每个节拍几秒发生什么,以及要不要声音。8–15 秒的片子最好控制;超过 30 秒先拆镜头。和用户确认节拍表再写代码,用户说“随便发挥”也要先给节拍表:创意由用户拍板,跳过这步做出的 GRAVITY 被评为“非常一般”。
- 挑库,越少越好。 查
references/libraries.md,一般 1 个画面库 + 0–1 个物理库 + 0–1 个声音库就够。20 个库功能大量重叠,不要为了用而用。许可证要看:Remotion 超过 3 人的公司需要买授权,p5 是 LGPL。 - 建项目。 复制
examples/drop/到用户指定的目录,改package.json依赖(写死精确版本,不用^),npm install。库从本地node_modules加载,不走 CDN;字体放进项目用@font-face引入。 - 重的模拟先离线烘焙。 上千个刚体时,用 Node 跑一次物理(
bake.mjs),按片子帧率存成二进制轨迹,场景只读文件:8000 块 15 秒烘焙 40 秒,之后每次出图不再重算。 - 写场景(契约见下),并按
references/determinism.md让每个库都做到“只看 t 画画面”。 - 自检,再给用户看:
node $KIT/render.mjs scene.html --pure:同一组时间点正序、倒序各画一遍,哈希必须一致。不一致说明某处依赖了上一帧,修好再往下。node $KIT/render.mjs scene.html --sheet 0.5,2,4,6 --out beats.png:每个节拍出一帧拼成一张图,自己先看:构图、主体是否出画、文字是否被切、第一秒是否太乱。- 好看关卡(技术通过不等于好看,逐条对着拼图答“是/否”,有“否”就改,不交):
- 第 1 秒有钩子:一个清楚的主体 + 一次冲击(声音、震屏、扬尘)。
- 中段每 2 秒左右有新变化;没有超过 2 秒“什么都没发生”的段落。
- 结尾有揭示或反转,而且揭示之前确实藏住了(检查揭示前的每个节拍帧有没有提前露底)。
- 每个碰撞或转折都有反馈:声音、光、镜头至少一种。
- 缩到手机尺寸(360 px 宽)主体仍然认得出。
- 画面亮度:主体不发闷、白色不糊成一片(用保持色相的
NeutralToneMapping,辉光阈值放在主体最亮值之上)。
- 出片。
node $KIT/render.mjs scene.html --out out/film.mp4。场景有audio()会自动混进去;外部音频用--audio file.wav。只重渲一段用--from 2 --to 4。- 声音先于画面生成:
audio()出错会在一帧都没渲之前停下(退出码 4)并说明原因;只要画面就加--no-audio。 - 出片后自动用两遍 loudnorm 把响度调到 -14 LUFS(真峰值 ≤ -1.5 dBTP,峰值受限时会停在 -14.x),调整前后的数值写进清单
audio.loudness。声音短于 0.4 秒(如--from 0 --to 0.1)或全静音时测不出响度,保持原样,audio.loudness.skipped写明原因。目标改用--lufs -16,保持原样用--no-loudnorm。
- 声音先于画面生成:
- 交付前读清单
out/film.mp4.manifest.json:scene_errors要为空,audio.loudness.after_lufs在 -15 到 -13 之间,remote_requests要为空(否则离线无法复现),fonts要都是loaded,libraries里没有NOT INSTALLED。交付时把 MP4、清单和项目目录一起给。
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago Changed 5013886b5c17
- 1mo ago First seen · 105 lines · 221 tokens per session scan A 8f7d9051738d
motion-stack is a skill published in the GitHub repository majiayu000/spellbook (303 stars, last pushed 4d ago), licensed MIT. It adds 221 tokens to every session and 4,988 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-03.
motion-stack compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| motion-stackmajiayu000/spellbook | Skill | 303 | 4d ago | MIT | A | 221 | Claude Code, Codex |
| cao-session-managementawslabs/cli-agent-orchestrator | Skill | 1.9k | yesterday | Apache-2.0 | B | 83 | Claude Code |
| workflowzhinkgit/embeddedskills | Skill | 829 | yesterday | MIT | A | 65 | Claude Code |
| agent-deckasheshgoplani/agent-deck | Skill | 1.4k | yesterday | MIT | A | 63 | Claude Code, Codex |
| fast-resumeangristan/fast-resume | Skill | 198 | yesterday | MIT | A | 50 | Claude Code, Codex |
| pneuma-sessionpandazki/pneuma-skills | Skill | 162 | 4d ago | MIT | A | 127 | Claude Code, Codex |
| lov-organize-storagelovstudio/skills | Skill | 72 | today | MIT | A | 58 | Claude Code |