Communitygithub.com

SingleGrain-Team/视频技能

通过在一个持续不变的中性聊天窗口中构建场景,为产品制作30-45秒的发布短片。用户输入请求,助手响应并调用作为连接工具的产品,进度卡片运行,后续操作触发第二个工具动作,最终结果以倒计时数字形式呈现,最后以徽标、标语和行动号召结束。当你需要为接入AI助手(技能、MCP服务器、插件、连接器、CLI)的产品制作发布、功能或集成公告视频时使用。输出渲染好的1920×1080 MP4文件以及可编辑的单一文件HyperFrames项目。

视频技能 是什么?

该技能能够为接入AI助手生态的产品自动生成发布短片。核心创意在于整个影片始终聚焦于一个聊天窗口,产品本身从未作为独立UI出现,而是以助手调用的工具形式展现。观众能直观看到产品在熟悉的对话流程中如何工作:从用户提出需求,到助手调用工具执行搜索或操作,再到显示进度和最终结果,最后以倒计时数字和品牌元素收尾。该技能支持MCP服务器、插件、连接器等各类产品,输出可直接用于发布的1920×1080 MP4视频,同时提供可编辑的HyperFrames项目文件。工作流程包括配置输入信息、编辑配置对象、运行验证检查、渲染视频和检查帧画面,确保最终成品符合30-45秒时长和H.264编码标准。通过保持单一聊天视图、实时打字动画、工具调用状态展示和数字倒计时等设计,确保视频清晰、连贯且具有品牌一致性。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SingleGrain-Team/video-skills/tree/HEAD/skills/chat-launch-film

在你喜欢的 AI 中提问

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

文档

聊天发布短片

一个聊天窗口在整个影片中始终保持在屏幕上。在数字落地之前,任何内容都不会从窗口切走。产品从未作为独立UI出现:它作为助手调用的工具展示,因此观众可以在他们已经理解的对话中看到产品在工作中。

输入

在接触代码之前收集这些信息。只询问缺失的部分。

输入说明
产品名称、徽标文件(你拥有权限的)、一行标语、URL
用户问题用户首先输入的内容。一个真实、具体的需求,字数不超过70个字符
后续操作触发第二个操作的短消息("太好了,安装它。")
工具动作搜索/查找调用和操作调用的名称,以及各3个简短进度步骤
结果找到或制作的内容:标题和一行副标题
标题数字一个证明规模或速度的整数,带有3-5个字的标签
命令(可选)在第二个工具卡片中显示输入的真正命令或调用
旁白(可选)默认跳过;静音状态下影片也能良好播放

工作流程

  1. 首先加载hyperframes,然后加载hyperframes-core以获取组合合同。不要使用任何第三方品牌的内容:窗口、气泡和工具卡片默认是通用的。
  2. 创建项目文件夹并将template/复制到其中(index.html加上assets/)。将assets/logo.svg替换为产品标记(你有权使用的文件;转换为PNG或SVG并更新两个assets/logo.*引用)。
  3. 仅编辑C配置对象和CSS中的调色板变量。文本来自上述输入。只有当文本变长时才调整T时间对象;保持节拍顺序。
  4. 运行npx --yes hyperframes check。修复每个错误;lint错误会关闭布局和对比度审计,因此0样本结果不等于通过。
  5. 运行npx --yes hyperframes snapshot --at 3,9,12,20,23,28,34并查看联系表。对照你看到的每个规则进行检查。
  6. 渲染:npx --yes hyperframes render --workers 2 -o final.mp4。然后使用ffmpeg提取4-6帧并再次检查,包括倒计时中间的一帧和最后一帧。
  7. 可选音频:仅使用许可证允许商业使用的音轨(或你生成的音轨)。使用hyperframes-audio混合。静音也是可接受的。

节拍图(约36秒)

时间节拍
0-1窗口升起,空内容,编辑器等待
1-4用户问题输入到编辑器中,发送按钮脉冲,消息落地为气泡
4-7三点思考,然后助手回复,附有产品的"已连接"芯片
7-12工具卡片1:状态翻转连接中、搜索中、完成;进度条;三个勾选行;结果卡片带高亮边框
13-15后续操作输入并发送
15-22工具卡片2:命令在代码行中输入,进度条填充,三个勾选行,状态显示已安装
22-25最终助手行确认结果
25-31聊天淡出;标题数字从零开始计数并保持,带有其标签
31-36徽标、产品名称、标语、命令药丸、URL

确保格式有效的规则

  • 持久性:消息流是一个不断增长的堆栈。较早的回话在顶部淡出下向上滚动;永远不要用新卡片替换窗口。
  • 产品是工具调用,而不是截图。它有一个头部(标记、名称、函数名称、状态点)、实时状态文字和一个进度条,因此进度可见。
  • 每个卡片都以其最终高度构建,行隐藏,然后逐渐显示。堆栈偏移根据测量高度计算,因此显示不会跳跃。
  • 打字,而不是出现。两条用户消息都在编辑器中逐字输入,然后在发送时清除并作为气泡出现。
  • 在第一个答案之前显示一个思考节拍,并确保每个步骤在屏幕上停留足够长的时间以便阅读(每行约0.8秒)。
  • 一种强调色,用于进度、勾选、发送按钮和标题数字。其他所有内容均为中性色。
  • 数字是收尾:影片中最大的字体,以缓出方式计数,落地时小幅脉冲,此时聊天已经消失,因此没有竞争。
  • 气泡中每行文字保持在约70个字符以下;最多两行。
  • 仅使用真实事实(真实命令、真实数字)。如果你无法验证数字,请勿使用。
  • 品牌安全:不使用第三方助手或产品徽标、名称、图标或字体。字体使用系统堆栈(system-ui、monospace),因此不需要字体文件。
  • Lint说明:对重复的徽标使用CSS background-image(重复的<img>会触发重复媒体警告),在滚动堆栈上保留data-layout-allow-overflow,并确保占位文本的对比度至少为3:1或更高。

验证

  • check报告0个错误,布局部分显示真实样本。
  • 快照显示:用户问题可读,芯片存在,两个卡片完整,最终行可见,数字完全计数,最后一帧显示徽标和URL。
  • 输出为H.264,1920×1080,时长在30-45秒内。使用ffprobe验证。

交付

交付final.mp4和项目文件夹。在消息中给出路径、时长、使用的产品事实以及任何未解决的问题。

Individual skills in this repo

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

SingleGrain-Team/video-skills

Build a motion graphic where a screen recording plays in a large frame beside a checklist, and each checklist item ticks off at the exact moment that step happens in the recording, ending with every item checked and a short hold. Use when someone has a screen recording (product walkthrough, tutorial, onboarding, install demo) plus a list of steps with timestamps and wants a "watch the steps get done" film. Input is a recording, step labels with timestamps, a title and an optional palette; output is a 1920x1080 H.264 MP4 and the editable HyperFrames project.

SingleGrain-Team/video-skills

Build a 15-20 second product launch film that shows the product's real screen on a laptop built from plain CSS (no 3D model, no generation model) in a dark studio, scrolls the page, zooms into the interface for one key action such as typing a search, and resolves to the logo lockup. Use when someone has a full-page screenshot or screen recording of their product, one action worth showing, and a logo, and wants a short silent-friendly launch teaser rendered as a 1920x1080 MP4 with an editable HyperFrames project.

SingleGrain-Team/video-skills

Builds a 6-8 second logo sting in which the brand mark rides inside a refracting liquid bead (distorted past legibility), the bead swells, holds still for a beat, then ruptures into droplets and leaves the logo lockup (mark plus wordmark) crisp and upright on screen. Delivered as a 1920x1080 H.264 MP4 plus the editable HyperFrames project, with no 3D model, stock footage or generation model. Use it for brand intros and outros, product-launch openers, channel stings and any "reveal our logo" moment, from an SVG or PNG logo (including raster-only logos), a wordmark string and a palette.

SingleGrain-Team/video-skills

Make a 20-30 second launch film for a product that is not tied to one interface, such as a CLI, package, plugin or agent skill. The identical prompt or command is typed into four visually different surfaces in turn (a wide terminal, a tall chat card, a floating palette, an editor cell), the film then hard-cuts into a fast reel of real outputs on a beat or fixed tempo grid, and it closes on the command in a large pill. Delivered as a rendered 1920x1080 MP4 plus the editable HyperFrames project. Music is optional - with a track the cuts land on detected beats, without one they land on a 120 bpm grid.

SingleGrain-Team/video-skills

Make a roughly 30-second film that explains a code change (a pull request, release or uncommitted diff) to people who will never read the diff. It opens by showing the real diff scrolling past too fast to follow, cuts to a plain-language summary, fires four capability beats each pinned to a real code snippet, and closes on how to get it (install command and URL). Delivered as a 1920x1080 H.264 MP4 plus the editable HyperFrames project. Use when asked to turn a PR, changelog or release into a launch or explainer video.

SingleGrain-Team/video-skills

Render a 5-6 second motion graphic in which an oversized condensed headline (2-4 words) punches in behind a presenter, using a background-removed cutout of the presenter layered on top of the lettering. A hard cut then removes the presenter while the same headline holds the exact same size and position, and a short supporting line appears for a reading hold. Use it for talking-head intros, chapter openers, launch announcements and social hooks when you have one presenter clip, a headline, a supporting line and a palette. Built on HyperFrames; delivers a 1920x1080 H.264 MP4 plus the editable project.

SingleGrain-Team/video-skills

Builds a 10-14 second product sting out of a short run of UI moments (an entry screen, a single counting metric, a navigation list, one click that opens a menu, then an endcard) cut together so every cut carries the previous motion forward and the piece reads as one continuous camera move. Delivered as a 1920x1080 H.264 MP4 plus an editable single-file HyperFrames project. Use it for app launches, feature teasers, social bumpers and site intros when you have a product's logo, a couple of screenshots, one headline number and its real nav labels, and want polished UI motion without narration.

相关技能