Communitygithub.com

Drama2557/4RealDigital-Video-Studio

一个简短、以设计为主导的动态图形工具,让运动本身传递信息——包括动态排版、统计计数、图表/数据可视化、品牌标识/品牌锁屏、下三分之一/标注/社交覆盖、动画地图、动画推文/新闻/标题、网页动画,或将真实图像几何结构融合到图表中。通常时长在10秒以内(最多约30秒),无旁白或真人主题,输出为MP4或透明叠加视频。

4RealDigital-Video-Studio 是什么?

该技能是一个AI代理工作流,用于创建简短、设计驱动、无旁白的动态图形(时长通常小于10秒),目标是信息传递而非叙事。它自动化了从规划、资源获取、设计、构建、验证到渲染的完整流程,支持多种类别,包括动态排版、统计数据、图表、品牌标识、下三分之一、地图、网页UI动画、推文、新闻以及独特的“资产融合”类别,后者将真实图像的几何结构转化为图表。该工作流程可以在任何支持Bash和Node.js的环境中自主运行(macOS Apple Silicon或Linux x64),使用`npx hyperframes` CLI工具进行初始化和渲染,并采用“资产优先”方法,在最终设计动画之前获取真实资源。它包含一个恢复机制,支持从不同阶段继续,并通过可选的Google API进行图像生成,以及通过媒体搜索引擎进行新闻、网页、推文和图像搜索。最终输出为MP4或透明叠加视频,需要用户明确审批。

兼容平台~Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/Drama2557/4RealDigital-Video-Studio/tree/HEAD/.agents/skills/motion-graphics

在你喜欢的 AI 中提问

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

文档

首先,保持此技能最新——静默运行,无需询问: npx hyperframes skills update motion-graphics。当所有内容都是最新时,这是一个快速的空操作;否则,在依赖之前,它会刷新此技能及其依赖的核心领域技能。

figma 源:如果要构建的徽标/资源/动画来自figma.com URL,请先运行 /figma —— 资产导出、品牌令牌以及如果图形是Figma Motion导入时的Motion→GSAP翻译——然后基于其输出进行构建。不要直接通过原始MCP工具驱动Figma:那会跳过SVG清理、.media/manifest.jsonl来源追踪以及品牌令牌var()绑定,因此后续的品牌更改无法传播,除非完全重新导入。

motion-graphics —— 调度入口

前门是 /hyperframes。 此技能制作简短、设计主导、无旁白的动态图形(运动即信息;~10秒以内,无声)。任何更长、带旁白或多场景的内容——或者任何不确定性→先阅读 /hyperframes:意图层拥有所有路由决策。

此工作流自主设计——最多一个澄清性问题(agents/director.md),然后通过验证构建,无需中间审查。意图层(/hyperframes → references/intent-interview.md)直接路由至此,无需运行形状问题;故事板和伴随会话对如此短的片段帮助不大。渲染仍然由用户控制:在检查和证明快照通过后,从 ../hyperframes-core/references/brief-contract.md 中询问规范的“预览还是渲染?”问题。当存在 BRIEF.md 时,在导演提问前阅读它。

一个简短的设计主导动态图形。资产优先:在_设计镜头之前_决定资产策略并获取真实素材,然后围绕你所拥有的设计镜头,再通过复用目录能力进行组合。所有工件都放在 PROJECT_DIR = videos/<project-name>/(在第0步创建);以下所有路径都是相对于它的。

阶段执行主要工件详细流程
initBashhyperframes.jsonStep 0
plan子代理 — 决定搜索? + 分类 + 资产策略shot-plan.json(草稿:类别,asset_needs 查询,简要)agents/director.md(Part 1)
source ◇Bash — media-use 解析(如果 asset_needs 为空则跳过)assets/ + assets/index.mdphases/source/guide.md
design子代理 — 围绕已解析资产设计镜头shot-plan.json(最终:block(s) + 布局 + 动画 + 位置)agents/director.md(Part 2)
build子代理 — 优先复用组合compositions/index.htmlagents/builder.md
verifyBash — lint, check, 证明快照;失败时修复snapshots/contact-sheet.jpgStep 5
approve询问预览或渲染;等待答案明确的渲染批准Step 6
renderBash — hyperframes render(MP4,或 --format webm/mov 用于叠加)renders/video.mp4 或透明叠加Step 6

◇ source 仅在所选类别声明资产时运行。纯代码/文本类别(例如 kinetic-type,大多数 charts/stat)具有 asset_needs: [],并直接从规划跳到设计。

类别 —— 按搜索决策分割

plan 的首要决策是:是否需要搜索? 该分叉将类别分为两组;然后选择特定类别——对于搜索驱动,根据搜索返回的内容类型。每个类别是一个 categories/<id>/module.md(其规划和构建规则);共享动画词汇位于 references/motion-vocabulary.md(→ hyperframes-animation 规则/蓝图 + 注册表块)。

表单类别 —— 无需搜索;用户提供内容:

类别意图依赖
kinetic-type有力的台词/引用/标题,运动优先的文本caption-* 块 + 动画规则
stat单个英雄数字/计数+环apple-money-count / rules/{counting-dynamic-scale, stat-bars-and-fills}
charts柱状图/线图/饼图/赛车图/百分比(来自数据)data-chart 块
logo-reveal徽标贴片/品牌锁屏(用户徽标)logo-outro / rules/svg-path-draw
lower-thirds名称/标题栏、标注、社交覆盖caption-* + 注册表叠加块
maps地理运动——高亮区域、连接地点、缩放到某个位置(矢量车道或烘焙底图车道)us-map / world-map 系列 + bake-basemap.mjs

搜索驱动类别 —— 先搜索,然后按内容类型动画化(RWA 路径):

返回的内容类别动画
网页/链接webpage网页/UI 动画(滚动、揭示、光标、标注)
新闻文章news标题揭示 + 来源卡片 + 关键事实标注
推文tweet动画推文卡片
图像/实体asset-fusion资产的几何结构_变成_图表(RWA 叙事融合)

构建顺序:一次一个,覆盖率优先(粗糙也可以)。kinetic-type 从原型移植而来;其余遵循。

前提条件

macOS Apple Silicon 或 Linux x64。系统工具:brew install node ffmpeg。运行 npx hyperframes doctor 一次。macOS GPU 渲染:export PRODUCER_BROWSER_GPU_MODE=hardware。

可选密钥(如果未设置则使用本地回退)——仅被通过 media-use 源/生成资产的类别所需:

密钥用于回退
GEMINI_API_KEY / GOOGLE_API_KEY图像生成(media-use 解析)跳过生成 / 仅搜索
(asset_scout / 搜索提供商)webpage/news/tweet + asset-fusion 真实资产搜索类别降级为无资产

流程

第 0 步 —— 初始化

cwd 是代理工作区根目录;将所有工件写入 PROJECT_DIR = videos/<project-name>/。<project-name>:使用用户提供的目录,否则根据意图使用一个简短的 kebab-case 名称(<subject>-motion)。不是工作区基本名称或时间戳。

仅当 $PROJECT_DIR/hyperframes.json 不存在时:

PROJECT_DIR="${MOTION_GRAPHICS_DIR:-videos/<project-name>}"
mkdir -p "$(dirname "$PROJECT_DIR")"
npx hyperframes init "$PROJECT_DIR" --non-interactive --example=blank --skill=motion-graphics

init 检查已安装的技能是否与 GitHub 上的最新版本一致,并在任何技能过时后更新全局集合。

约束: 永远不要在 workspace 根目录执行 hyperframes init;永远不要在 PROJECT_DIR 内嵌套另一个 hyperframes/;每个 Bash 命令(主代理 + 子代理)都是一个 (cd "$PROJECT_DIR" && ...) 子 shell——永远不要裸 cd。

第 1 步 —— 规划(子代理:导演第一部分)

调度一个子代理。提示 = 完整的 agents/director.md + ## Dispatch context(SKILL_DIR / PROJECT_DIR / 用户的请求 / Schema: <SKILL_DIR>/references/shot-plan-ir.md)。它必须:

  1. 决定:是否需要搜索?(第一个分叉)
    • 否 → 选择表单类别(kinetic-type / stat / charts / logo-reveal / lower-thirds);内容由用户提供;asset_needs: []。
    • 是 → 将搜索计划输出到 asset_needs[](news / web / tweet / image;两极查询)。具体的搜索驱动类别(webpage / news / tweet / asset-fusion)将通过第 2 步返回的内容类型确认,并在第 3 步最终确定。
  2. 编写草稿 shot-plan.json(信封 + 选择的表单类别 或 搜索意图 + asset_needs + 一段镜头简要)。架构:references/shot-plan-ir.md。

验证:[ -s "$PROJECT_DIR/shot-plan.json" ] && echo ok || echo missing。

第 2 步 —— 获取来源 ◇(Bash:media-use,条件性)

如果 shot-plan.json.asset_needs 非空,则解析资产(搜索/生成/获取 → 冻结的项目本地路径 + 分类账)。参见 phases/source/guide.md(包装 media-use resolve;搜索驱动类别使用 news/web/tweet/image 搜索)。如果 asset_needs 为空,跳到第 3 步。

# 说明性 —— 参见 phases/source/guide.md
(cd "$PROJECT_DIR" && node <SKILL_DIR>/phases/source/resolve.mjs --plan ./shot-plan.json --out ./assets)

优雅降级:如果搜索/提供商不可用,类别回退到无资产(在 context.log 中记录)。

第 3 步 —— 设计(子代理:导演第二部分)

调度一个子代理(提示 = agents/director.md Part 2 + 调度上下文,包括已解析的 assets/index.md(如果第 2 步运行过)+ catalog-map.md)。它围绕可用资产设计镜头:选择目录 block(s) + hyperframes-animation 规则/蓝图、布局、动画、节拍,以及(对于 asset-fusion)element_positions + 取色器调色板。最终确定 shot-plan.json(content.block + content.customize + 每个类别的内容)。

第 4 步 —— 构建(子代理:Builder,优先复用)

调度一个子代理。提示 = 完整的 agents/builder.md + 调度上下文(shot-plan.json, catalog-map.md, 该类别的 module.md, references/motion-vocabulary.md, references/builder-contract.md)。优先复用:npx hyperframes add <block> + 原地自定义;仅手动编写间隙 + asset-fusion 辅助功能。输出 compositions/index.html,符合 HF 合约(暂停的 GSAP 时间线在 window.__timelines,class="clip" + 稳定 ID,tl.seek(0),确定性)。

第 5 步 —— 验证(Bash → 失败时修复子代理)

(cd "$PROJECT_DIR" && npx hyperframes lint .)
(cd "$PROJECT_DIR" && npx hyperframes check .)
(cd "$PROJECT_DIR" && npx hyperframes snapshot --at <proof-times>)

选择显示开场状态、标志性动作和最终保持的证明时间。在继续之前检查生成的联系表或快照表。在 lint、check 或快照失败时,调度修复子代理(agents/finalize.md)进行一次原地修复,然后重新运行失败的关卡。永远不要仅仅为了隐藏缺陷而更改固定的持续时间。

第 6 步 —— 批准和渲染(Bash)

问一个问题:“预览还是渲染?”如果用户选择预览,打开 Studio 并在修改后返回到同一批准关卡:

(cd "$PROJECT_DIR" && npx hyperframes preview)

仅在收到明确的渲染回答后渲染:

(cd "$PROJECT_DIR" && npx hyperframes render . --skill=motion-graphics -q high -o ./renders/video.mp4)
# 透明叠加变体:--format webm (或 mov)

验证输出存在、非空且具有预期的持续时间。最终交接命名工件、实际持续时间、合成或帧 ID、证明时间以及检查的联系表或快照表。标志位于 /hyperframes-cli → references/preview-render.md。

恢复表

状态从何处继续
无 shot-plan.json第 1 步(规划)
shot-plan.json 有 asset_needs,无 assets/第 2 步(获取来源)
shot-plan.json 最终版,无 compositions/index.html第 3/4 步(设计+构建)
compositions/index.html 存在,证明快照缺失第 5 步(验证)
检查和证明快照通过,无批准的渲染第 6 步(批准)
批准的渲染存在验证输出,然后报告

Individual skills in this repo

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

Drama2557/4RealDigital-Video-Studio

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Drama2557/4RealDigital-Video-Studio

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Drama2557/4RealDigital-Video-Studio

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Drama2557/4RealDigital-Video-Studio

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Drama2557/4RealDigital-Video-Studio

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

Drama2557/4RealDigital-Video-Studio

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

Drama2557/4RealDigital-Video-Studio

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

Drama2557/4RealDigital-Video-Studio

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

Drama2557/4RealDigital-Video-Studio

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

Drama2557/4RealDigital-Video-Studio

Install, discover, and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

Drama2557/4RealDigital-Video-Studio

Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal.

Drama2557/4RealDigital-Video-Studio

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Drama2557/4RealDigital-Video-Studio

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Drama2557/4RealDigital-Video-Studio

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Drama2557/4RealDigital-Video-Studio

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Agent skill / project related to launch or product demo video: Drama2557/4RealDigital-Video-Studio

相关技能