Communitygithub.com

模型对决

给三个AI模型同样的动作指令,保留各自的第一次输出,用相同的渲染方式将它们并排或堆叠成一个对比视频,并带有模型名称和徽标。适用于制作新闻通讯的16:9横向对比视频和Instagram/TikTok的1080×1920纵向堆叠视频。

模型对决 是什么?

模型对决技能提供了一个公平、可重复的对比测试框架:在同一份动作指令下,让三个AI模型分别输出HTML,然后使用统一的渲染器(FFmpeg)将它们渲染成视频,并最终合成为一个带有模型标识和标题的对比视频。该技能支持Claude Code、Cursor和Codex等主流AI开发工具,强调“第一次输出”原则——不重新生成、不修复、不替换失败结果,确保测试的公正性。用户需要提供完整的指令文本、三个模型的名称及访问方式、每个模型的徽标文件,以及两行标题。输出包括一个16:9的三屏横向视频用于新闻通讯,以及一个1080×1920的纵向叠加视频用于Instagram和TikTok。技能还内置了品牌合规检查、安全区域定义(如标题区域y360-520、徽标放在暗色圆角瓷片上以避免在亮背景中消失)以及最终导出前的帧验证流程,帮助用户高效、专业地制作AI模型对比内容。

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

在你喜欢的 AI 中提问

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

文档

模型对决:一个指令,三个AI

一场公平的测试,用户自己就能看明白。一个指令、三个模型、各取第一次输出、同一个渲染器。

开始之前: 如果存在 brand.md 和 MOTION.md,请先阅读。如果不存在,先运行 brand-intake,或者索要十六进制颜色码、字体和徽标文件。在这些信息缺失之前,不要对结果做出“符合品牌”的判断。品牌规范仅适用于标题和标签,绝不应用于模型的输出内容。

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

  1. 指令文本,逐字给出。每个模型收到完全相同的文本。
  2. 三个模型,按创建者写的原名给出,以及用户如何访问每个模型(仅限他们自己的帐户)。
  3. 每个模型的徽标文件,需附件形式提供。切勿凭记忆重绘。
  4. 标题,两行短句。例如:“相同提示。”/“三个AI模型。”

第二步:公平测试规则

  • 仅限第一次输出。 没有重新生成,没有修复,没有“再来一次”来优化你希望获胜的模型。
  • 模型写HTML,你来渲染。 将此规则加入指令中,以确保没有模型获得更优的导出方式:
交付一个独立的 index.html,[宽度] × [高度] 像素。仅输出完整的 HTML。一个共享渲染器会执行 window.seek(t) 并以相同设置导出每个模型的输出。
实现细节:确定性的 window.seek(秒数),包裹取模 [总秒数],所有视觉状态由时间决定。非 ?render 模式下自动播放。?render 模式下冻结直到 seek 调用。初始化完成后设置 window.__ready=true。无外部请求。不添加控件、调试文本、模型名称或截图。
  • 使用相同的渲染器和相同的设置 处理所有三个模型:相同尺寸、30fps、相同时长、相同编码器。
  • 失败结果保留。 如果一个模型返回破碎的HTML或没有输出,它的面板上就显示失败信息。绝不能用后续尝试替换。

第三步:叠加视频

新闻通讯(16:9): 三个面板水平并排,每个面板上方用纯色条带显示模型名称。

Reel(1080×1920): 三个1080×360的面板纵向堆叠在 y=540、900 和 1260 处,置于深色背景之上。用 HTML 构建一个透明的 1080×1920 叠加图 overlay.png,包含标题和三个标签,然后运行:

ffmpeg -y -i a.mp4 -i b.mp4 -i c.mp4 -loop 1 -i overlay.png -f lavfi -i anullsrc=r=48000:cl=stereo -filter_complex "color=c=0x0B0B0F:s=1080x1920:r=30:d=12[bg];[0:v]fps=30,scale=1080:360:force_original_aspect_ratio=increase,crop=1080:360,setsar=1[a];[1:v]fps=30,scale=1080:360:force_original_aspect_ratio=increase,crop=1080:360,setsar=1[b];[2:v]fps=30,scale=1080:360:force_original_aspect_ratio=increase,crop=1080:360,setsar=1[c];[bg][a]overlay=0:540[t1];[t1][b]overlay=0:900[t2];[t2][c]overlay=0:1260[t3];[t3][3:v]overlay=0:0,scale=out_color_matrix=bt709:out_range=tv,format=yuv420p[out]" -map "[out]" -map 4:a -t 12 -c:v libx264 -crf 18 -pix_fmt yuv420p -color_range tv -colorspace bt709 -color_primaries bt709 -color_trc bt709 -c:a aac -b:a 128k -movflags +faststart showdown-reel.mp4

将 d=12 和 -t 12 改为你的视频时长。裁剪保持画面中心,所以检查每个面板的一帧,如果动作偏离中心,则调整裁剪区域。

我吃过的亏

  • 徽标放在画面上会在亮帧中消失。 每个标签(徽标加模型名称)都放置在其面板左上角的深色圆角瓷片上。
  • 安全区域。 标题位于 y=360 到 520 之间。文字或徽标不能低于 y=1420,也不能进入右侧120px,因为那里是应用绘制按钮和字幕的区域。
  • 标签必须包含完整模型名称,包括版本号。例如“Opus 5.5”,而不是“Claude”。
  • 以问句结尾。 我自己的字幕以“你会发布哪一个?”结尾,并给出了我的选择。

第四步:检查并导出

从视频中间抽取一帧。在手机大小下能看清每个标签吗?每个徽标是否属于正确的公司?然后在上传之前运行 reel-export 中的检查项。

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

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,

vox-explainer

Make a short Vox-style documentary explainer (30-60 seconds) entirely in code with Claude Code. Torn paper, halftone texture, bold condensed type, motion on twos. Use when someone says

相关技能