AI Animation Skills is a collection of agent instructions and templates for generating single-file HTML animations, including presentations, diagrams, protocol visualizations, phone interfaces, and video-style scenes. People use the skills with AI coding agents to create animated web pages from descriptions or templates. The catalogue entries are the collection's individual generation workflows.
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 Unclecheng-li/AI_Animation --skill code-mv-rendergit clone --depth 1 https://github.com/Unclecheng-li/AI_AnimationWrote 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/unclecheng-li/ai_animation/code-mv-render)<a href="https://agentmods.dev/skills/unclecheng-li/ai_animation/code-mv-render"><img src="https://agentmods.dev/badge/skills/unclecheng-li/ai_animation/code-mv-render/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/unclecheng-li/ai_animation/code-mv-render"><img src="https://agentmods.dev/badge/skills/unclecheng-li/ai_animation/code-mv-render.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.00246 | $0.03574 |
| Opus 5.5 | $0.00098 | $0.01430 |
| Sonnet 5.5 | $0.00049 | $0.00715 |
| Haiku 4.5 | $0.00025 | $0.00357 |
Grade A, and why
code-mv-render 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 yesterday.
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 — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
代码渲染 MV 工程库(两支上游 + 一套自建实现)
本 Skill 不生成单页演示,而是一座**"整片视频渲染工程"参考库**:收录两支开源音乐视频工程,外加本库自建、已经导出成片的《CVE 编号破十万》数据纪录片实现。它们共用同一条底层原理——每一帧只是时间的函数(frame = renderFrame(t)),因此浏览器里的实时预览与离线导出的成片逐帧一致,可反复复现、可精确质检。要做同步视频时,从这里选最贴近的工程去 fork / 改编,而不是从零搭渲染管线。
你是什么
- 面向"整片、带音轨或口播、逐帧确定"的视频(MV / 歌词视频 / 数据纪录片 / 生成式视觉),不是分镜演示页。
- 提供的不只是参考工程,而是可执行的方法论 + 模板:镜头模型、转场库、运动语法、时间系统、导出与质检。
- 与
video-shot-demos/swiss-shot-demos的边界:那两者是"一镜一 HTML"的演示片段;本 Skill 管的是从时间轴到成片的整条工程链(分析 → 时间线 → 镜头 → 预览 → 导出 → 质检)。
三支参考工程
world-execute-me-lyric-mv |
pdoom-video |
本库自建:CVE 编号破十万 | |
|---|---|---|---|
| 类型 | 歌词 MV(对话叙事) | 生成式 MV(逐字卡拉 OK) | 数据纪录片(口播字幕驱动) |
| 画面技术 | Canvas 2D + WebGL2 | three.js + TypeScript | Canvas 2D,单文件 HTML |
| 画面语言 | 聊天界面 / 三墨版画 / 代码 | 每片一个 GPU 场景 | 数据 / 界面 / 版画 三型交替 |
| 状态系统 | 颜色 = 状态(off/on/warm/error/ash/dead) | 节拍吸附场景窗口 | 语义色:中性 / 里程碑 / 风险 |
| 同步依据 | 行级歌词时间 + cues 拍点 | Demucs + CTC × Whisper 词级时间 | 口播字幕段 + 句内事件时间 |
| 导出 | 无头 Chrome 逐帧 → ffmpeg | 无头 Chrome → WebSocket 帧 → ffmpeg | 无头 Edge + captureStream → WebM → ffmpeg |
| 亮点 | 成品级闪光安全、缩图表回归 | 块级自适应子帧运动模糊 | 单文件、零依赖、可直接改文案复用 |
| 许可 | 代码 MIT;剪影 CC BY-NC-SA;歌曲不在仓库 | 代码 MIT;歌曲不属 MIT | 本库自建,可自由改写 |
动效框架(从原片抽取,已落到本库模板)
完整参数见 references/motion-system.md。核心是五层:
1. 镜头模型
{ id, at, lines, moment, layout, palette, enter, camera, render(ctx,t,f,u) }
moment一句话说清"这是哪一刻",写不出来就是废镜头。- 切点必须落在拍 / 半拍 / 小节线;口播视频落在句子边界或关键词上。
render是纯函数;camera返回{x,y,zoom,rot}。- 镜头内部三拍:入场(0.25–0.8s)→ 展开 → 由事件结束。
2. 十五种入场转场
cut / fade / glitch / scan / circle / diag / grid / zoom / shatter / dissolve / winclose / winpop / push / slices / flashcut
按语义选:scan = 打印/写入,grid = 参数/数据,winpop = 记录页/弹窗,glitch = 异常,zoom = 深入,circle = 聚焦,shatter = 推翻,flashcut = 大段落切换。支持 align: start|end|center 与 flash。一个视频最多用 4–6 种。
Canvas 2D 版已实现:templates/transitions2d.js(15 种,零依赖)+ templates/transitions-demo.html(逐段预览)。
3. 镜头内运动六条
- 缓动优先(机械计数/扫描线除外)。
- 错峰:主体 0ms,附属 +60–120ms,第三层 +180–300ms。
- 二次运动:落定后 1–2% 过冲或轻微回弹。
- 快速运动必须带模糊;静止背景不参与重绘。
- 禁止只做透明度;淡入必须伴随位移/遮罩/印刷揭示。
- 闪入要整块(1–2 帧),前面不加白场。
What ships with it
25 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.
- assets/preview/cve-counter.jpg 30 KB
- assets/preview/cve-ledger.jpg 25 KB
- assets/preview/cve-outro.jpg 28 KB
- assets/preview/cve-plate.jpg 28 KB
- assets/preview/cve-record.jpg 37 KB
- assets/preview/cve-timeline.jpg 37 KB
- assets/preview/pdoom-fig01.jpg 382 KB
- assets/preview/pdoom-fig04.jpg 457 KB
- assets/preview/pdoom-fig07.jpg 308 KB
- assets/preview/pdoom-fig10.jpg 272 KB
- assets/preview/pdoom-fig14.jpg 351 KB
- assets/preview/worldexecute-cover.jpg 534 KB
- examples/cve-100k/demo.html 38 KB
- README.md 10 KB
- references/case-cve-100k.md 6.4 KB
- references/deterministic-engine.md 11 KB
- references/motion-system.md 12 KB
- references/pdoom-spec.md 5.6 KB
- references/style-cve-100k.md 7.6 KB
- references/world-execute-spec.md 7.7 KB
- templates/export-video.mjs 6.5 KB runs code
- templates/mv-engine.html 22 KB
- templates/qa-stills.mjs 4.0 KB runs code
- templates/transitions-demo.html 6.4 KB
- templates/transitions2d.js 10 KB runs code
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.
- yesterday First seen · 193 lines · 246 tokens per session scan A b73fcab22400
code-mv-render is a skill published in the GitHub repository Unclecheng-li/AI_Animation (1,596 stars, last pushed 2d ago), licensed MIT. It adds 246 tokens to every session and 3,574 once invoked, about $0.0010 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-10-21.
Other skills, from other repositories
fund-holding-viewer
A deployment guide for a Chinese fund-holdings analysis web app. It covers running the app on Alibaba Cloud ECS, a virtual server service, with HTTPS through either a subdomain or a path on an existing domain.
preline-mcp
Add, integrate, or build Preline UI components and blocks into HTML files via the Preline MCP server. Use when the user mentions "preline", says "/preline", asks to add a UI component, or requests a Preline block (a ready-made page section) using Preline UI.
preline-theme-generator
Generate, preview, save, or validate Preline theme CSS using the bundled local generator in this skill. Use when the user asks to create a new Preline theme, match a brand color, translate a mood into a theme, generate light and dark theme CSS, preview theme output without writing files, or review and fix generated…
phaser3-engineer
!cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat…
Biome
Biome 2.x — fast all-in-one web toolchain in Rust. Formats, lints, assists. Replaces Prettier + ESLint.
prettier-docs
Prettier 3.9.5 — opinionated code formatter. CLI, API, config, plugins, editor integration, CI.