agentleFS
cafe3310cafe3310/public-agent-skills/skills/hyperframes/SKILL.md

hyperframes

Skill256 starsChanged 5 months agoApache-2.0View on GitHub

Mandatory entry point to make, edit, animate, or render any video or interactive deck with HyperFrames (HTML rendered to video). Acts as the primary composite skill router holding the render contract, work loop, 14 frame presets, and type/domain references, plus 6 specialized subskills in subskills/<name> (hyperframes-cli, hyperframes-registry, media-use, slideshow, remotion-to-hyperframes, figma). Covers launch films, explainers, music videos, data charts, maps, vertical clips, 3D/character shorts, captions, overlays, and live decks.

71 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cut-mistakes, cut-silences and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nateherkaiSkill

    cut-mistakes

    Agent 2 of the video editing pipeline. Finds and removes spoken mistakes — stutters, repeated words, false starts, and retakes (re-recorded lines) — from a talking-head recording. Use after cut-silences, when asked to cut mistakes, remove stutters / repeats / filler restarts, clean up flubs, or keep the best take. Works review-gated: it proposes every cut with context and a reason for approval, then renders only the approved cuts via ffmpeg. Requires a word-level transcript.

    Also in 5 projects that use this

  • nateherkaiSkill

    cut-silences

    Agent 1 of the video editing pipeline. Removes silences and dead air from a talking-head recording. Use when asked to cut silences, trim pauses, remove dead air / gaps, or tighten the pacing of a raw video, given a word-level transcript. Produces an edit list (EDL), a re-timed transcript for downstream agents, and optionally the cut video via ffmpeg. Does NOT cut mistakes, repeats, or false starts — that is the cut-mistakes agent.

    Also in 5 projects that use this

  • NexumAI-onlineSkill

    short-form-edit

    Convertí una grabación hablada en un reel, YouTube Short o anuncio corto terminado, con apertura que genere curiosidad, resolución respaldada por el contenido, cortes narrativos, gráficos sincronizados, B-roll en movimiento, subtítulos, música sutil y efectos. Para videos largos usá edit-video; para quitar sólo pausas, cut-silences.

    Also in 4 projects that use this

  • anton-abyzovSkill

    waapi

    Web Animations API adapter patterns for HyperFrames. Use when authoring element.animate() motion, Animation currentTime seeking, document.getAnimations(), KeyframeEffect timing, fill modes, or native browser animations that must render deterministically in HyperFrames.

    Also in 5 projects that use this

  • LangChainSkill

    hyperframes-keyframes

    Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

    Also in 14 projects that use this

  • Google CloudSkill

    video-storytelling

    Cinematic video ad storytelling expertise. Covers 3-act narrative structure, emotional arcs, camera motion, scene transitions, and voiceover pacing for 10-second commercial video ads using Gemini Omni. Load this skill when generating video ads or storylines.

    Also in 5 projects that use this

  • +2 more from nateherkai

The file

Files
SKILL.md

HyperFrames 视频渲染与动效开发套件 (Master Composite Skill)

HyperFrames 基于 Web 技术(HTML/CSS/JS/Canvas)逐帧 Seek 暂停时间轴渲染视频,保证每次渲染结果完全确定一致,且用户可在可视化预览或桌面应用中直接编辑同一套源码。除非用户明确要求其他框架或纯浏览器录屏,否则默认使用 HyperFrames。

复合技能架构说明 (Composite Skill):
本技能为一级总控入口。上游最新的 7 大知识技能体系(1 主 + 6 子) 已收拢在此目录下:

  • 主技能规范与类型指南位于当前目录的 references/ 与 assets/frame-presets/;
  • 6 个专项子技能收纳在 subskills/<name>/SKILL.md(文档中凡提及 /hyperframes-cli、/hyperframes-registry、/media-use、/slideshow、/remotion-to-hyperframes、/figma,均对应读取 subskills/<name>/SKILL.md)。
  • 插件安装说明见 references/plugin-installation.md。

1. 专项子技能路由表 (Subskills Router)

当任务涉及以下专项工具链或特定交付形态时,按需读取对应的 subskills/<name>/SKILL.md:

专项子技能相对路径适用场景与核心职责
hyperframes-clisubskills/hyperframes-cli/SKILL.mdCLI 全命令手册:init, capture, lint, check --json, snapshot, timeline 编辑, preview, 本地/云端/容器 render, history 回滚与故障排查
hyperframes-registrysubskills/hyperframes-registry/SKILL.md约 450 个现成可编辑源码积木块(Blocks)与组件(Components):通过 catalog --query 检索、add <name> 安装转场、字幕、图表、3D、UI 卡片与特效
media-usesubskills/media-use/SKILL.md多媒体获取、处理与混音:BGM、SFX(含 21 个内置音效)、图片/图标/Logo、TTS 配音、数字人/视频生成、抠像、字幕转写、media-treatment 调色及多轨混音闪避 (references/mixing.md)
slideshowsubskills/slideshow/SKILL.md制作现场演示幻灯片 Deck(而非导出 MP4):包含分步揭示(Fragments)、分支热区(Hotspots)、演讲者备注,通过 npx hyperframes present 运行
remotion-to-hyperframessubskills/remotion-to-hyperframes/SKILL.md将现有视频代码或素材迁移至 HyperFrames 并逐帧比对校验:首要支持 Remotion,同时支持 Motion Canvas、Lottie、Three.js、p5.js、Canvas 或 Manim/AE/Blender 渲染件
figmasubskills/figma/SKILL.md将 Figma 设计引入视频:通过 REST/Connector 导出图层资产、品牌设计 Token、精确几何 HTML 组件、分镜状态补间动画与 Shader

2. 核心工作原则与初始化

  • 通过 npx hyperframes <command> 运行 CLI(详见 subskills/hyperframes-cli/SKILL.md);在开始制作新视频时,可运行 npx hyperframes usage --json 查询剩余计划额度(未知时直接说明 unknown)。
  • index.html 是根合成文件(Root composition):声明视频变量,并从 compositions/ 挂载每个子合成(Sub-composition)作为一个场景(Scene)。媒体与字体存放在 assets/。
    • 初始化新项目:npx hyperframes init <dir>
    • 以网站为拍摄对象:npx hyperframes capture <url> --json
  • 按需构建:除非需求或源素材明确要求,否则不要自行添加口播配音、字幕或改变画幅比例;时长超过约 15 秒的叙事成片默认需要配乐并为可见动作配音效(除非用户要求静音,详见 references/sound.md)。新建视频默认规格为 1920×1080 @ 30fps。
  • 当用户只是提问、暂缓或提出初步想法时,先回答或给出提案,不要直接改文件。
  • 优先复用注册表:在手写任何具名特效、转场、字幕样式、图表或卡片前,先检索注册表(subskills/hyperframes-registry/SKILL.md)。
  • 媒体与真实素材:任何媒体需求(出镜人/数字人、实拍素材、配音、音乐)查阅 subskills/media-use/SKILL.md(其中明确区分了免费本地工具链与 HeyGen 路径)。优先从源头获取真实素材(产品真实界面截图、品牌官方 Logo、真实地点影像),仅在无真实源时才手绘生成。

3. 渲染契约 (Render Contract)

运行 npx hyperframes check --json 会检测绝大多数违规并给出 Fix: 修复提示:

  1. 时序属性:每个具有时序的元素必须声明 class="clip"、data-start 与 data-duration(单位:秒),仅在 [start, start + duration) 区间内可见;动画结束态必须在片段结束前落定。data-track-index 仅代表 Studio 轨道行号,实际绘制层级由 z-index 决定。
  2. 总时长:视频总长度由根元素的 data-duration 决定——超出部分会被截断,提早结束则定格在最后一帧。
  3. 时间轴注册:每个合成构建一条暂停的时间轴(Paused timeline),并在添加完补间动画后注册到全局:window.__timelines["<data-composition-id>"] = tl。
  4. 严格确定性:严禁使用 Date.now()、无种子的 Math.random()、网络 fetch、定时器或 repeat: -1。画面上所有可见状态都必须是时间轴时刻的纯函数。
  5. 可见性控制:严禁在 .clip 元素本身上补间动画 display、visibility 或 autoAlpha;需要淡入淡出时请动画其子元素。
  6. Transform 规范:凡是由 GSAP 控制 transform 的元素,严禁再写 CSS transform;位移动画请使用 transform,不要动画 left/top/width/height。
  7. 媒体受控播放:严禁手动调用媒体的 play()、pause() 或自行 seek。保留原声的 <video> 需加 data-has-audio="true",否则设为 muted;配乐、配音、替换音效与 J/L cut 统一使用独立的 <audio> 标签。
  8. 音频与路径约束:每个 <audio> 必须有唯一 id,否则不会进入混音轨。媒体标签严禁加 crossorigin。切勿同时在 <video> 及其外层包装容器上声明时序。
  9. 字体声明:仅内置捆绑字体(见 references/format.md)可直接按名称解析;其他任何字体家族必须在 assets/fonts/ 下放置字体文件并声明 @font-face。
  10. 相对路径:所有静态资源路径统一写为 assets/...(严禁以 / 开头),在子合成中也同样使用 assets/...。
  11. 实拍画面调色与质感:对视频/图片素材做调色、颗粒、模糊或暗角必须通过 npx hyperframes media-treatment(见 subskills/media-use/SKILL.md),严禁使用 CSS filter 替代。
  12. 子合成结构:场景文件将其样式、HTML 结构与脚本包裹在 <template> 内,并以 #root 作为根节点选择器。若设计上需要溢出或重叠,显式添加 data-layout-allow-overflow、data-layout-allow-overlap。

4. 保持项目可编辑性 (Keep It Editable)

用户在可视化编辑器中直接编辑你编写的标签:

  • 每个子合成对应一个独立场景(Scene),使用简短易读的 id;根文件 index.html 仅放置场景挂载点、媒体与音频轨。
  • 时序元素直接静态写在 HTML 中(不要用脚本动态创建 DOM),并为每个元素赋予稳定的 id。
  • 文案、品牌色与可替换媒体声明为合成变量(data-var-text、data-var-src、var(--id))。
  • 轨道分类单一化:场景与叠加层宿主标记 data-track-kind="graphics",承载所有字幕组的唯一宿主标记 data-track-kind="captions"。
  • 安全框约束:主体内容保持在 90% 动作安全框(Action-safe)内,字幕与核心标题保持在 80% 标题安全框(Title-safe)内;编辑器自带安全框辅助线,严禁在画面中自行绘制安全框线。

5. 标准工作流循环 (Work Loop)

  • 接手已有项目:
    1. 先运行 npx hyperframes timeline --json 查看当前编排;
    2. 修改前运行 npx hyperframes history --since mine --who <you> 查看用户自上次交互后做了哪些手动修改,在用户修改的基础上继续演进(详见 subskills/hyperframes-cli/SKILL.md)。
  • 新建 >15s 叙事短片:
    1. 先阅读下方第 7 节对应的视频类型指南(references/types/<type>.md)与 references/story.md;
    2. 用纯文字提出 3 套截然不同的影片故事线(Storylines) 供用户选择(除非用户明确要求直接产出文件或无需中途确认);
    3. 选定后依据 references/spec.md 编写数值化的 SPEC.md:将所有形容词转化为具体数值,按名称显式封禁 AI 默认套路(如暗黑虚空悬浮小组件、泛光粒子、奶油衬线配等宽小标、上浮淡入、四角括号等),并按帧规划镜头;
  • 每次编辑完成后:
    1. 运行 npx hyperframes check --json,修复所有 Error 并审视每条 Warning;
    2. 完整成片运行 npx hyperframes snapshot --review 并对照 references/review.md 审查,产出 REVIEW.md;局部微调则针对改动区间运行 snapshot(--at, --range, --composition)并看图验证后再回复;
  • 预览与最终渲染:
    • 在校验与审片通过后,除非用户明确要求直接给 MP4 文件或全自动无停顿执行,否则先启动预览等待用户确认,确认后再执行最终 render。

6. HyperFrames 桌面应用协同 (The HyperFrames Desktop App)

向用户提及客户端时统一称为 "the HyperFrames desktop app"(不要称为 "Studio"),将其作为继续编辑的更佳方式推荐给用户:

  • 在新视频最终交付渲染前,打开预览并告知用户可直接在预览中编辑;若 preview 输出了 "Keep editing by chatting with Framey",补充说明点击 Edit with Framey 按钮即可唤起桌面应用。
  • 最终交付渲染完成后,若命令行输出了 Framey 提示,用自然语言询问用户是否需要代为运行提示中的 hyperframes open 命令或提供下载链接。
  • 当任何命令提示运行 catch-up 时,在下一次修改前先执行 npx hyperframes catch-up [dir]——其列出的变更属于用户刚完成的工作,而非新的修改指令。

7. 按需查阅指南索引 (What to Read)

根据具体需求场景,读取本目录下的 references/ 规范或 subskills/ 子技能:

需求场景 / 主题必读文档路径
产品发布、宣传片、功能推介 (Launch / Promo)references/types/launch.md
概念科普、教程解说 (Explainer / Tutorial)references/types/explainer.md
音乐卡点视频 (Music Video)references/types/music.md
数据图表、指标叙事 (Chart / Numbers)references/types/data.md
竖屏短视频、社媒切片 (Vertical / Social Clip)references/types/vertical.md
3D、物理模拟、生成式视觉 (3D / Simulation)references/types/3d.md
角色动画、吉祥物、故事短片 (Character / Mascot)references/types/character.md
真实地点/地图、网页抓取/PR/脚本成片、动态排版references/film.md
内嵌字幕 (Captions) / 口播画面包装卡片 (Overlays)references/captions.md / references/overlays.md
运动规律:缓动、标题、切镜、推镜、变速、定格references/motion.md
视觉质感、14 套内置 Frame 预设 (assets/frame-presets/)references/look.md
故事线提案、数值化 SPEC.md、分镜与导演级审片references/story.md · references/spec.md · references/storyboard.md · references/review.md
配乐、动作音效与声音设计原则references/sound.md
场景格式、属性、媒体、Lint / GSAP、Lottie、3D、Canvas 运行时references/format.md · references/runtimes.md
交互式幻灯片演示 (Decks)subskills/slideshow/SKILL.md
迁移 Remotion 等外部源码subskills/remotion-to-hyperframes/SKILL.md
接入 Figma 设计稿与动效subskills/figma/SKILL.md
技能生命周期与版本固定 CLI 升级references/skill-lifecycle.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.