Communitygithub.com

oliverhees/hermes-motion-pack

从真实素材、AI 生成片段或纯代码中剪辑电影级高光视频、预告片/预告和活动回顾——节拍同步的剪辑方案、变速、电影调色、动态标题、故障和漏光叠加、数据叠加,在 HyperFrames 中合成,并基于 ffmpeg 完成基础剪辑。

hermes-motion-pack 是什么?

mp-highlight 是一款面向 AI 代理的 Cinematic 视频编辑技能,支持三种模式:footage(基于用户真实片段)、genclip(基于 AI 生成的片段)和 code(纯代码绘制)。它能够自动分析音乐节拍,生成节拍网格、能量曲线和 Drop 位置,然后将镜头按照节拍放置,形成冷开场、高潮、呼吸和最终的高潮剪辑方案。技能提供全局调色预设(如青橙、漂白、胶片颗粒、遮幅)、变速、动态标题、故障效果、漏光叠加和数据叠加(如计数器、数据叠加),所有叠加在 HyperFrames 中合成,并调用 ffmpeg 和 mp-build 规则进行渲染。它还支持 mp-critique 对编辑质量进行自动检查(如节拍对齐、镜头时长、标题可读性),最终通过 mp-ship 交付。适用于 Claude Code、Cursor、Codex 等 AI 代理平台,用于创建高光视频、预告片、活动回顾、最佳集锦和蒙太奇。

兼容平台~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. 先选音乐。 接收/选择曲目(BPM 决定剪辑方案)。python3 <skill-dir>/scripts/beats.py audio/music.mp3 --out audio/beats.json → 节拍网格、重拍、能量曲线、Drop 点。无曲目 → 询问情绪和 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 负责最终混音(音乐 + 剪辑点上的音效 + 可选旁白)。mp-critique 添加额外检查:节拍对齐(尤其在 Drop 附近)、在铺陈/高潮段无镜头超过 4s、标题在 360px 下可读。
  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.

相关技能