Communitygithub.com

Alemoterani/auto-edit-hyperframes

將任意文字(文章、筆記、主題、簡報)轉換成無臉解說影片:無需網站或實際素材,視覺效果依場景虛構(字體排版、抽象圖形、圖表、數據視覺化)。適用於主題解說、概念拆解、教學指南、條列式文章。非從網站建立的影片(/product-launch-video — 宣傳或導覽)。不明確 → /hyperframes。

auto-edit-hyperframes 是什麼?

此技能(Alemoterani/auto-edit-hyperframes)專為 HyperFrames 平台設計,用於從純文字內容建立「無臉解說影片」。無臉意味著所有視覺元素(如排版、抽象圖形、圖表與數據視覺化)皆為後續創作,無需擷取任何網站或真實資產。此技能支援主題解說、概念拆解、教學指南與條列式文章等影片類型,特別適合沒有現成產品或網站的場景。它透過一套結構化的工作流程運作:設定專案、建立簡報、選擇設計系統、規劃故事腳本、生成音訊、創作視覺設計、組合影格,最終產出影片。此技能整合了 HeyGen 等提供商的語音與音樂生成工具,並透過 `BRIEF.md` 檔案管理專案設定與偏好。

相容平台~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。如果一切已是最新,則快速無操作;否則會更新此技能及其依賴的 core domain skills,然後再使用。

media-use:在取得音訊/圖片/標誌前,請先呼叫 /media-use 來從 HeyGen 目錄解析 BGM/SFX/圖片,以及從官方來源解析品牌標誌。先執行 --adopt 以註冊現有資產。請參閱 /media-use 技能。當主機應用程式提供自己的音樂或音效工具時,請使用那些工具來處理音樂和音效。

無臉解說 → HyperFrames

使用此技能將一段文字轉換成解說影片:選擇設計系統、規劃教學故事、並在 HyperFrames 中逐幀建構。無臉 表示每個視覺內容都是後續虛構的 — 沒有擷取步驟,也沒有真實資產庫存。

入口是 /hyperframes。您是協調者。依序執行每個步驟,驗證其關卡,然後再繼續。此技能適用於 從文字解說主題,且沒有產品或網站需要擷取。任何其他意圖、單純的「製作影片」、或不確定 → 先閱讀 /hyperframes — 意圖層擁有所有路由決策,且一個新創作如果直接到達此處而沒有 BRIEF.md,仍會透過它進行(Setup 的開放規則)。

您是協調者。在 videos/<project>/ 目錄下工作。依序執行步驟,並在繼續前通過每個關卡。使用者關卡為步驟 0、步驟 3 和步驟 6。在步驟 0 前閱讀 ../hyperframes/references/brief-contract.md — 它定義了關卡類型,以及 BRIEF.md 的 flow/storyboard 如何推導出支配步驟 3/4/6 關卡的模式。除了步驟 5 您需要為每幀分派一個子代理外,所有步驟都自行執行。請勿在此處放置設計或動畫規則;這些規則位於 frame-worker sub-agent、此技能的本機 ../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 推導出模式(brief contract § 1)。 (2) 沒有 BRIEF.md 但專案存在(磁碟上有 hyperframes.json / STORYBOARD.md) → 從故事腳本的 frontmatter 和記錄的偏好繼續;絕不重新詢問一個已部分建構的專案。 (3) 兩者都沒有 — 一個直接到達此處的全新建作請求 → 讀取 /hyperframes 並執行其意圖層(references/intent-interview.md):它檢查 recipe 和記住的預設值、執行此路由的提問(../hyperframes/references/routes/faceless-explainer.md)、並回傳鎖定的簡報。編輯請求則跳過這一切 — 直接進行編輯。

僅在 hyperframes.json 缺少時才初始化。從主題以 kebab-case 命名 <project>,例如 compound-interest-explained;絕不使用工作區名稱或時間戳。

npx hyperframes init "videos/<project>" --non-interactive --example=blank --skill=faceless-explainer — init 會檢查已安裝的技能與 GitHub 上的最新版本是否一致,並更新任何過時的全局技能。

初始化後,令 <PROJECT_ROOT> 為 videos/<project>,並將每個後續的相對路徑命令以此目錄作為工作目錄來執行。在下方命令中,. 表示 <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 指定了子集)。如果意圖層採用了 recipe,請執行 node <MEDIA_DIR>/scripts/recipe.mjs use --hyperframes . --name <name>;它會將其 frame.md 複製到專案中(步驟 2 將被跳過)並回傳步驟 3 草稿將基於的骨架。Recipe 填寫答案,而非批准;審查關卡仍然會執行。

在繼續進行 Setup 之前顯示登入狀態 — 執行 npx hyperframes auth status 並逐字轉達其輸出。它會報告語音/BGM 將使用 HeyGen 還是本地引擎,以及當未登入時如何登入。套用一個分支:

  • 協作: 等待使用者登入或明確選擇 offline / go。
  • 自主: 陳述狀態並繼續使用可用的本地引擎。

當沒有離線提供者存在時,不要默默忽略一個必要功能;請顯示障礙。不要將此決策摺疊到另一個問題中,或將金鑰寫入每個儲存庫的 .env。所有權和離線備援:/media-use references/setup-providers.md § Providers。

關卡: hyperframes.json 和 BRIEF.md 存在;基於偏好的答案已記錄(brief contract § 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 <name> --hyperframes .

腳本會自動完成其餘部分:將預設的 FRAME.md 複製為 frame.md,並根據 capture/extracted/tokens.json 中的任何品牌代碼進行 重新混音(品牌顏色按角色映射到預設的顏色鍵;預設的顯示字體 + 正文字體替換為品牌的),將預設的字幕外觀複製到 .hyperframes/caption-skin.html,並自我驗證(映射錯誤時退出 1)。一旦它輸出 0,即可繼續 — 無需手動編輯規格。

無臉解說通常 沒有品牌顏色/字體(tokens.json 中的 colors/fonts 為空)→ 腳本保留預設本身的調色盤,這是一個完整的可出貨設計。僅當使用者指定了品牌顏色/字體時,才將其添加到 tokens.json,然後執行;僅在映射確實需要時才手動調整 frame.md。

關卡: build-frame.mjs 輸出 0 — frame.md 從命名的預設存在,且(當預設附帶一個時).hyperframes/caption-skin.html 作為字幕外觀來源存在;所選預設已記錄為偏好(--key style_preset --workflow <this workflow>,brief contract § 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。從簡報的 length 設定 frontmatter duration: — 這是一個粗略的期望;組合時會報告最終長度與此期望的差距。

使用 story-design.md 來決定解說結構(概念 / 如何做 / 條列式 / 故事)、鉤子策略、清晰度技巧、情感節奏、類型列舉映射和 VO_MODE。影片的順序來自 敘事設計,而非輸入文字的段落順序 — 可以重新排序、合併、省略、壓縮。作為一個 軟性指引,查閱 ../hyperframes-animation/blueprints-index.md 中的角色→藍圖選單:對於每個節拍,以候選藍圖所暗示的形狀撰寫旁白,並在適合時標記該候選 blueprint: 的 ID。教學真相仍然決定哪些節拍存在 — 永遠不要為了符合藍圖而強加節拍,也永遠不要僅僅因為有一個可用的既定形狀而虛構節拍。無臉視覺內容是後續虛構的,因此影格 不攜帶資產庫存:除非使用者提供了真實的 public/<basename> 圖片,否則將 asset_candidates 留空。使用故事腳本和劇本參考資料中的確切必填欄位。

草擬完成後,執行審查循環的計劃階段 — ../hyperframes/references/review-loop.md § 1:將計劃作為提案呈現,並詢問兩個問題 — 批准或更改,以及 是否先進行草稿(建議)或跳過。回饋以聊天回覆形式到達;循環直到獲得批准。這是一個 檢查點關卡(brief contract § 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_ 為女性)。當使用者未表達偏好時,在管線預設之前回退到記住的語音(brief contract § 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 <voice-id> &

音訊腳本處理旁白、字詞時間標記、從 HeyGen 的音樂庫查詢 BGM、以及時間元數據。BGM 情緒來自故事腳本的 music: 欄位。這使用 HeyGen Audio API 進行檢索(而非生成),並使用與 TTS 相同的 ~/.heygen 憑證。有關提供者的詳細資訊,請閱讀 ../media-use/audio/references/tts.md。當主機應用程式自己的工具製作音樂或音效時,請將檔案放在 assets/ 下,並在 audio_meta.json 檔案中列出它,標記為 "source": "host":音樂作為 bgm { "path": "assets/…", "source": "host" } 並在故事腳本中設定 music: none;音效作為 sfx 條目 { "frame": <n>, "file": "assets/…", "offset_s": 0, "duration_s": <its length>, "source": "host" }。每次音訊處理都會保留這些項目,而帶有主機音效的影格將不會有查詢到的提示。

如果沒有旁白且沒有 SCRIPT.md,則跳過語音生成。如果故事腳本有音樂情緒,BGM 仍可能執行。

規範的完全靜音標記(在重用此音訊模型的工作流程之間共享):STORYBOARD.md 頂層 YAML 區塊中的 music: none、沒有 SCRIPT.md、且 沒有 sfx: 提示或主機音訊。此組合標記專案為靜音 — n

…

[已截斷以利翻譯]

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.

相關技能