ai-agent-video-studio

AI-agent video studio: turns how an agent or product uses multiple capability modules to complete tasks into a 16:9 ad-style short film rendered by the HyperFrames engine; includes multiple color palettes and visual styles, supports natural-language style descriptions with automatic theme switching, uses a consistent 'left explanation + right result' layout, and mandates clear labeling of real cases vs. simulations and compact bottom captions that do not obstruct. Trigger phrases include: capability video, ad, skill showcase, product demo, matrix video, multi-style video.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ai-agent-video-studio" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cf9c762aa662605c64f489eab83497ed72499fc000457bd0e0dd220f64c48ce0. Verify the upstream source and version against https://skillhub.cn/skills/user_d0c0b7f4/ai-agent-video-studio before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

AI-agent video studio: turns how an agent or product uses multiple capability modules to complete tasks into a 16:9 ad-style short film rendered by the HyperFrames engine; includes multiple color palettes and visual styles, supports natural-language style descriptions with automatic theme switching, uses a consistent 'left explanation + right result' layout, and mandates clear labeling of real cases vs. simulations and compact bottom captions that do not obstruct. Trigger phrases include: capability video, ad, skill showcase, product demo, matrix video, multi-style video.

0 Downloads

Introduction source: third_party · user_d0c0b7f4 · 1.3.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ai-agent-video-studio
description: "ai-agent-video-studio(多风格能力展示广告片生成器)— 把『某主体(AI Agent / 产品 / 工具矩阵)如何借助 N 个能力模块完成任务』做成横屏 16:9、广告质感的短片。基于 HyperFrames 引擎(HTML+CSS+GSAP 渲染),内置《中文优化设计规范包》的 9 套配色 + 8 种视觉风格,支持用自然语言描述风格由 agent 自动切换主题;统一『左侧说明 + 右侧结果』版式、真实案例与模拟演示强制区分标注、紧凑底栏字幕不遮挡。触发词:能力视频、广告片、Skill 展示、产品 Demo、矩阵视频、多风格视频。"
agent_created: true

ai-agent-video-studio(多风格能力展示广告片生成器)

把「某主体(AI Agent / 产品 / 工具集)如何借助 N 个能力模块完成不同任务」做成一条横屏 16:9、广告质感的短片,且风格可一键切换。本 Skill 是 hyperframes-video(通用文章转视频)之上的垂直增强版,固化了:

  • 一次真实项目(「AI Agent 自动化剪辑视频能力」)踩出的全部规范与避坑经验;
  • 《中文优化设计规范包》(源自 nexu-io/open-design)的 9 套配色 + 8 种视觉风格 + 中文硬约束,已内化为 references/styles.md 与模板变量。

若还不了解 HyperFrames 引擎基础(五步法、TTS、lint、渲染),先读本 Skill 的 references/workflow.md 与 hyperframes-video Skill。本 SKILL.md 只讲广告片 + 多风格专属部分。

何时用本 Skill(而非通用版)

  • 要做的不是「文章/故事转视频」,而是「矩阵能力展示」:开场点题 → N 个能力模块各一段(真实 or 模拟)→ 收尾串成流水线
  • 视觉要求「干净、清晰、广告片质感」,且希望按内容类型选不同配色/风格(而非固定白紫)
  • 需要严格区分真实案例 vs 模拟演示(避免误导观众)
  • 需要「左侧名称+核心能力 / 右侧对应结果」的统一版式

成品结构范式(6 场景,总时长 60–70s 最优)

s0 开场:标题 + 副标题(放 Agent/品牌名)+ N 个能力 chip 浮现
s1..sN 每个能力模块:左说明(badge + 名称 + 能力点) / 右结果(真实图 or 流程演示)
sN+1 收尾:N 节点流水线串起 + 主标题 + 副标题

每个能力场景用统一但不完全重复的视觉结构:左侧固定版式(.skill-scene .left),右侧按模块类型变化:

模块类型 右侧放什么 标注
真实案例 成片截图 / 真实代码打字 badge real「真实案例」+ 说明
模拟演示 重新设计的流程 / 分镜 / 提示词 badge demo「模拟演示」+ 「非真实产品截图/展示结构」

风格选型(你说人话,我来改代码 · 不要求你手动切换)

用户只需用自然语言描述想要的感觉,由 agent 负责把描述映射到模板变量、改好 CONFIG.theme、必要时扩展新主题——用户全程不碰 <script>、不写配色值、不需记主题名。

自然语言 → 主题 速查(agent 据此解析用户原话)

用户常说的话 命中主题 agent 动作
白紫 / 明亮广告 / 科技发布会 / 产品发布 / 通用能力片 ad-purple(默认) 设 CONFIG.theme="ad-purple"
暗黑 / 数据漂流 / AI·ML / 赛博 / 霓虹 / 电影感 / 前沿科技 dark-data 设 CONFIG.theme="dark-data"
清爽 / 商务 / 瑞士 / 简洁 / 专业 / SaaS / 开发工具 / 数据报告 clean-swiss 设 CONFIG.theme="clean-swiss"
珠宝华贵 / 高端品牌 / 奢侈品 新主题 jewel 按 styles.md 第四节生成 [data-theme="jewel"] + THEME_META
民俗 / 节庆 / 社区 / 食品 App 新主题 folk 同上
暗影切割 / 调查 / 安全揭露 新主题 shadow 同上
柔讯 / 治愈 / 个人故事 新主题 soft 同上
解构 / 朋克 / 生猛 新主题 decon 同上
极繁字体 / hype / 里程碑 新主题 maxtype 同上
自然大地 / 户外 / 可持续 新主题 nature 同上
暖调编辑 / 叙事纪录片 新主题 warm 同上
大胆活力 / 社媒公告 新主题 bold 同上
极简单色 / 强排版 新主题 mono 同上

判定规则:用户原话命中 3 个内置预设之一 → 直接设 CONFIG.theme;命中其它 8 风格/9 配色 → agent 按 references/styles.md 第四节「自定义风格模板」范式生成新 [data-theme] 块(配色 hex 取 styles.md 第一节;继承模板全部变量,只覆盖 --bg1/--bg2/--accent/--accent-soft/--fg/--sub-bg/--sub-fg 等)并在 THEME_META 加缓动,HTML 结构一行不动。用户没提风格时,默认 ad-purple。

3 套内置预设(agent 设 CONFIG.theme 用)

data-theme 视觉风格(来源规范包) 配色取向 入场缓动
ad-purple(默认) 明亮广告·微回弹 紫/靛/品红渐变 back.out(1.7)
dark-data 数据漂流 深黑 + 电紫 + 青(霓虹/暗黑高级) sine.inOut
clean-swiss 瑞士脉冲 白底 + 电光蓝(清爽商务) expo.out

选风格的依据见 references/styles.md:

  • 9 套配色:大胆活力 / 清爽商务 / 暗黑高级 / 珠宝华贵 / 极简单色 / 自然大地 / 霓虹电感 / 柔彩治愈 / 暖调编辑
  • 8 种视觉风格:瑞士脉冲 / 天鹅绒标准 / 解构主义 / 极繁字体 / 数据漂流 / 柔讯 / 民俗频率 / 暗影切割(各附情绪/适合/主转场/GSAP 签名)
  • 选型决策表:内容类型 → 配色 + 风格(如 AI/ML → 霓虹+数据漂流;企业路演 → 暗黑/珠宝+天鹅绒标准)
  • 全景图:references/panorama/index.html(或 panorama.png)先对照选型

加一套新风格(agent 自动做,用户无需动手,详见 styles.md 第四节):

  1. 在 <style> 末尾加 [data-theme="your-name"] { --bg1:…; --accent:…; … } 覆盖变量
  2. 在 JS CONFIG 把 theme 改为 "your-name"
  3. 在 THEME_META 加 "your-name": { ease: "你的 GSAP 签名" } 决定入场手感

视觉规范(变量驱动,已验证广告质感)

全局运动母题(保证「始终在动」)

  • 漂浮 blob(3 个,blur 60px,缓慢 drift 动画)
  • 斜向 -9° 的胶片条(.filmstrip 横向 slide 循环)
  • 上升光点(用 mulberry32 种子化 PRNG 生成,禁止 Math.random())
  • 顶部进度条(#progress 从 0%→100% 贯穿全程)

字幕规范(防止遮挡内容)

  • 字号 28px(不要 >34,会挡右侧结果)
  • bottom: 28px(紧凑底栏),max-width: 1200px,半透明药丸(颜色随主题 --sub-bg/--sub-fg)
  • 右侧结果区若靠下,整体 bottom 上移到 70px 避开

真实 / 模拟标注(强制)

  • 真实案例:.badge.real + 一行 .note 说明
  • 模拟演示:.badge.demo + .note 写明「界面与流程为示意演示,非真实产品截图」之类
  • 目的:观众一眼分清「这是真能用的」vs「这只是演示结构」

品牌 / Agent 名称增强

  • 开场副标题、收尾副标题放具体名字(如 Claude Code / Codex / Workbuddy 协同驱动)
  • 让"谁在干活"具体化,比只说"AI Agent"更有说服力

Remotion / 代码类场景的规范落地(动效也好看)

  • 右侧结果区若展示「代码打字 + 生成画廊」,画廊 6 张卡片颜色走主题色阶 --c1..--c6(见 assets/template/index.html 各 [data-theme] 块)——既彼此不同(展示批量生成的不同视频),又统一在主题规范配色内,不脱离整体调性。
  • 卡片入场 stagger 缓动用 MOTION_EASE(随风格映射规范包 8 签名:白紫 back.out、数据漂流 sine.inOut、瑞士 expo.out),不写死 back.out(1.6)。
  • 代码窗用 --code-bg(随主题深/浅切换),语法高亮色取自主题 accent;模板 #s1 即开箱即用的规范合规 Remotion 真实案例。

中文设计规范硬约束(交付前必过)

来自《中文优化设计规范包》第六章/第七章,完整版见 references/styles.md 第六节。

  1. 字号可读性:正文/字幕 ≥ 24px;标题用粗体无衬线。
  2. 对比度:文字与背景达 AA(≥4.5:1);暗色主题用浅字,亮色主题用深字;badge/字幕药丸必须可读。
  3. 中文文本测量:中文文本必须在浏览器量过再渲染,确认不溢出、CTA 留在安全区之上(本模板字幕 bottom:28px 规避遮挡)。
  4. 确定性渲染:禁止 Math.random(),随机走 mulberry32 PRNG;中文字体必须 @font-face{src:local(...)} 声明。
  5. 真实 / 模拟标注:每个能力场景都要有 badge + note,交付前 grep 确认。
  6. 100 分设计工程门控(速记):场景契约 15 + 矢量模板 15 + 中文测量 20 + 原语选择 15 + SVG 结构转场 15 + 快照检查 15 + 可复现 5。< 90 分阻止交付;< 75 分只是 prompt 草稿。

文件清单

ai-agent-video-studio/
├── SKILL.md                      # 本文件
├── _meta.json
├── references/
│   ├── USAGE.md                  # 使用说明书(人类视角:怎么用这个 Skill)
│   ├── example-full.html         # 完整成品参考实现(「AI Agent 自动化剪辑能力」全量代码,可直接读/抄)
│   ├── workflow.md               # 五步工作流详细操作
│   ├── styles.md                 # 风格库:9 配色 + 8 风格 + 选型表 + 自定义模板 + 中文硬约束
│   ├── lessons.md                # 全部踩坑与修复(lint / 时间轴 / 渲染沙箱 / 字幕 / 标注 / 多风格)
│   └── panorama/                 # 规范包全景图(选型前对照)
│       ├── index.html
│       └── panorama.png
├── assets/template/
│   ├── index.html                # 多风格变量骨架:3 预设(广告白紫/暗黑数据/清爽瑞士) + 字幕 + @font-face + PRNG
│   ├── hyperframes.json          # 1920×1080 / 30fps / mp4
│   ├── package.json              # lint / render / check scripts
│   ├── render.sh                 # 一键渲染(TTS + lint + render)
│   ├── script.txt                # 示例旁白文案(本视频 12 段)
│   └── .env.example              # TTS 凭据模板
└── scripts/
    └── tts.py                    # edge-tts / 腾讯云 TTS(--timed 精确计时)

标准工作流(五步,广告片+多风格裁剪版)

  1. 自然语言选风格 → 听用户描述,按上表「自然语言 → 主题 速查」映射到 CONFIG.theme(直接改 index.html 顶部 CONFIG 变量);用户没指定则默认 ad-purple。命中非内置风格时按 styles.md 第四节扩展新 [data-theme]。
  2. 脚本分段 → 写 script.txt(开场 2 段 + N×2 段能力 + 收尾 2 段,口语化,每段 <18s)
  3. TTS + 精确时间轴 → bash render.sh tts --force 生成 narration.wav + timeline.json(必须 --timed,且 --start-offset 0 --gap 0 保证连续无间隔)
  4. 对齐时间戳 → 把 timeline.json 边界写入 index.html 的 SUBTITLES 与场景 master.set;hyperframes.json 的 duration = 音频时长 + 2~3s
  5. HTML 编排 → 基于 assets/template/index.html 填内容(先 CONFIG.theme 设好风格);能力场景复制 .skill-scene 段;右侧结果按类型实现
  6. Lint + 渲染 → npx hyperframes@0.6.56 lint 后在系统终端 bash render.sh 渲染

⚠️ 渲染必须在系统终端(Terminal.app)手动执行,WorkBuddy 沙箱会拦截 Chrome 所需的 macOS Mach bootstrap 权限。命令:

cd <项目目录>
npx hyperframes@0.6.56 render

必读避坑

  • Lint 双错(必犯):① Math.random() → 改 mulberry32 PRNG;② 中文字体未声明 → 加 @font-face{src:local(...)} 三行。修复见 references/lessons.md
  • 时间轴错位:--timed 默认带 0.5s 起点 + 0.35s 间隔,会让末段超出音频。务必加 --start-offset 0 --gap 0
  • 字幕遮挡:见上「字幕规范」
  • 渲染沙箱:见上「渲染」
  • 真实模拟混淆:见上「标注规范」
  • 多风格变量化:所有颜色走 CSS 变量,切风格只改 CONFIG.theme;新增风格加 [data-theme] 块 + THEME_META 缓动,不要写死颜色。详见 references/lessons.md 坑 8–11

复用本 Skill 的最小步骤

# 1. 复制骨架到新项目
cp -r ~/.workbuddy/skills/ai-agent-video-studio/assets/template /path/to/my-video
cp ~/.workbuddy/skills/ai-agent-video-studio/scripts/tts.py /path/to/my-video/

# 2. 选风格:用自然语言告诉 agent 你想要的感觉(如"暗黑数据风"),agent 自动设定 CONFIG.theme(或扩展新主题),你无需改代码
# 3. 改 script.txt(文案)→ 渲染.sh tts --force 生成配音+时间轴
# 4. 把 timeline.json 时间戳填进 index.html 的 SUBTITLES + master.set
# 5. 复制 .skill-scene 段扩展能力模块;右侧填真实图 / 模拟流程
# 6. npx hyperframes@0.6.56 lint → 系统终端 bash render.sh

完整可跑代码见 references/example-full.html(即本视频白紫成品),直接照抄最快;想换风格只需用自然语言告诉 agent,agent 自动切 CONFIG.theme 并同步右侧配色,你不用碰代码。

Current listing version

1.3.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 垂直场景明确:专为 AI Agent/产品/工具矩阵的能力展示设计,解决广告片生成刚需
  • 提供 9 套配色 + 8 种视觉风格 + 中文设计规范,风格切换自动化,显著提升制作效率
  • 强制区分真实案例与模拟演示,增强内容可信度与合规性
Trigger Precision90/100

Highlights

  • 触发词覆盖全面:能力视频、广告片、Skill 展示、产品 Demo、矩阵视频、多风格视频
  • 边界清晰,无歧义,能有效区分于通用文章转视频工具
Structure and Standards90/100

Highlights

  • 结构完整:含使用场景、范式、选型、规范、工作流、避坑、复用步骤
  • 五步工作流清晰,提供完整示例与模板,单文件长度合理
Execution Reliability90/100

Areas to improve

  • description 写错位置 Reported severity: Minor

    description 内容位于 skill_body 内部而非顶层 frontmatter,但内容完整无截断

    Recommendation: 建议将 description 移至顶层 frontmatter 以符合规范

Highlights

  • 工具链完整可靠:HyperFrames + TTS + lint + 渲染,参数规范明确
  • 覆盖关键异常:随机数替换、字体声明、时间轴校准、渲染权限避坑
  • 提供完整文件清单与示例代码,执行路径清晰
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.