Communitygithub.com

assafkip/claude-video-editor

安装 HyperFrames 注册表中的可复用块和组件,并将其集成到现有合成项目中。适用于执行 `hyperframes add` 命令、安装块或组件、将已安装项写入 `index.html`,或编辑 `hyperframes.json` 配置。

claude-video-editor 是什么?

本技能专注于 HyperFrames 注册表的使用,它提供了两类可复用素材:**块**(独立子合成,拥有自己的尺寸、时长和时间线)和**组件**(效果片段,无独立尺寸,直接粘贴到宿主合成 HTML 中)。使用 `hyperframes add <name>` 命令即可安装。 安装后,用户需要手动将块通过 `data-composition-src` 属性集成到宿主 `index.html` 中,并正确设置 `data-composition-id`、`data-start` 和 `data-track-index` 等属性。组件则需将 HTML、CSS 和 JS 片段分别粘贴到宿主合成的对应位置。 该技能还指导如何通过 `hyperframes.json` 配置文件自定义安装路径,以及如何从注册表 manifest 文件发现可用块和组件。目前该技能主要面向 HyperFrames 项目,支持 CLI 操作,适用于基于 HTML/JS 的视频合成场景。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/assafkip/claude-video-editor/tree/HEAD/skills/hyperframes-registry

在你喜欢的 AI 中提问

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

文档

HyperFrames 注册表

注册表提供可通过 hyperframes add <name> 安装的可复用块和组件。

  • 块 (Blocks) —— 独立的子合成(拥有自己的尺寸、时长和时间线)。通过宿主合成中的 data-composition-src 包含进来。
  • 组件 (Components) —— 效果片段(没有自己的尺寸)。直接粘贴到宿主合成的 HTML 中。

何时使用本技能

  • 用户提到 hyperframes add、“块”、“组件”或 hyperframes.json
  • 会话中出现 hyperframes add 的输出(文件路径、剪贴板片段)
  • 你需要将已安装的项集成到现有合成中
  • 你想发现注册表中可用的内容

快速参考

hyperframes add data-chart              # 安装一个块
hyperframes add grain-overlay           # 安装一个组件
hyperframes add shimmer-sweep --dir .   # 指定目标项目
hyperframes add data-chart --json       # 机器可读输出
hyperframes add data-chart --no-clipboard  # 跳过剪贴板(CI/无头环境)

安装后,CLI 会打印写入的文件以及供你粘贴到宿主合成中的代码片段。该片段是一个起点 —— 在集成块时,你需要添加 data-composition-id(必须与块的内部合成 ID 一致)、data-start 和 data-track-index 属性。

注意:hyperframes add 仅适用于块和组件。对于示例,请改用 hyperframes init <dir> --example <name>。

安装路径

块默认安装到 compositions/<name>.html。 组件默认安装到 compositions/components/<name>.html。

这些路径可在 hyperframes.json 中配置:

{
  "registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
  "paths": {
    "blocks": "compositions",
    "components": "compositions/components",
    "assets": "assets"
  }
}

完整详情请参阅 install-locations.md。

集成块

块是独立的合成 —— 通过宿主 index.html 中的 data-composition-src 包含它们:

<div
  data-composition-id="data-chart"
  data-composition-src="compositions/data-chart.html"
  data-start="2"
  data-duration="15"
  data-track-index="1"
  data-width="1920"
  data-height="1080"
></div>

关键属性:

  • data-composition-src —— 块 HTML 文件的路径
  • data-composition-id —— 必须与块的内部 ID 一致
  • data-start —— 块在宿主时间线中出现的时刻(秒)
  • data-duration —— 块的播放时长
  • data-width / data-height —— 块的画布尺寸
  • data-track-index —— 图层顺序(数值越大越靠前)

完整详情请参阅 wiring-blocks.md。

集成组件

组件是代码片段 —— 将其 HTML 粘贴到合成的标记中,CSS 粘贴到样式块中,JS 粘贴到脚本中(如果有的话):

  1. 读取已安装的文件(例如 compositions/components/grain-overlay.html)
  2. 将 HTML 元素复制到合成的 <div data-composition-id="..."> 中
  3. 将 <style> 块复制到合成的样式区域
  4. 将任何 <script> 内容复制到合成的脚本中(在你的时间线代码之前)
  5. 如果组件暴露了 GSAP 时间线集成(参见片段中的注释块),将这些调用添加到你的时间线中

完整详情请参阅 wiring-components.md。

发现可用项

浏览可用的项:

# 读取注册表 manifest
curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json

每个项的 registry-item.json 包含:名称、类型、标题、描述、标签、尺寸(仅块)、时长(仅块)和文件列表。

有关按类型和标签筛选的详情,请参阅 discovery.md。

Individual skills in this repo

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

assafkip/claude-video-editor

Build videos from stills when there is nothing to cut — narration first (ElevenLabs v3 with audio tags), then still keyframes from ANY source (AI image tools, screenshots, photos, HyperFrames-rendered HTML), animated deterministically with the animate-stills recipe (HyperFrames camera moves + GSAP atmosphere). Use when the user wants an explainer, documentary-style video, or any video built from generated or collected visuals instead of recorded footage.

assafkip/claude-video-editor

GSAP animation reference for HyperFrames. Covers gsap.to(), from(), fromTo(), easing, stagger, defaults, timelines (gsap.timeline(), position parameter, labels, nesting, playback), and performance (transforms, will-change, quickTo). Use when writing GSAP animations in HyperFrames compositions.

assafkip/claude-video-editor

HyperFrames CLI tool — hyperframes init, lint, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark. Use when scaffolding a project, linting or validating compositions, previewing in the studio, rendering to video, transcribing audio, generating TTS, or troubleshooting the HyperFrames environment.

assafkip/claude-video-editor

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.

assafkip/claude-video-editor

Beginner-friendly end-to-end video creator for HyperFrames. Use when the user says "make a video", "create a video", "new video", "build a video", "video from scratch", "I want to make a video", "help me create a video", or when someone who's never used HyperFrames before arrives with a concept, script, or rough idea and wants a finished MP4. Interviews the user in one pass, then builds the full video with mandatory preview and visual-verification gates.

assafkip/claude-video-editor

Build and iterate short-form vertical (9:16) videos in Hyperframes — TikTok/Reels/Shorts style. Use when Nate says "short-form video", "vertical video", "TikTok/Reels/Shorts", "make a short", "talking-head + motion graphics", or when the target is a 1080x1920 composition with face video + synced scene overlays + karaoke captions. Encodes the full May Shorts 19 playbook: face-mode choreography, audio-synced scene timing, karaoke captions, and the 10-rule quality checklist.

assafkip/claude-video-editor

Edit any video by conversation — the orchestrator for the bundled video pipeline. Use when the user wants to edit, cut, caption, grade, or add motion graphics to footage; drops a folder of clips and says "edit this"; or asks to make a promo/teaser/tutorial/short. Routes to video-use (the cut engine) and HyperFrames (motion-graphics overlays), with a motion-craft library for taste.

assafkip/claude-video-editor

Production pipeline for mathematical and technical animations using Manim Community Edition. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories. Use when users request: animated explanations, math animations, concept visualizations, algorithm walkthroughs, technical explainers, 3Blue1Brown style videos, or any programmatic animation with geometric/mathematical content.

assafkip/claude-video-editor

Capture a website and create a HyperFrames video from it. Use when: (1) a user provides a URL and wants a video, (2) someone says "capture this site", "turn this into a video", "make a promo from my site", (3) the user wants a social ad, product tour, or any video based on an existing website, (4) the user shares a link and asks for any kind of video content. Even if the user just pastes a URL — this is the skill to use.

相关技能