Communitygithub.com

assafkip/claude-video-editor

透過對話編輯任何影片——整合式影片管線的編排器。當使用者想要編輯、剪輯、加字幕、調色或為素材添加動態圖形時使用;放入素材資料夾並說「幫我剪輯」;或要求製作宣傳片/預告片/教學影片/短影音。路由至 video-use(剪輯引擎)和 HyperFrames(動態圖形疊加層),並附帶 motion-craft 品味函式庫。

claude-video-editor 是什麼?

這是一個名為 video-studio 的 AI 技能,透過一個對話式管線來編輯任何影片。它整合了三層架構:底層是 video-use 剪輯引擎,負責轉錄、封裝、推理、生成編輯決策列表(EDL)、渲染和自我評估;中層是 HyperFrames 動態圖形層,利用 HTML 與 GSAP 組合,透過無頭 Chrome 渲染出帶 Alpha 通道的 .mov 影片;上層則是 motion-craft 品味層,提供腳本、品牌系統與節奏指導。該技能支援 Claude Code、Cursor、Codex 等 AI 代理平台,工作流程包括盤點素材、轉錄封裝、戰略確認、產生 EDL、作者化動態素材、合成輸出,並在每次輸出前進行自我檢查。使用者只需將素材放入資料夾,然後用自然語言描述想做出的影片風格與內容,AI 就會自動完成後續的剪輯、調色、加字幕、動態疊加等操作。

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

在你喜歡的 AI 中提問

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

說明文件

video-studio

一條對話式管線,用於編輯任何影片。三層架構組成;此技能在其間路由。LLM 從不觀看影片——它讀取影片(透過文字稿 + 按需生成的時間軸 PNG),並以字詞邊界的精確度進行剪輯。

此處打包的三層架構

  1. 剪輯引擎 — video-use(skills/video-use/) 轉錄 → 封裝 → 推理 → EDL → 渲染 → 自我評估。負責:填充詞移除、空白段修剪、色彩調校、30ms 音訊淡入淡出、字幕燒錄,以及將疊加圖層合成到剪輯的 render.py 複合。這是每次剪輯的主幹。 請閱讀 skills/video-use/SKILL.md 以了解 12 條生產規則。

  2. 動態圖形層 — HyperFrames(skills/hyperframes/、hyperframes-cli/、hyperframes-registry/、gsap/、website-to-hyperframes/) HTML + GSAP 組合,透過無頭 Chrome 渲染成帶 Alpha 通道的 .mov。用於:下方三分之一字幕、標題卡、呼應標註、音訊反應元素、場景轉場、動態文字。video-use 會產生這些作為疊加圖層並合成。

  3. 品味層 — make-a-video、short-form-video、docs/MOTION_PHILOSOPHY.md 腳本、品牌系統、節奏、動態品味。這裡負責應該如何感受,而非如何渲染。

標準循環

  1. 盤點。 列出資料夾中的來源。不要未經提示就轉錄——等待使用者指向素材並說出他們想要的內容。
  2. 轉錄 + 封裝(video-use):每個來源一次轉錄呼叫 → 一個 takes_packed.md。
  3. 策略 → 確認。 提出剪輯方案(節拍、順序、剪掉哪些部分)。等待許可。未經核准絕不進行剪輯。
  4. EDL。 撰寫剪輯清單(ranges = 來源秒數,overlays = 字幕 .mov 的輸出秒數)。格式請參見 templates/project/。
  5. 動態圖形(HyperFrames,當某個節拍需要時):創作一個合成,每個變體以 --format mov 渲染(Alpha 通道——webm 會變得不透明)。
  6. 合成(video-use):render.py <edl> -o final.mp4 --no-subtitles --no-loudnorm(僅當來源有真實音訊時才移除 --no-loudnorm)。
  7. 自我評估 → 持久化。 引擎在你展示任何內容之前檢查每個剪輯邊界。會話記憶儲存在專案的 project.md 中。

硬性規則(不可協商;品味自由)

  • 字幕以 --format mov 渲染(ProRes 4444 yuva)。webm = 不透明,無 Alpha 通道。
  • 靜音來源在 render.py 之前需要一個立體聲靜音軌道(其音訊路徑期望一個立體聲靜音軌道)並加上 --no-loudnorm。
  • 速度變化是以 setpts 預渲染的片段,作為獨立的 EDL 來源引用。不支援原生 EDL 速度。
  • 輸出存於 <videos>/edit/——保持技能目錄整潔。

設定

執行 ./install.sh 一次(檢查 ffmpeg/node/chrome,設定 video-use 的虛擬環境,連結技能,提示輸入 ElevenLabs 金鑰)。然後 cd 到素材資料夾並開始一個會話。請參閱儲存庫的 README.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

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.

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

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.

相關技能