Communitygithub.com

oliverhees/hermes-motion-pack

分析用户提供的视频素材(剪辑、游戏录像、活动记录、Vlog、屏幕录制),生成代理文件、检测场景切换、对每秒进行运动/响度/语音评分、转录文字,并输出包含最佳候选时段的 SHOTLIST.json。当用户给出视频文件/文件夹,或提到“Footage”、“beste Momente”、“Highlight rausziehen”时使用。

hermes-motion-pack 是什么?

该技能专为需要从大量视频素材中快速提取精华片段的开发者或内容创作者设计。它首先通过 `inventory.sh` 脚本扫描文件夹,生成代理(proxy)文件并在 `footage/INVENTORY.json` 中记录时长、帧率、分辨率等信息。接着,`scan.py` 对每个代理文件逐秒进行运动(motion)、响度(loudness)和语音可能性(speech-likelihood)评分,并检测场景切换,输出包含最高分时刻的扫描结果。如果素材内含语音,可调用 Hyperframes 或 Whisper 进行转录,生成带时间戳的引用文本。最终,所有候选片段被整合为 `SHOTLIST.json`,根据意图(动作/情感/回顾)排序推荐,并保留额外余量供编辑选择。整个过程完全在本地运行,不上传任何用户素材,支持通过 `peek.sh` 快速预览候选帧,确保开发者仅需检查最佳片段,大幅提升剪辑效率。

兼容平台~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 <folder> → 生成 footage/INVENTORY.json(时长、帧率、分辨率、音频信息)以及在 footage/proxy/ 下生成 720p 代理文件(在代理上编辑,从原始文件渲染)。
  2. 扫描:python3 <skill-dir>/scripts/scan.py footage/proxy/<file>.mp4 --out footage/scan_<name>.json --intent action|emotion|recap → 输出场景切换点 + 每秒评分(运动、响度、语音可能性) + 最佳时刻。
  3. 转录(若语音重要):npx hyperframes transcribe <file>(或如果已安装 whisper)→ 生成 footage/<name>.words.json。带时间戳的引用文本成为标题候选。
  4. 候选片段:将多个扫描结果合并到 SHOTLIST.json(模板如下)。根据简报的意图排序(action → 运动+响度;emotion → 语音+人脸;recap → 跨时间的多样性)。目标量是最终剪辑所需素材的 3 倍。
  5. 查看候选片段:bash <skill-dir>/scripts/peek.sh <file> <t1> <t2> ... → 每个候选片段生成一个 12 帧的预览条。保留那些一眼就能读懂的部分,丢弃其余内容。仅当两个候选片段质量相当时才询问用户。
  6. 移交 mp-highlight:附带 SHOTLIST.json。

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.

相关技能