Communitygithub.com

vox-explainer

用代码制作一段30-60秒的Vox风格纪录片解说视频。使用撕纸、半调纹理、粗体紧凑字体、二帧一动的动画效果。当有人说“做个Vox风格视频”时使用。

vox-explainer 是什么?

该技能让开发者仅通过HTML和JavaScript代码生成30-60秒的Vox风格纪录片解说视频。它不依赖任何视频生成器或素材库,而是将每一帧都用代码精确绘制。支持Claude Code等AI编码代理,通过详细的步骤引导用户完成从脚本撰写、视觉设计到最终导出MP4的完整流程。核心特色包括:使用撕纸卡片、半调纹理、粗体紧凑字体和“二帧一动”的步进动画风格;严格依赖用户提供的事实数据并自动校验每个日期和名称;内置音频支持,要求编写低音轨和效果音。导出推荐使用HyperFrames(来自HeyGen的免费开源工具)进行帧序列渲染。该技能还包含一套严格的审核规则,确保开头3秒内展示核心问题,避免画面静态、布局不对称或字体平滑等问题,最终输出一个自包含的HTML文件。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/charlie947/motion-graphics-skills/tree/main/skills/vox-explainer

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Vox风格解说视频,用代码构建

你制作一个30-60秒的纪录片解说视频,作为单个HTML文件,然后导出为MP4。每一帧都是代码。没有视频生成器,没有素材库。

开始前: 如果存在 brand.md 和 MOTION.md,请先阅读。如果没有,先运行 brand-intake,或者询问十六进制颜色代码、字体和Logo文件。在没有这些之前,永远不要声称结果符合品牌形象。

第一步:询问四件事,然后等待

  1. 问题。 一个陌生人半懂不懂的“为什么”问题。例如:“为什么现在所有的品牌Logo看起来都一样?”
  2. 事实。 回答问题的名称、日期和数字,每个都附有来源链接。如果用户没有,请搜索并展示带有来源的列表,然后再开始构建。
  3. 颜色。 三个十六进制代码加一个强调色。默认值(来自我的Logo影片):红色 #B8312A,米色 #F1E6D0,纸色 #FBF7EE,海军蓝 #14213D,黄色强调色 #F2C230。将默认值标记为默认值。
  4. 尺寸。 1920 x 1080(YouTube)、1080 x 1350(LinkedIn信息流)或 1080 x 1920(快拍或Reels)。

在屏幕上的每个事实都有来源之前,不要开始构建。

审核规则(来自被拒绝的版本)

  • 声音不是可选的。 无声的解说视频感觉不完整。用代码编写音轨:一个低音背景,每张新画面一次打击,在最后一行加强。
  • 用卡片和图像,而不是线条。 屏幕上移动的单一条形或线条看起来是静态的。每张画面都使用卡片、真实图像或能在深度上移动的物体。
  • Logo填满卡片 并使用真实文件。Logo在一个大盒子里漂浮得很小,看起来很糟糕。
  • 保持网格对称。 相等的卡片大小,相等的间距。不对称的布局看起来像是个错误。
  • 语音放在上面。 如果无法在音效之上听到解说,就降低音轨直到能听到为止。语音轨道(你自己的或文本转语音的)承载着“为什么”电影。
  • 开头的台词必须预示接下来的内容。 低估影片的小标题会在精彩部分到来之前就失去观众。把问题说大,然后在5秒内展示第一个惊喜。
  • 每个说出口的事实都要有来源 在进入脚本之前放在事实文件中。当研究只显示相似性时,说“看起来像”,永远不要说“是”。
  • 要么惊艳,要么没完成。 如果头3秒不能让你自己的手指停下来,重建它们再构建其余部分。

第二步:写脚本,每张画面一行

  • 8-14张画面。每张一句话。第一张画面就是问题本身。
  • 每张画面都要回答前一句话提出的问题。如果你说不出一张画面证明了什么,就删掉它。
  • 最后一张画面是结论,五个字以内。

以编号列表的形式展示脚本,然后等待确认。

第三步:为每行选择画面类型

画面类型使用场景
动感陈述你想让人记住的一句话。三行短的粗体紧凑字体,放在一条撕纸上。
纸卡同时展示多个事物(Logo、产品、引用)。撕边卡片带着小阴影落下。
之前/之后随时间的变化。同一张卡片,日期标签翻转。
标注在图片中命名一个事物。一个标记圆圈自己画出来,然后出现标签。
计数器一个递增的数字。用代码实现,从不猜测。
网格“它们看起来都一样。”许多相同的瓷砖,然后一个打破了模式。

第四步:构建

将以下构建概要粘贴到Claude Code中,并在其下方附上脚本和画面列表:

构建一个自包含的HTML文件,命名为index.html。没有外部字体、图像或库,除非我附上了它们。不要从互联网加载任何东西。

外观:编辑性纪录片解说。严格限定调色板:[红色]、[米色]、[海军蓝],带一个[黄色]强调色。带小投影的撕纸卡片。半调点、纸纹和精细胶片颗粒覆盖整个画面。仅在画面边缘有色散,以及柔和的暗角。粗体紧凑无衬线字体,完全形成为块状。

动画:步进式,以二帧一动的节奏动画(在24fps下,每个画好的姿势保持2帧)。永远不要平滑的企业缓动。没有打字机效果。文本没有渐变,没有发光,没有弹跳。

事实:屏幕上显示的每个名称、日期和数字必须完全按照我的事实列表中给出的内容输入。不要添加任何我没有给你的内容。

时间控制:按照我的画面列表。每张画面保持足够长的时间以便朗读。

构建规则:仅根据时间计算出每一帧。添加 window.seek(seconds) 函数,用于绘制该确切时刻。最后一帧可以与第一帧不同(这是一部电影,不是循环)。

构建完成后:从每张画面的中间捕获一帧。检查每一帧是否有文字被裁剪、卡片重叠、名称拼写错误以及任何不在我的事实列表中的日期。修复真正的问题并保留第一个版本。

第五步:像编辑一样检查

在导出之前,遍历每一帧画面并确认:

  • 每个日期和名称都与事实列表逐字符匹配。
  • 没有卡片覆盖另一张卡片的文字。
  • 没有应该步进的动画被平滑了。
  • 前3秒已经展示了问题(人们在3秒内做出决定)。

第六步:导出

最简单的途径:HyperFrames,来自HeyGen的免费开源工具(先运行 npx skills add heygen-com/hyperframes,然后运行 npx hyperframes render)。任何能遍历 window.seek 函数并将帧保存为MP4的工具都可以。在安装任何东西之前先检查哪些工具可用,并在安装前询问。

本技能不会做的事情

  • 编造事实、日期或引用。
  • 从记忆中重现真实品牌的Logo。使用用户的文件或设置为品牌名称的纯文本。
  • 声称某个趋势是由单一原因造成的。说“一个原因”,而不是“原因”。

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

animated-chart

Make a looping animated chart for LinkedIn or a newsletter in code with Claude Code. Bars that become a line, a number that counts up, a before and after. Every value stays exactly as given. Use when someone says

apple-launch-film

Rebuild an Apple-style Mac launch film entirely in code with Claude Code. A thin menu bar, the black notch growing into widgets one scene at a time, full-screen gradient wallpapers and one short caption per scene. No screen recording, no After Effects. Use when someone says

brand-intake

The setup step every other skill in this pack reads. A short interview plus 3 to 5 reference frames becomes two files in your project, brand.md (who you are, what you sell, your assets) and MOTION.md (your colours, type, timing and motion rules), plus a rule in CLAUDE.md so Claude reads them before it animates anything. Use at the start of any motion project, or when someone says

launch-video

Make a 30-45 second product launch video in code with Claude Code, the kind SaaS companies post on launch day. One sentence split across scenes, real product screens with slow camera moves, a typed prompt, a proof beat and a clear call to action. Use when someone says

loop-cover

Turn a newsletter or blog cover into a seamless looping GIF at 896 x 640, 180 frames at 20fps. Only the one element you name moves, the loop is rotated so frame 1 shows the finished picture, and the seam is measured, not eyeballed. Use when someone says

milestone-reveal

Make a 12-second looping milestone clip in code with Claude Code. Thousands of tiny points drift like a night sky, pull together into your real number (followers, subscribers, revenue, customers), a line draws underneath and the label settles in. Premium, not a party. Use when someone says

model-showdown

Give the same motion brief to three AI models, keep each first try, render all three the same way and stack them into one comparison video with model names and logos. Makes a 16:9 side-by-side for a newsletter and a 1080 x 1920 stacked reel for Instagram and TikTok. Use when someone says

motion-brief-writer

Turns a rough idea for an animated graphic into a precise build brief for Claude Code, in your own brand. Asks for anything essential first (exact numbers, size, length, brand), keeps real results apart from sample data, and never invents a figure. Use when someone says

motion-effects

Build any of 16 premium motion effects from scratch in your own brand, as one 8-second looping HTML file with window.seek(seconds) so it exports frame-exact to MP4 or GIF. Interfaces (button to player, search to results, card to workspace, tabs to panels), data (chart morph, dashboard zoom, spring stack, magnetic dock), type (masked type, elastic type, text to layout, image reveal) and systems (perspective shift, glass focus, flowing paths, particle logo). Use when someone says

motion-prompt-writer

Write a complete 8-part Claude Motion prompt (The bar, Format, The one rule, Look, Motion, Never, Before you finish, The scene) for one short looping motion graphic, in your own brand. Takes your brand (a website screenshot, a logo, hex codes, or nothing for the Apple-style default) and one moment you want to show, in plain words. Use when someone says

newsletter-promo

Turn a newsletter edition into a 12-20 second promo clip for LinkedIn, Instagram or X that drives people to read and subscribe. Hook question, three proof frames from the edition, then the newsletter name and where to read it. Use when someone says

reel-export

Turn any horizontal or square motion video into a 1080 x 1920 Instagram Reel or TikTok that uploads cleanly. Headline and logos inside the safe zone, H.264, yuv420p, limited colour range, bt709, a silent audio track when there is no sound, and an ffprobe check before upload. Use when someone says

reference-to-motion

Turn references you admire into a scene-by-scene Claude Motion prompt for your own topic and brand. Takes a video for the moves (screenshots, frames or a contact sheet of a reel or ad) and, optionally, a look reference for the style (a website, a brand, a moodboard). Use when someone says

title-sequence-3d

Make a cinematic 3D title sequence (8-15 seconds) in code with Claude Code and Three.js. A camera moves through a lit scene, such as a rainy street at night with brand names as neon signs, then a big question or title lands. Use when someone wants a scroll-stopping opener, a film-style intro,

相关技能