Communitygithub.com

oliverhees/hermes-motion-pack

用于制作工作室级动态图形和电影级精彩片段视频的技能包,基于 HyperFrames(HTML + GSAP → MP4)和 ffmpeg 编辑真实或 AI 生成素材。

hermes-motion-pack 是什么?

这是 `hermes-motion-pack` 技能,一个专为 AI 代理(如 Claude Code、Cursor、Codex)设计的全面视频制作工作流。它将任何视频制作任务——从社交媒体视频、动态图形、产品广告到电影级精彩片段、预告片和回顾集锦——引导到两个核心路径之一(**图形**或**精彩片段**),并通过一个严格的七步链条执行:`mp-brief` → `mp-style` → `mp-storyboard` → (`mp-build` | `mp-highlight`) → `mp-audio` → `mp-critique` → `mp-ship`。每一步都是一个独立的子技能,都有自己的验收门(gate),确保在进入下一步之前获得用户确认。该技能主要服务于那些希望完全通过代码驱动的动画和编辑来取代传统视频编辑套件的开发者。它利用 `hyperframes`(一个基于 HTML 和 GSAP 的渲染引擎)和 `ffmpeg` 生成输出。一个关键的区别是其“隐性”工作流:即使使用最好的模型,直接从一次提示跳到代码也常常会产生糟糕的结果。该技能强制执行一个结构化、类似于客户经理的“面试”流程来理解需求,然后才生成任何资产。该方法在 `SKILL.md` 中有详细描述,包括一个严格的“质量栏”,优先考虑动态、基于弹簧的动画(而非线性动画),强制要求文本可读性(在 360px 宽度下最多 6 个词),并禁止通用模板外观(如居中渐变文字、角标和边框)。该技能还管理项目状态(通过 `STUDIO.json` 和 `STATE.json`),以便用户可以中断并“回到之前的位置”。它包含全面的回退机制,当视觉 API 或网络访问不可用时,会明确标记产品声明为 `[未验证]`。总体而言,该技能是一款专为注重细节、追求工作室级品质的 AI 驱动内容创作者设计的专业开发工具。

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

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

motion-pack — 路由器

第零条规则: 提示词只占视频的 10%,工作流程占另外的 90%。 永远不要从一行请求直接跳到代码。采访 → 简报 → 风格 → 分镜 → 制作 → 音频 → 评审循环 → 交付。每个阶段都有一个门(gate),用户必须说“好”才能通过。

语言: 与用户交流时,使用他们使用的语言(大多数使用德语)。所有文件、注释和提交都用英语编写。

范围: 产品广告、社交媒体短片 (9:16)、发布预告、Logo 标志动画与循环、动态文字排版、数据故事、UI 展示——以及基于用户素材、AI 生成剪辑或纯代码制作的电影级精彩片段视频、预告片和回顾集锦。不包含出镜/虚拟形象/讲解类格式。

两条轨道,一条链条

轨道时机链条
图形所有内容均为绘制(广告、短片、标志动画、数据、UI)简报 → 风格 → 分镜 → mp-build → 音频 → 评审 → 交付
精彩片段存在或生成镜头(集锦、预告片、幕后花絮、回顾)简报 → 风格 → 分镜 → mp-footage(用户剪辑)和/或 mp-genclip(AI 剪辑)→ mp-highlight(同步节拍的剪辑 + 叠加效果)→ 音频 → 评审 → 交付
精彩片段/代码模式需要电影感外观但没有任何剪辑片段视为图形轨道,使用电影暗色预设
在 mp-brief(问题 1)中决定轨道。允许混合模式:真实素材 + AI 插入 + 代码生成标题。

链条(每一步都是其自身的技能 = 其自身的斜杠命令)

#技能产出门
1mp-brief简短采访后生成 BRIEF.md(最多 2 轮,每轮 3 个问题)用户确认简报
2mp-styleSTYLE.md — 参考、调色板、字体、运动语言、禁止列表用户选择预设或参考
3mp-storyboardSTORYBOARD.md — 节拍列表、状态列表、时间线、语音台词用户批准节拍
4amp-footage(精彩片段轨道)代理文件、扫描、最佳时刻的 SHOTLIST.json用户确认候选片段
4bmp-genclip(精彩片段轨道)根据镜头卡片生成的 AI 剪辑,外观已锁定,在 SHOTLIST.json 中注册风格帧 OK,成本已显示
4cmp-build(图形轨道)HyperFrames 项目:场景作为 HTML + GSAP,npx hyperframes lint 通过草稿渲染
4dmp-highlight(精彩片段轨道)beats.json、EDIT.json、基础剪辑、HyperFrames 中的叠加效果编辑计划 OK,草稿渲染
5mp-audio语音(通过环境变量密钥的 ElevenLabs)、背景音乐、音效、响度标准化混音试听检查(用户)
6mp-critique样片表、手机样片表、条带图、循环接缝;1–10 评分;修复列表所有评分 ≥ 8
7mp-ship所有格式的最终渲染、DELIVERY.md、可选的“保存为技能”完成

按顺序运行。只有当用户明确说“不要音频”、“我已经有简报”时才能跳过。在每个门之后,用一句话说出下一步要运行的技能并加载它。

如何开始

  1. 创建项目文件夹:<工作室>/<项目缩略名>/(默认工作室根目录 ~/motion-studio;询问一次,记住在 ~/motion-studio/STUDIO.json 中)。
  2. 检查依赖:Node ≥ 22、ffmpeg、npx hyperframes --version。如果未安装 HyperFrames 技能,告诉用户:hermes skills install official/creative/hyperframes(或在项目内运行 npx hyperframes init,这会自动安装其技能)。
  3. 加载 mp-brief 并运行采访。

质量栏(对所有阶段具有约束力——在构建前阅读 references/quality-bar.md)

  • 每个时刻一个主角元素。每 2–4 秒出现新内容。
  • 使用弹簧和过冲效果,绝不用线性滑动。不要“全淡入”。
  • 没有居中渐变文字。没有边角标签、帧边框或模板外观。
  • 文字在 360px 宽度下可读。短片屏幕上最多同时显示 6 个词。
  • 每个关于产品的声明都必须有来源;不编造。
  • 代理在说“完成”之前必须查看自己的帧。

记忆

  • ~/motion-studio/STUDIO.json — 工作室根目录、默认语言、默认格式、上次使用的预设。
  • <项目>/STATE.json — 阶段、已通过的门、未解决问题。在每个阶段后更新,以便“我们进行到哪了?”能工作。

当出现问题

  • 渲染失败或卡顿 → npx hyperframes render --workers 1,然后 npx hyperframes doctor。
  • 代码检查报错 → 在预览前修复;绝不要绕过检查错误进行渲染。
  • 没有视觉 API 可用 → 如实说明;使用 mp-critique 脚本并让用户查看样片表。
  • 没有网络访问 → 将每个产品声明标记为 [未验证] 并在 DELIVERY.md 中列出。

参见 references/chain.md 了解技能之间的交接卡片,以及 references/quality-bar.md 了解完整的评估标准。

此技能中的文件

  • references/chain.md
  • references/quality-bar.md

Individual skills in this repo

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

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

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.

相关技能