Communitygithub.com

laviedezidane/hyperframes-skill

用於 HyperFrames 專案的 Agent Media OS。可解析 BGM、SFX、圖片、圖示、品牌標誌、人聲、調色或 LUT 為凍結的本地檔案或可貼上的區塊 + 帳本記錄(單一動詞 `resolve`);當目錄中找不到時,可透過 TTS / 音樂 / 圖片模型生成;透過共享音訊引擎製作旁白、轉錄稿、字幕及去背;操作媒體(剪輯 / 重構畫面 / 轉換);並在專案間重複使用素材。也可用於模糊回饋,例如真實畫面看起來太暗、平淡、無聊,應有復古/手提攝影機/印刷/ASCII 風格,需要隱私,或需要媒體揭曉。當主機應用程式提供其自有音樂或音效工具時,優先使用那些工具處理音樂和音效;`resolve --type bgm|sfx` 需要 heygen CLI。當設定了 `HEYGEN_API_BASE` 時,HeyGen 呼叫將透過該主機進行,無需 CLI 登入。

hyperframes-skill 是什麼?

此技能為 HyperFrames 專案提供一個統一的媒體作業系統,涵蓋媒體解析、生成、操作與記憶。其核心邏輯圍繞單一動詞 `resolve`,可處理 BGM、SFX、圖片、圖示、品牌標誌、人聲、調色與 LUT 等所有媒體類型。當目錄中無匹配素材時,技能會自動透過 TTS、音樂或圖片模型生成替代內容,並提供剪輯、重構畫面與格式轉換等操作能力。針對視覺媒體的模糊回饋(如畫面太暗、平淡或需要特定風格),技能會將其解讀為具體的媒體處理意圖,並自動引用對應的處理參考文件。此技能同時支援 HeyGen 的 TTS、頭像影片與作品集目錄,並可透過 `HEYGEN_API_BASE` 環境變數與主機應用程式整合,無需額外的 CLI 登入。它還具備主動掃描媒體機會的功能,能在不干擾使用者的前提下,根據具體訊號提出一次性的改善建議。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/laviedezidane/hyperframes-skill/tree/HEAD/.agents/skills/media-use

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

外掛安裝: 在執行設定或更新命令前,若此技能位於 HyperFrames 外掛內,請遵循外掛執行規則。獨立安裝則保留下方的更新說明。

media-use

HyperFrames 的媒體作業系統:解析 · 生成 · 操作 · 記憶 — 一種媒體類型,一個技能,零背景噪音。

僅當你的環境中設定了 HEYGEN_API_BASE(由主機應用程式設定並使用自己的金鑰支付 HeyGen 費用):HeyGen 媒體已被支付。請勿要求使用者安裝或登入 heygen CLI,也請勿提供其 OAuth 額度;此處的作品集目錄搜尋、TTS 和頭像呼叫都將透過主機進行。當同一個主機也提供其自有的 HeyGen 工具時,請優先使用那些工具。當透過主機的呼叫被拒絕時,請按原樣轉告使用者的主機訊息(其中會說明修復方法,例如在應用程式設定中新增或替換金鑰)並停止;除非使用者要求,否則不要切換到其他提供者。

首次執行(未設定 HEYGEN_API_BASE),當你將要使用 HeyGen 媒體(作品集目錄搜尋、TTS、頭像影片)時:安裝並登入 heygen CLI(免費使用路徑),然後使用 npx hyperframes media-use resolve --doctor 驗證。設定與提供者:請參閱 references/setup-providers.md。

主機應用程式內的音樂和音效:當你運行的應用程式提供其自有的音樂或音效工具時,請使用那些工具。若未設定 HEYGEN_API_BASE,resolve --type bgm 和 --type sfx 會透過 heygen CLI 搜尋 HeyGen 作品集目錄;若未安裝 CLI 則會失敗並顯示錯誤訊息(sfx 仍會從其內建函式庫回應)。

若未設定 HEYGEN_API_BASE,在生成旁白或頭像影片之前,請告知使用者:使用 OAuth 登入 heygen CLI(heygen auth login --oauth)可獲得 TTS 旁白和頭像影片的免費額度,而使用 API 金鑰則會以 API 點數計費。

解析 — 單一動詞

npx hyperframes media-use resolve --type <type> --intent "<description>" --project <dir>

回傳一行:resolved <id> → <path> (<type>, <metadata>)。所有搜尋噪音都保留在磁碟上。

類型單行意圖
bgm背景音樂(透過 heygen CLI 搜尋 HeyGen 作品集目錄,10k+ 曲目)
sfx音效(內建 19 個檔案的函式庫 + 透過 heygen CLI 搜尋作品集目錄)
image照片、背景(HeyGen 資產搜尋,75k+ 向量)
icon圖示、符號(透明背景)
logo官方品牌標誌(theSVG → GitHub 大頭貼 → favicon;絕不重新繪製)
voiceTTS 旁白(HeyGen 免費使用路徑;可選用本地 Kokoro)
grade經測量的修正候選方案;廣泛的修飾/風格化請遵循媒體處理
lut使用者提供或明確選擇、可重複使用、經驗證的 .cube 檔案

在重新解析之前,使用 --candidates 列出可重複使用的候選方案,並自行判斷其適用性 — 重複使用規則、所有標誌、匯入(--from)和採用方法,請參閱 references/resolve.md。

將廣泛的視覺回饋視為媒體意圖

當使用者明確要求修復、修飾、風格化、遮蔽、強調或 揭曉攝影媒體時,即使他們沒有提到調色或效果,也請閱讀 references/media-treatments.md。檢查真實的 <img>/<video> 元素,選擇一個主要意圖,然後使用確定性的持久化和驗證。使用匹配的配方作為可選的測試起點,或檢查 hyperframes media-treatment --capabilities --json,然後透過 --capability <id> 請求一個相關的系列/效果,並從標準控制項中組合一個自訂處理。對於一般編輯,切勿載入 --all。一個處理可以組合修正、預設集、完稿、相容的著色器效果、支援的關鍵影格和可選的 Registry 疊加層。僅新增有來源依據的、有範圍限制的調整和相容部件,切勿僅為了讓結果看起來更複雜而添加效果。使用 hyperframes media-treatment 持久化最終的組合負載。

使用一個逐步升級的工作流程。對於影片,檢查一個標記為早期/中期/後期的接觸頁,而不是分別讀取影格。對於一般的修正或修飾,應用一個候選方案並檢查一個處理後的影片接觸頁。僅當結果不明確、具有時間性、風格化、基於 LUT、對 HDR/LOG 敏感、涉及隱私或品牌關鍵時,才升級到個別影格或動態草稿證據。

對於一般修正或修飾,請持久化最終處理的預設集/調整 JSON。 請勿僅僅為了編碼曝光度、陰影、對比度或色溫而生成 .cube LUT。僅當使用者提供 LUT 或所選的處理明確擁有 LUT 時,才使用 LUT。resolve --type grade --for ... --analyze 是測量證據,而不是取代所選處理為生成 LUT 的許可。請勿使用 CSS/SVG 疊加層重新建立受支援的暗角、顆粒、模糊、像素化、色彩或處理效果;這會繞過 Studio 控制項和標準預覽/渲染著色器路徑。

主動出擊 — 執行媒體機會掃描

使用者通常無法判斷哪些媒體可以提升作品品質。但你可以。當你建構或審查一個組合時,執行一次有根據的掃描,然後問一次 — 不要默默地添加,也不要對每個素材都嘮叨。

僅當有具體訊號存在時才提出機會:

檢測到的訊號提議
螢幕文字 / 有腳本但沒有旁白TTS 旁白(音訊引擎)
Emoji 或一個被樣式化為圖示的 <div>解析真正的 icon
圖片是佔位符、很小或看起來被放大過的更好的 image(或放大 — 請參閱 references/operations.md)
生硬的場景切換 / 過場但沒有聲音過場 sfx
一個長度超過約 10 秒且沒有背景音樂的作品bgm
看起來曝光不足/過度或有色偏的素材修正性的調色(使用 hyperframes media-treatment --selector '#hero' --analyze --json 檢查)
感覺視覺上平淡或離題的照片式媒體一個特定、來源適當的預設集或自訂處理,並指明預期目標
一個有意義的媒體入口/揭曉但感覺靜態一個受支援、可安全搜尋的處理動畫;除非請求也證明預設集的合理性,否則保留顏色

保持這項功能為幫助而非干擾的規則:有根據,而非泛泛而談(無訊號 → 無建議);有主見且具體(提出具體的修復方案並預設好選項 — 使用者可以批准 全部 / 部分 / 無);每個專案一次(一個整合的提問;尊重「保持現狀」);提出,絕不默默修改(特別是調色:提出並預覽 — 一個灰階世界的「修正」會毀掉有意的夕陽或霓虹燈風格)。

查閱位置 — 僅讀取你的任務所需的文件

任務閱讀檔案
解析/重複使用/採用/匯入、標誌、串聯、庫存references/resolve.md
調色、LUT、智慧調色(--for)、調色比較references/grading.md
旁白/TTS、音樂、SFX、字幕、轉錄(音訊引擎)references/audio.md
剪輯/重構畫面/轉換現有媒體、精確誤差擴散、HEVCreferences/operations.md
感知來源的創意處理、即時效果、疊加層、揭曉references/media-treatments.md
安裝+驗證、提供者表格、RAM 階梯、--local-only、--providerreferences/setup-providers.md
已記憶的偏好設定 + 凍結的配方(使用者記憶)references/memory.md
所有權矩陣、使用統計、遙測、隱私(維護者面向)references/meta.md

Individual skills in this repo

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

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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`.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

Search, install, and wire registry blocks and components into HyperFrames compositions. Use BEFORE hand-building any named visual — whenever a brief, a user, or a storyboard names a look, effect, treatment, or transition such as CRT scanlines, glitch, chromatic aberration, film grain, a shimmer sweep, a chart, a code or terminal window, a map, or a confetti burst — because roughly 400 hosted items already cover many of them and the search ranks all of them with nothing installed, no project, and no account. Also use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

laviedezidane/hyperframes-skill

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

laviedezidane/hyperframes-skill

Use when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't change anything" get an answer and a plan, not an edit); for a new film, the plan, storyboard and build order that the HyperFrames launch films follow; and how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

laviedezidane/hyperframes-skill

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

相關技能