Communitygithub.com

Alemoterani/auto-edit-hyperframes

将任意文本——文章、笔记、主题或简报——转化为无人解说的解释性视频:无需网站或实拍素材,场景视觉完全自创(排版、抽象图形、图表、数据可视化)。适用于主题解释、概念分解、教程、清单体视频。不适用于基于网站的视频(/product-launch-video 推广或导览)。不明确时 → /hyperframes。

auto-edit-hyperframes 是什么?

这是一个专为 HyperFrames 平台设计的 AI 技能,用于从纯文本自动生成‘无人解说解释性视频’(Faceless Explainer)。它不依赖于任何网站截图或实拍素材,而是通过设计系统和动画框架,为每个场景动态创建视觉元素(如排版、抽象图形、图表和数据可视化),极大地简化了教学类视频的制作流程。该技能支持多种平台(包括 HeyGen 和本地引擎),并集成了音频生成、设计预设选择、故事板编排等完整工作流。核心流程包括:设置项目并确认简报(Step 0)、创建合成信息包(Step 1)、选择并应用设计预设(Step 2)、编写并审批故事板和脚本(Step 3)、生成音频(Step 3.1)、进行视觉设计(Step 4)、生成单个帧(Step 5,需分发子代理)以及最终渲染(Step 6)。该技能可处理概念解释、操作指南、清单体等多种视频类型,并且特别强调工作流的顺序执行和每一步的‘门控’检查,确保输出质量。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Alemoterani/auto-edit-hyperframes/tree/HEAD/vendor/hyperframes/skills/faceless-explainer

在你喜欢的 AI 中提问

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

文档

插件安装: 在设置或更新命令之前,当此技能位于 HyperFrames 插件内时,请遵循插件执行规则。独立安装则保留下面的更新说明。

首先,保持此技能为最新——在运行前需与用户确认: npx hyperframes skills update faceless-explainer。如果一切已是最新,则快速无操作;否则,此技能及其依赖的核心领域技能会在您使用前得到更新。

media-use:在获取音频/图片/标志前,先调用 /media-use 从 HeyGen 目录和品牌标志的官方来源解析 BGM/SFX/图片。首先运行 --adopt 注册现有资源。请参阅 /media-use 技能。当宿主应用提供了自己的音乐或音效工具时,请使用它们来处理音乐和音效。

无人解说解释器 → HyperFrames

使用此技能将一段文本转化为解释性视频:选择一套设计系统,规划一个教学故事,并在 HyperFrames 中逐帧构建。无人解说意味着所有视觉内容都在下游生成——没有捕获步骤,也没有真实的资产清单。

入口是 /hyperframes。 您是编排者。按顺序执行每个步骤,验证其门控,然后才继续。此技能用于从文本解释一个主题,没有需要捕获的产品或网站。任何其他意图、一个简单的“制作视频”、或任何不确定性 → 首先阅读 /hyperframes——意图层拥有所有路由决策,一个新创建的请求如果没有 BRIEF.md 而到达此处,也会通过它(设置的开场规则)。

您是编排者。在 videos/<项目>/ 目录下工作。按顺序执行步骤并在继续前通过每个门控。用户门控的步骤是步骤 0、步骤 3 和步骤 6。在步骤 0 之前阅读 ../hyperframes/references/brief-contract.md——它定义了门控类型以及 BRIEF.md 的 flow/storyboard 如何推导出控制步骤 3/4/6 门控的模式。除步骤 5 外,其他所有步骤都由您自己完成。步骤 5 中,您为每一帧分派一个子代理。不要在此处放置设计或运动规则;这些规则位于帧工人子代理、此技能的本地 ../hyperframes-animation/rules/ + ../hyperframes-animation/blueprints/ 以及 hyperframes-creative 中。

工作流:步骤 0 设置 → hyperframes.json;步骤 1 简报 → capture/extracted/;步骤 2 设计系统 → frame.md;步骤 3 故事板/脚本 → STORYBOARD.md 和 SCRIPT.md;步骤 3.1 音频 → audio_meta.json;步骤 4 视觉设计 → 增强后的 STORYBOARD.md;步骤 5 帧 → compositions/frames/NN-*.html 和 index.html;步骤 6 最终渲染 → renders/video.mp4。


步骤 0:设置

目标:带着已确认的简报进入,创建 HyperFrames 项目,并使简报持久化。

简报由意图层确认,而非此处所问的问题。 开场规则,按顺序:(1) BRIEF.md 存在 → 读取它,不提问任何问题——简报已确定,其 flow/storyboard 推导出模式(简报合同 § 1)。(2) 没有 BRIEF.md 但项目存在(磁盘上有 hyperframes.json / STORYBOARD.md)→ 从故事板的前置元数据和已记录的偏好继续;绝不重新审问一个半成品项目。(3) 两者都没有——一个直接到达此处的新创建请求 → 阅读 /hyperframes 并运行其意图层(references/intent-interview.md):它会检查配方和已记忆的默认值,进行此路由的问题询问(../hyperframes/references/routes/faceless-explainer.md),并返回锁定后的简报。编辑请求跳过所有这些——直接执行编辑。

仅当 hyperframes.json 缺失时才初始化。根据主题以 kebab-case 格式命名 <项目>,例如 compound-interest-explained;绝不使用工作区名称或时间戳。

npx hyperframes init "videos/<项目>" --non-interactive --example=blank --skill=faceless-explainer——init 会检查已安装的技能与 GitHub 上最新版本的对比,并更新任何过时的全局技能集。

初始化后,让 <PROJECT_ROOT> 为 videos/<项目>,并以该目录作为工作目录运行每条后续的相对路径命令。在以下命令中,. 表示 <PROJECT_ROOT>;绝不将 .media、capture 或输出文件写入调用者目录。

在 init 之后立即编写 BRIEF.md(绝不在之前——init 会拒绝非空目录):意图层锁定的简报,格式见 ../hyperframes/references/brief-format.md。将 <MEDIA_DIR> 解析为已安装的 /media-use 技能目录。然后使用 node <MEDIA_DIR>/scripts/prefs.mjs record --hyperframes . 记录每个偏好支持的答案(brief-format.md 列出了子集)。如果意图层采用了某个配方,则运行 node <MEDIA_DIR>/scripts/recipe.mjs use --hyperframes . --name <名称>;它会将它的 frame.md 复制到项目中(步骤 2 被跳过)并返回步骤 3 起草所依据的骨架。配方填充的是答案,而非审批;审查门控仍然运行。

在继续 Setup 之前显示登录状态——运行 npx hyperframes auth status 并逐字输出其内容。它会报告语音/BGM 将使用 HeyGen 还是本地引擎,以及当未登录时如何登录。应用以下分支之一:

  • 协作模式: 等待用户登录或明确选择 offline / go。
  • 自主模式: 陈述状态并通过可用的本地引擎继续。

当没有离线提供商时,不要静默地省略必需的功能;指出阻塞点。不要将此决策合并到另一个问题中,也不要将密钥写入每个仓库的 .env 文件中。认证所有权和离线回退:/media-use references/setup-providers.md § 提供商。

门控: hyperframes.json 和 BRIEF.md 存在;偏好支持的答案已记录(简报合同 § 2);登录状态已显示(已登录,或继续离线)。


步骤 1:简报(无捕获)

目标:将用户的文本作为信息源纳入项目。没有网站捕获,没有真实资产——这是无人解说解释器。

逐字保存用户的完整输入,然后手动创建合成捕获包:

  • capture/extracted/visible-text.txt——完整文章/笔记/主题/简报,逐字复制。这是信息的来源,而非故事模板(步骤 3 会重新塑造它)。
  • capture/extracted/tokens.json——{ "title": "", "description": "", "colors": [], "fonts": [] }。从简报中填写 title/description。除非用户明确给出了品牌颜色或字体,否则将 colors/fonts 留空——如果用户给出了,则添加它们(无论如何,设计预设都会提供一个完整的调色板)。

如果用户粘贴了一个脚本或希望保留其措辞,则将其逐字保存为 user_script.txt;VO_MODE(逐字或重组)来自 BRIEF.md——意图层在脚本到达时会询问。仅当简报中缺少此信息时才在此处询问一次,并将答案存储以供步骤 3 使用。

不要**运行 npx hyperframes capture(没有 URL)。不要创建 asset-descriptions.md 或填充 capture/assets/——无人解说的视觉内容是在步骤 4-5 中创作的,而非捕获的。唯一的例外是:如果用户提供了真实图片,则将其放在 public/<basename> 下,并在步骤 3 中注明。

门控: capture/extracted/visible-text.txt 和 capture/extracted/tokens.json 存在;您可以用一句清晰的话陈述解释器的主题和受众。


步骤 2:设计系统

目标:选择一个已提供的帧预设;一个脚本会将其转化为此视频的 frame.md + 字幕皮肤。

当 BRIEF.md 指定了 style_preset——用户在意图层通过展示样本选中了它——则使用它;只有在简报未指定时,判断才由您做出。然后您做出那个关键决定——选择哪个预设:阅读 ../hyperframes-creative/references/design-spec.md 并浏览 ../hyperframes-creative/frame-presets/;选择视觉效果最能匹配主题、语气和受众的预设。然后运行:

node <SKILL_DIR>/scripts/build-frame.mjs --preset <名称> --hyperframes .

该脚本将确定性地完成其余工作:复制预设的 FRAME.md → frame.md 并重新混合到 capture/extracted/tokens.json 中的任何品牌代币上(品牌颜色根据角色映射到预设的颜色键上;预设的显示+正文字体替换为品牌的字体),复制预设的字幕皮肤到 .hyperframes/caption-skin.html,并进行自我验证(映射出错时退出码为 1)。一旦退出码为 0,即可继续——无需手动编辑规范。

无人解说解释器通常没有品牌颜色/字体(tokens.json 中的颜色/字体为空)→ 该脚本会保留预设自己的调色板,这是一个完整可用的设计。仅当用户命名了品牌颜色/字体时,才在运行前将它们添加到 tokens.json 中,并且仅当映射确实需要时才手动调整 frame.md。

门控: build-frame.mjs 退出码为 0——frame.md 来自一个已命名的预设,并且(当预设提供时).hyperframes/caption-skin.html 作为字幕皮肤源存在;所选预设已记录为偏好(--key style_preset --workflow <此工作流>,简报合同 § 2)。


步骤 3:故事板和脚本

目标:将文本转化为一个经批准的逐帧教学计划。

阅读 ../hyperframes-creative/references/story-spine.md(钩子语言、价值优先于证据、故事板作为提案、可追溯来源的视觉)、references/story-design.md、../hyperframes-animation/blueprints-index.md、../hyperframes/references/storyboard-format.md 和 ../hyperframes/references/script-format.md。使用它们编写 STORYBOARD.md,并在需要画外音时编写 SCRIPT.md。从前置元数据中设置 duration:,其值来自简报的 length——这是一个粗略的预期;组装会报告最终剪辑与它的对比结果。

使用 story-design.md 获取解释器的结构(概念/操作指南/清单体/故事)、钩子策略、清晰度技巧、情感节拍、类型枚举映射以及 VO_MODE。视频的顺序来自叙事设计,而非输入文本的段落顺序——可以重新排序、合并、省略、压缩。作为软性指导,参考 ../hyperframes-animation/blueprints-index.md 中的角色→蓝图菜单:对于每个节拍,按照其候选蓝图所暗示的形状编写画外音,并在合适时标记该候选蓝图的 blueprint: ID。教学的真实性仍然决定哪些节拍存在——绝不为了适应蓝图而强行加入一个节拍,也绝不因为某个经过验证的形状可用就发明一个节拍。无人解说的视觉内容在下游生成,因此帧不**包含资产清单:除非用户提供了真实的 public/<basename> 图片,否则将 asset_candidates 留空。使用故事板和脚本参考中精确要求的字段。

起草完成后,运行审查循环的计划通过——../hyperframes/references/review-loop.md § 1:将计划作为提案呈现,并询问两个问题——批准或修改,以及是否先看草图(推荐)或跳过。反馈以聊天回复的形式到来;循环直到获得批准。这是一个检查点门控(简报合同 § 1):在自主模式下无需询问——将相同的摘要作为提示发布并继续;草图合并到构建中,最终的预览及其一个问题将在步骤 6 出现。

门控: STORYBOARD.md 存在,每个帧都包含必需的叙事字段,需要画外音时 SCRIPT.md 存在,并且用户批准了逐帧计划(自主模式:摘要已作为提示发布)。


步骤 3.1:音频

目标:根据批准的脚本生成画外音、单词时间码、音乐和音频元数据。

在步骤 3 批准后开始音频处理。在后台运行它,然后继续到步骤 4。(登录状态已在步骤 0 中显示;引擎会自动回退。)

在调用之前,根据用户的要求选择画外音语音。 如果请求指定了语音、性别或语气,请选择一个匹配的语音 ID 并通过 --voice <id> 传递它。否则,管道的默认值是 HeyGen 上的 Marcia(女性) / Kokoro 上的 am_michael——因此像“男声”这样的请求会被静默忽略,除非您传递了该标志。语音 ID 是特定于提供商的;根据步骤 0 的登录状态选择的提供商进行解析:HeyGen(已登录)通过 node <MEDIA_DIR>/audio/scripts/heygen-tts.mjs --list(或 GET /v3/voices?engine=starfish);Kokoro(离线)通过 <MEDIA_DIR>/audio/references/tts.md 中的语音表(前缀 am_/bm_ 为男声,af_/bf_ 为女声)。当用户未表达偏好时,在管道默认值之前回退到已记忆的语音(简报合同 § 2),并说明您使用了哪一个;仅当两者都未指定时,才省略 --voice。当用户在此次运行中明确选择了语音时,记录它(prefs.mjs record --key voice)。

node <SKILL_DIR>/scripts/audio.mjs --script ./SCRIPT.md --storyboard ./STORYBOARD.md --hyperframes . --out ./audio_meta.json --voice <语音-id> &

音频脚本处理画外音、单词时间码、从 HeyGen 音乐库中查找 BGM 以及时间元数据。BGM 情绪来自故事板的 music: 字段。这使用了 HeyGen 音频 API 进行检索(而非生成),并使用与 TTS 相同的 ~/.heygen 凭据。有关提供商详细信息,请阅读 ../media-use/audio/references/tts.md。当宿主应用自己的工具制作了音乐或音效时,将该文件放在 assets/ 下,并在 audio_meta.json 文件中将其标记为 "source": "host":音乐作为 bgm { "path": "assets/…", "source": "host" },并在故事板中设置 music: none;音效作为 sfx 条目 { "frame": <编号>, "file": "assets/…", "offset_s": 0, "duration_s": <其长度>, "source": "host" }。每次音频处理都会保留这些内容,并且包含宿主音效的帧将不会有已查找的提示。

如果没有画外音且没有 SCRIPT.md,则跳过语音生成。如果故事板中有音乐情绪,BGM 仍可能运行。

规范的全静音标记(在重用此音频模型的工作流之间共享):STORYBOARD.md 顶部 YAML 块中的 music: none,没有 SCRIPT.md,且没有 sfx: 提示或宿主音频。该组合将项目标记为静音——

...

[已截断,因内容过长]

Individual skills in this repo

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

Alemoterani/auto-edit-hyperframes

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Alemoterani/auto-edit-hyperframes

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Alemoterani/auto-edit-hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Alemoterani/auto-edit-hyperframes

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Alemoterani/auto-edit-hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Alemoterani/auto-edit-hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Alemoterani/auto-edit-hyperframes

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

Alemoterani/auto-edit-hyperframes

A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.

Alemoterani/auto-edit-hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

Alemoterani/auto-edit-hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

Alemoterani/auto-edit-hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

Alemoterani/auto-edit-hyperframes

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

Alemoterani/auto-edit-hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

Alemoterani/auto-edit-hyperframes

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Alemoterani/auto-edit-hyperframes

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

Alemoterani/auto-edit-hyperframes

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

Alemoterani/auto-edit-hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

Alemoterani/auto-edit-hyperframes

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

Alemoterani/auto-edit-hyperframes

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, clean, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

Alemoterani/auto-edit-hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

相关技能