Communitygithub.com

oliverhees/hermes-motion-pack

從真實影片片段、AI 生成片段或純程式碼自動剪輯出電影級精華影片、預告片/預告與活動回顧,包含節奏同步剪輯、速度變化、電影調色、動態標題、特效疊層與資料疊層。

hermes-motion-pack 是什麼?

此技能專為需要快速產出高品質視覺敘事內容的開發者與 AI 代理而設計。它提供三種工作模式:footage(使用真實錄製的 mp-footage 片段)、genclip(使用 mp-genclip 生成的 AI 片段)以及 code(完全以 mp-build 場景繪製,無需實際片段)。流程從音樂分析開始,透過 beats.py 腳本提取節奏網格與能量曲線,接著自動將精選鏡頭安排在節拍上,形成具備「冷開場 → 鋪陳 → 高潮 → 呼吸 → 結尾」弧線的編輯計劃 (EDIT.json)。基礎剪輯由 assemble_edit.py 執行,支援 9:16 裁剪、速度變化與電影調色(如 teal-amber、漂白效果、底片顆粒與黑邊)。所有字卡、閃光特效、光漏疊層、資料計數器與動態標題則在 HyperFrames 中合成,並確保字卡落在強拍上。最後透過 mp-audio 完成混音,並以 mp-critique 驗證剪輯點是否精準對拍。此技能支援 Claude Code、Codex 與 Cursor 等平台,適合「精華影片」、「電影級」、「預告片」、「回顧」、「Aftermovie」、「最佳集錦」、「蒙太奇」以及「對拍剪輯」等用途。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/oliverhees/hermes-motion-pack/tree/HEAD/skills/mp-highlight

在你喜歡的 AI 中提問

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

說明文件

mp-highlight — 電影級剪輯

三種模式,同一流程:

模式基底素材來源
footage使用者片段mp-footage → SHOTLIST.json
genclipAI 片段mp-genclip → SHOTLIST.json
code無片段,全部繪製使用電影級預設(薄霧、粒子、光漏、視差文字)的 mp-build 場景

步驟

  1. 音樂優先。 選取/接收曲目(拍速決定剪輯節奏)。python3 <skill-dir>/scripts/beats.py audio/music.mp3 --out audio/beats.json → 節奏網格、強拍、能量曲線、高潮點。無曲目 → 詢問情緒與 bpm,生成點擊網格,稍後替換。
  2. 編輯計劃 → EDIT.json:將鏡頭表上的鏡頭安排在節拍上(參考 references/edit-grammar.md)。弧線:冷開場(1–2 個慢鏡頭)→ 鋪陳(每 2 拍剪一次)→ 高潮(每拍/半拍剪一次,速度變化)→ 呼吸(一個長鏡頭)→ 結尾(標題/Logo)。以表格方式顯示計劃。
  3. 基礎剪輯:python3 <skill-dir>/scripts/assemble_edit.py EDIT.json --out out/base.mp4 → 裁剪、速度變化、9:16 重新構圖(crop_x)、調色預設、顆粒、黑邊、在節拍上硬切。使用原始檔渲染,不代理。
  4. 在 HyperFrames 中合成疊層: base.mp4 作為底部影片片段;字卡、閃光、光漏、計數器與資料疊層作為上方軌道的場景(參考 references/overlays.md)。字卡落在強拍上。遵循 mp-build 的動畫品質規則。
  5. mp-audio 進行最終混音(音樂 + 剪接點上的 SFX 衝擊音 + 可選語音)。mp-critique 附加檢查:剪接點對拍(高潮段前後),鋪陳/高潮段落無鏡頭超過 4 秒,字卡在 360 像素寬度下可讀。
  6. mp-ship。

EDIT.json

{ "music": "audio/music.mp3", "bpm": 124, "format": {"w":1080,"h":1920,"fps":30},
  "grade": "teal-amber", "grain": 0.08, "letterbox": 0, "transitions": "hard",
  "shots": [
    {"src":"footage/gameplay_01.mp4","in":83.4,"out":85.3,"at":0.0,"speed":0.6,"crop_x":0.5,"note":"冷開場,慢動作"},
    {"src":"footage/vlog_03.mp4","in":412.0,"out":412.97,"at":1.94,"speed":1.0,"crop_x":0.62,"note":"第 2 拍"},
    {"src":"genclips/S07_v2.mp4","in":1.0,"out":1.48,"at":2.90,"speed":1.0,"flash":true,"note":"高潮,半拍"}
  ] }

at = 時間線上的位置(秒,來自 beats.json),speed < 1 = 慢動作(需 ≥ 50 fps 原始檔或影格插值),flash = 剪接點上 2 影格白色閃爍。

規則

  • 每個剪接點都必須在一個拍或半拍上。僅冷開場與呼吸段落可例外。
  • 速度變化 = 同一個鏡頭在其持續時間內從 0.4 加速至 1.6(或反向),放置在一個強拍上。
  • 每 30 秒最多 2 個慢動作鏡頭。每 4 拍最多 1 次閃爍。
  • 調色是全域且微妙的;它統一不同來源的素材。切勿對字卡調色。
  • 每張字卡最多 4 個單詞,放在強拍上,並在下次剪接前淡出。
  • 回顧/資料疊層:數字在鋪陳段落遞增上數,絕不在高潮時出現。

此技能包含的檔案

  • references/edit-grammar.md
  • references/overlays.md
  • scripts/assemble_edit.py
  • scripts/beats.py

Individual skills in this repo

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

oliverhees/hermes-motion-pack

Studio-grade motion graphics and cinematic highlight videos built as code with HyperFrames (HTML + GSAP → MP4) plus ffmpeg edits of real or AI footage. ALWAYS use for any video, spot, reel, teaser, trailer, intro, logo sting, kinetic typography, product film, social clip, highlight/recap/aftermovie/montage, "mach mir ein Video", "Motion Graphics", "Werbespot", "Reel", "Cinematic", "Animation" — even if the user does not say HyperFrames. Interviews the user first, then chains mp-brief → mp-style → mp-storyboard → (mp-footage | mp-genclip) → mp-build / mp-highlight → mp-audio → mp-critique → mp-ship with approval gates.

oliverhees/hermes-motion-pack

Step 5 of motion-pack. Produces the audio layer — voice-over via ElevenLabs (API key only from the ELEVENLABS_API_KEY environment variable), music bed, SFX on hits, sidechain ducking and two-pass loudness normalisation (voice -16 LUFS, music 12 LU under, mix -14 LUFS, true peak -1 dBTP). Use after mp-build, or when the user mentions "Stimme", "Voice-over", "Musik", "Sound", "LUFS", "zu leise", "zu laut", "ElevenLabs".

oliverhees/hermes-motion-pack

Step 1 of motion-pack. Runs a short, tap-friendly interview (max 2 rounds × 3 questions) and writes BRIEF.md for a motion graphics video — goal, audience, hook, format, length, must-show, sources, audio wishes. Use whenever a video is requested and no BRIEF.md exists yet, or the user says "Briefing", "interview me", "was brauchst du von mir".

oliverhees/hermes-motion-pack

Step 4 of motion-pack. Builds the HyperFrames project from STORYBOARD.md and STYLE.md — one HTML scene per beat with GSAP choreography, deterministic timing, real assets, then lint → draft render. Use after mp-storyboard, or when the user says "bau das", "build", "render", "Szene ändern", "HyperFrames", "GSAP", "animiere".

oliverhees/hermes-motion-pack

Step 6 of motion-pack. Makes the agent look at its own render — contact sheet, phone-size sheet, 12-frame strips around fast moments, loop-seam check, determinism check — then scores 8 criteria 1–10 as a harsh motion director, lists the 3 biggest problems with timestamps, and loops back to mp-build until every score is ≥ 8. Use after any render, or when the user says "sieht mid aus", "check das Video", "Kritik", "QC", "warum wirkt das billig".

oliverhees/hermes-motion-pack

Ingests the user's own footage (clips, gameplay, events, vlogs, screen recordings) for a highlight video — makes proxies, detects scene cuts, scores every second by motion, loudness and speech, transcribes, and writes SHOTLIST.json with the best candidate moments. Use when the user hands over video files/folders, says "aus meinem Material", "Footage", "beste Momente", "Highlights rausziehen", "schneid mir das zusammen", or before mp-highlight when real footage is the basis.

oliverhees/hermes-motion-pack

Generates AI video clips (Seedance, Veo, Kling via the kie.ai MCP server) and AI still frames (gpt-image, nano-banana) as the basis for cinematic highlight videos and trailers — shot-by-shot prompts from the storyboard, consistent look via reference frames and seeds, download, registration in SHOTLIST.json. Use when the user has no footage but wants cinematic shots, says "generier mir Clips", "KI-Video", "Seedance", "Veo", "B-Roll erzeugen", or when mp-highlight needs shots that do not exist.

oliverhees/hermes-motion-pack

Step 7 of motion-pack. Final render in every requested format (16:9, 9:16, 1:1, 4:5, GIF/WebM), writes DELIVERY.md (files, specs, loudness, sources, unverified claims, next steps), optionally packages the finished pipeline as a reusable skill so the next video is one sentence. Use when critique is green, or the user says "export", "final", "liefern", "alle Formate", "fertig machen".

oliverhees/hermes-motion-pack

Step 3 of motion-pack. Writes STORYBOARD.md — beats with timestamps, a state list per beat (what is on screen, where, what changes), voice lines, SFX hits and transitions — from BRIEF.md and STYLE.md. Use after mp-style, or when the user asks for "Storyboard", "Beats", "Ablauf", "Szenen", "timing".

oliverhees/hermes-motion-pack

Step 2 of motion-pack. Turns BRIEF.md into STYLE.md — a reference-driven design doc with palette, typography, motion language, sound character and a forbidden list. Offers 8 built-in style presets (clean-product, editorial-brutal, neo-glass, kinetic-type, hand-drawn, cinematic-dark, data-minimal, retro-print). Use when a video needs a look, the user says "Style", "Look", "Design", "wie soll es aussehen", or after mp-brief.

相關技能