Communitygithub.com

oliverhees/hermes-motion-pack

攝入使用者自己的影片素材(剪輯片段、遊戲過程、活動、Vlog、螢幕錄影)以產出精彩片段影片——建立代理檔案、偵測場景切換、每秒根據動態、音量與語音評分、轉錄文字,並寫入包含最佳候選時刻的 SHOTLIST.json。

hermes-motion-pack 是什麼?

此技能專門用於自動化從大量原始影片素材中挑選精彩片段的工作流程。它透過一系列腳本,先建立素材的庫存清單(INVENTORY.json)與 720p 代理檔案,再進行場景偵測與每秒評分(針對動態、音量與語音可能性),最後依據使用者設定的意圖(例如動作、情感、回顧)產出最佳候選時刻的 SHOTLIST.json。此 JSON 檔案可直接提供給編輯器(如 mp-highlight)進行剪輯,大幅節省手動挑選影片的時間。技能支援本機執行,所有處理皆在使用者的電腦上完成,不會上傳任何影片檔案。

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

在你喜歡的 AI 中提問

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

說明文件

mp-footage — 找到那些瞬間

目標:將數小時的素材轉換成一份已排名的 SHOTLIST.json,供編輯器(mp-highlight)從中裁剪。永遠不需要逐格觀看全部內容;讓腳本排序,然後只檢查候選片段。

步驟

  1. 盤點:bash <skill-dir>/scripts/inventory.sh <資料夾> → footage/INVENTORY.json(時長、fps、解析度、音訊)以及 footage/proxy/ 中的 720p 代理檔案(在代理檔案上剪輯,從原始檔案渲染)。
  2. 掃描:python3 <skill-dir>/scripts/scan.py footage/proxy/<檔案>.mp4 --out footage/scan_<名稱>.json --intent action|emotion|recap → 場景切換 + 每秒評分(動態、音量、語音可能性) + 最佳時刻。
  3. 如果語音重要,則轉錄:npx hyperframes transcribe <檔案>(或安裝 whisper)→ footage/<名稱>.words.json。帶有時間戳的引用將成為標題候選。
  4. 候選:將掃描結果合併到 SHOTLIST.json(以下為範本)。根據簡報意圖排名(動作 → 動態+音量;情感 → 語音+面部;回顧 → 時間上的多樣性)。目標是最終剪輯所需素材量的 3 倍。
  5. 查看候選:bash <skill-dir>/scripts/peek.sh <檔案> <t1> <t2> ... → 每個候選一個 12 幀的條狀圖。保留那些一目瞭然的片段,丟棄其餘的。僅在兩個候選片段相同時詢問使用者。
  6. 將 SHOTLIST.json 交給 mp-highlight。

SHOTLIST.json

{ "source": "footage/", "intent": "action", "target_duration_s": 30,
  "shots": [
    { "id": "A01", "file": "gameplay_01.mp4", "in": 83.4, "out": 86.1, "score": 0.91,
      "why": "動態峰值 + 人群音量", "tags": ["action","wide"], "quote": null, "crop_x": 0.5 },
    { "id": "A02", "file": "vlog_03.mp4", "in": 412.0, "out": 414.6, "score": 0.84,
      "why": "笑聲 + 特寫", "tags": ["emotion","close"], "quote": "das war verrückt", "crop_x": 0.62 }
  ] }

規則

  • 鏡頭長度:動作 0.6–3.0 秒,情感 2–5 秒,精彩片段中不超過 6 秒。
  • 為編輯器保留兩側各 0.3 秒的餘量。
  • 多樣性:交替寬景/特寫、大聲/安靜、快速/緩慢。在 tags 中標記。
  • 從橫向素材產出直向影片 → 記錄每個鏡頭中主體的位置(crop_x 0–1),以便編輯器重新構圖而不是直接置中裁切。
  • 絕不將使用者的素材上傳到任何地方;一切都在本地進行。

references/scoring.md 說明評分方式以及如何針對不同素材類型調整閾值。

此技能中的檔案

  • references/scoring.md
  • scripts/inventory.sh
  • scripts/peek.sh
  • scripts/scan.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

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

Cuts cinematic highlight videos, trailers/teasers and event recaps from real footage (mp-footage), AI clips (mp-genclip) or pure code — beat-synced edit plan, speed ramps, cinematic grade (teal-amber, bleach, film grain, letterbox), kinetic titles, glitch and light-leak overlays, data overlays, all composited in HyperFrames on top of an ffmpeg base cut. Use for "Highlight-Video", "Cinematic", "Trailer", "Recap", "Aftermovie", "Best-of", "Montage", "auf den Beat schneiden", "episch".

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.

相關技能