Communitygithub.com

DansiDanutz/Video-Editor

Agent Media OS,HyperFrames 專案中所有媒體需求的單一技能。透過一個動詞 `resolve` 來解析 BGM、SFX、圖片、圖示、品牌標誌、語音、色彩分級或 LUT,並將其存為凍結的本地檔案或可直接貼上的區塊,同時記錄在帳本中;當目錄中找不到時,可透過 TTS/音樂/圖片模型進行生成;透過共享的音訊引擎製作旁白、轉錄、字幕和去背;對媒體進行操作(剪輯/重新構圖/轉換);並跨專案重複使用素材。也適用於模糊的回饋,例如真實素材看起來太暗、平淡、無聊、應該具有復古/攝錄影機/印刷/ASCII 風格、需要隱私,或需要媒體揭露效果。

Video-Editor 是什麼?

這是一個專為 HyperFrames 框架設計的全面性媒體作業系統技能,整合了媒體解析、生成、操作與記憶功能。其核心是一個名為 `resolve` 的統一動詞,可處理背景音樂 (BGM)、音效 (SFX)、圖片、圖示、品牌標誌、TTS 語音、色彩分級 (LUT) 等多種媒體類型,並將其結果儲存為本地檔案或可貼上的程式碼片段,同時記錄在專案的帳本中。當內建目錄沒有符合的素材時,它能透過 HeyGen 等外部服務或本地模型(如 Kokoro TTS)即時生成所需內容。此外,它也提供強大的媒體後製功能,包括旁白生成、字幕、去背、以及基於 AI 的影像處理(如剪輯、重新構圖、色彩校正與風格化)。此技能支援 Claude Code、Cline、Cursor 等 AI 編碼代理,並設計為通過 CLI 命令(如 `npx hyperframes media-use resolve`)與參考文件(位於 `references/` 目錄下)進行互動,能有效減少 AI 代理的上下文噪音,提升工作效率。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DansiDanutz/Video-Editor/tree/HEAD/.claude/skills/media-use

在你喜歡的 AI 中提問

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

說明文件

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

media-use

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

首次執行:安裝並登入 heygen CLI(免費使用路徑),然後使用 npx hyperframes media-use resolve --doctor 進行驗證。設定與提供者:請參考 references/setup-providers.md。

Resolve — 單一動詞

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

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

類型一行意圖描述
bgm背景音樂(HeyGen 目錄,超過 10,000 首曲目)
sfx音效(內含 19 個檔案庫 + 目錄)
image照片、背景(HeyGen 素材搜尋,超過 75,000 個向量)
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 13 individual skills — each has its own dedicated page.

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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

DansiDanutz/Video-Editor

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

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

Use when building or editing a HyperFrames project that people open in Studio: 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`.

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

Divide a finished story/script into filmable scenes with per-scene image and animation prompts. Use when building a scene outline or shot list, deciding scene boundaries, durations, or what each visual must show.

DansiDanutz/Video-Editor

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

相關技能