nexu-io/open-design

hyperframesnexu-io/open-design

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML.

  • SKILL.md 已保存
  • 英文来源资料
  • 安装与运行未实测
先判断是否解决你的问题

hyperframes 是什么?

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For CLI commands (init, lint, preview, render, transcribe, tts) see the hyperframes-cli skill.

以上为来源原文,中文用途说明尚待整理。

同名项目,请核对仓库和目录

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 hyperframes,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 hyperframes

请在 Codex 的当前工作环境中安装并检查 hyperframes 这个 Skill。

项目身份:nexu-io/open-design / hyperframes
来源:https://github.com/nexu-io/open-design/blob/e033aad1d15a9d4084316e5223f2c6597fd32619/design-templates/hyperframes/SKILL.md
已定位的源文件:design-templates/hyperframes/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-21T19:32:09.269Z
中文使用说明
尚待整理,保留英文来源内容
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

design-templates/hyperframes/SKILL.md · 抓取时间 2026-11-21T19:32:09.269Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For CLI commands (init, lint, preview, render, transcribe, tts) see the hyperframes-cli skill.

查看源文件章节 / Source sections
  • 原文:HyperFrames
  • 原文:OpenDesign integration (load-bearing for this surface)
  • 原文:Approach
  • 原文:Visual Identity Gate
  • 原文:Layout Before Animation
  • 原文:The process
  • 示例 / Example
  • 原文:When elements share space across time
  • 原文:What counts as intentional overlap
  • 原文:Data Attributes
  • 原文:All Clips
  • 原文:Composition Clips
  • 原文:Composition Structure
  • 原文:Video and Audio
  • 原文:Timeline Contract
  • 原文:Rules (Non-Negotiable)
  • 原文:Scene Transitions (Non-Negotiable)
  • 原文:Animation Guardrails
  • 原文:Typography and Assets
  • 原文:Editing Existing Compositions
  • 原文:Output Checklist
  • 原文:Quality Checks
  • 原文:Visual Inspect
  • 原文:Contrast
  • 原文:Animation Map
  • 原文:References (loaded on demand)
原文:HyperFrames

HTML is the source of truth for video. A composition is an HTML file with `data-*` attributes for timing, a GSAP timeline for animation, and CSS for appearance. The framework handles clip visibility, media playback, and timeline sync.

原文:OpenDesign integration (load-bearing for this surface)

When this skill runs inside OpenDesign (i.e. `$OD_PROJECT_DIR` is set), the output flow is fixed: only the rendered `.mp4` should land in the project root. Composition source files (`hyperframes.json`, `meta.json`, `index.html`, assets) belong inside a hidden cache directory so they don't clutter the user's FileViewer or the chat's "produced files" chips. **Render workflow inside OD — fast path**: For most OD requests ("test video", "5s product reveal", "demo clip"), do NOT write the composition HTML from scratch. Use Open Design's deterministic scaffold and edit only what the prompt actually changes. The "author from scratch" path costs minutes of model output and silent chat-tool time; the scaffold path costs seconds. ```bash # 1. Pick a hidden cache slot. Dotfile prefix → OD's project file # listing skips it, so the source files never clutter the chat. COMP_REL=".hyperframes-cache/$(date +%s)-$(openssl rand -hex 2)" COMP="$OD_PROJECT_DIR/$COMP_REL" # 2. Get an immediately-renderable scaffold (hyperframes.json, # meta.json, index.html with GSAP CDN + window.__timelines.main # already registered). Open Design writes these files itself; it does # not run `hyperframes init`, consult an npx cache, or install global skills. "$OD_NODE_BIN" "$OD_BIN" media scaffold \ --project "$OD_PROJECT_ID" \ --composition-dir "$COMP_REL" # 3. Edit ONLY $COMP/index.html — change `data-duration` on the root # if you need a non-default length, swap the placeholder palette # in <style>, add 1–3 clip <div>s for text/imagery, and append the # matching GSAP tweens inside the existing # `window.__timelines["main"] = gsap.timeline({paused:true})` block. # Keep edits minimal; the scaffold is already valid HF.

本段为节选,完整内容见源文件。

原文:Approach

Before writing HTML, think at a high level: 1. **What** — what should the viewer experience? Identify the narrative arc, key moments, and emotional beats. 2. **Structure** — how many compositions, which are sub-compositions vs inline, what tracks carry what (video, audio, overlays, captions). 3. **Timing** — which clips drive the duration, where do transitions land, what's the pacing. 4. **Layout** — build the end-state first. See "Layout Before Animation" below. 5. **Animate** — then add motion using the rules below. For small edits (fix a color, adjust timing, add one element), skip straight to the rules.

原文:Visual Identity Gate

<HARD-GATE> Before writing ANY composition HTML, you MUST have a visual identity defined. Do NOT write compositions with default or generic colors. Check in this order: 1. **DESIGN.md exists in the project?** → Read it. Use its exact colors, fonts, motion rules, and "What NOT to Do" constraints. 2. **visual-style.md exists?** → Read it. Apply its `style_prompt_full` and structured fields. (Note: `visual-style.md` is a project-specific file. `visual-styles.md` is the style library with 8 named presets — different files.) 3. **User named a style** (e.g., "Swiss Pulse", "dark and techy", "luxury brand")? → Read [visual-styles.md](./visual-styles.md) for the 8 named presets. Generate a minimal DESIGN.md with: `## Style Prompt` (one paragraph), `## Colors` (3-5 hex values with roles), `## Typography` (1-2 font families), `## What NOT to Do` (3-5 anti-patterns). 4. **None of the above?** → Ask 3 questions before writing any HTML: - What's the mood? (explosive / cinematic / fluid / technical / chaotic / warm) - Light or dark canvas? - Any specific brand colors, fonts, or visual references? Then generate a minimal DESIGN.md from the answers. Every composition must trace its palette and typography back to a DESIGN.md, visual-style.md, or explicit user direction. If you're reaching for `#333`, `#3b82f6`, or `Roboto` — you skipped this step. </HARD-GATE> For motion defaults, sizing, entrance patterns, and easing — follow [house-style.md](./house-style.md). The house style handles HOW things move. The DESIGN.md handles WHAT things look like.

原文:Layout Before Animation

Position every element where it should be at its **most visible moment** — the frame where it's fully entered, correctly placed, and not yet exiting. Write this as static HTML+CSS first. No GSAP yet. **Why this matters:** If you position elements at their animated start state (offscreen, scaled to 0, opacity 0) and tween them to where you think they should land, you're guessing the final layout. Overlaps are invisible until the video renders. By building the end state first, you can see and fix layout problems before adding any motion.

原文:The process

1. **Identify the hero frame** for each scene — the moment when the most elements are simultaneously visible. This is the layout you build. 2. **Write static CSS** for that frame. The `.scene-content` container MUST fill the full scene using `width: 100%; height: 100%; padding: Npx;` with `display: flex; flex-direction: column; gap: Npx; box-sizing: border-box`. Use padding to push content inward — NEVER `position: absolute; top: Npx` on a content container. Absolute-positioned content containers overflow when content is taller than the remaining space. Reserve `position: absolute` for decoratives only. 3. **Add entrances with `gsap.from()`** — animate FROM offscreen/invisible TO the CSS position. The CSS position is the ground truth; the tween describes the journey to get there. 4. **Add exits with `gsap.to()`** — animate TO offscreen/invisible FROM the CSS position.

文件 SHA256:0421d8b0cb1651c0368b8a863751abfcf8acb087373116aa976c3fc4a93748b2

仓库许可证记录:Apache-2.0;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-21T19:32:09.269Z

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For CLI commands (init, lint, preview, render, transcribe, tts) see the hyperframes-cli skill.

查看历史简介来源

历史收录数据

来源仓库nexu-io/open-design
Skill源路径design-templates/hyperframes/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源