Agent skill

Cadence Video

by pa001024 in pa001024/dna-builder

用 cadence 框架 做"代码渲染、音画同步"的视频:两条并列入口(脚本+TTS 实测时长 / 歌曲分析对齐)写同一份 project.json,可混合;带网页端时间线编辑器(拖拽剪辑、改字重生成语音、场景与帧特效标注)和无头 Chrome+ffmpeg…

MITAuto-check passedMedia & Creative

Install Cadence Video

skills CLI
$ npx skills add pa001024/dna-builder --skill cadence-video -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pa001024/dna-builder cadence-video --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pa001024/dna-builder.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cadence-video .claude/skills/cadence-video && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cadence-video
GitHub stars
137
Token cost
~703 tokens
SKILL.md length
175 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

用 cadence 框架 做"代码渲染、音画同步"的视频:两条并列入口(脚本+TTS 实测时长 / 歌曲分析对齐)写同一份 project.json,可混合;带网页端时间线编辑器(拖拽剪辑、改字重生成语音、场景与帧特效标注)和无头 Chrome+ffmpeg…

  • Works in 7 steps: 启动:bun server/index.ts →… → 导入素材(编辑器 import 面板或 CLI) → 编排:拖动/修剪/分割 clip(锁定 clip =… → …
  • Tasks that involve Video production
  • SKILL.md covers Overview, When to use, Workflow and 本机环境事实, plus 1 more section
  • Calls bun

What it does

Cadence Video is an agent skill from pa001024/dna-builder. 用 cadence 框架 做"代码渲染、音画同步"的视频:两条并列入口(脚本+TTS 实测时长 / 歌曲分析对齐)写同一份 project.json,可混合;带网页端时间线编辑器(拖拽剪辑、改字重生成语音、场景与帧特效标注)和无头 Chrome+ffmpeg 出片。当做解说类视频(如法露茜攻略视频)、要从0开始生成视频、要基于歌曲做歌词对齐的程序化动画视频,或需要在浏览器里可视化编排时间线/效果规划时,使用本技能。

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Video production and Text to speech and voice. It works with FFmpeg. The repository describes itself as: 二重螺旋构筑模拟器 Duet Night Abyss Builder. The licence is MIT.

When your agent uses it

  • Tasks that involve Video production
  • Tasks that involve Text to speech and voice

Example prompts

  • “代码渲染、音画同步”
  • “/cadence-video”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. 启动:bun server/index.ts → http://localhost:5174(时间线编辑器,一切都能在网页里做)。
  2. 导入素材(编辑器 import 面板或 CLI)
  3. 编排:拖动/修剪/分割 clip(锁定 clip = 对齐真值,未锁定自动避让);检查器里改文字后按
  4. 标注:clip/块上 fx(kind+区间+备注),播放头处打 mark——这些写入 out/plan.md,作为后续效果生成的规划文档。
  5. 预览:compile 后音频就是 audio/voice.wav,编辑器可直接播放;frame 按钮经真实渲染器出当前帧。
  6. 写场景:复制 src/scenes/demo.ts 起步;f.t / f.beat / f.a.kick / audio.env('rms',t) / lyrics.lineAt(t) 是全部输入;禁止 Math.random/Date.now(用种子随机)。
  7. 成片:bun scripts/render.ts video --samples auto --shutter 0.2 --out out/video.mp4(1080p60,--scale 2 真 4K);stills/sheet 迭代单帧与节拍表。

What it can do on your machine

Read from SKILL.md and the folder at commit 3ed567f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cadence Video loads about 703 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 175 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~703

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pa001024/dna-builder at commit 3ed567f, republished under its MIT licence (© pa001024). 175 words, ~703 tokens.

Download SKILL.mdSave it as .claude/skills/cadence-video/SKILL.md (or your agent's skills folder).
name
cadence-video
description
用 cadence 框架 做"代码渲染、音画同步"的视频:两条并列入口(脚本+TTS 实测时长 / 歌曲分析对齐)写同一份 project.json,可混合;带网页端时间线编辑器(拖拽剪辑、改字重生成语音、场景与帧特效标注)和无头 Chrome+ffmpeg 出片。当做解说类视频(如法露茜攻略视频)、要从0开始生成视频、要基于歌曲做歌词对齐的程序化动画视频,或需要在浏览器里可视化编排时间线/效果规划时,使用本技能。

cadence:从0生成音画同步视频

Overview

框架在 ../cadence(bun + vite + three.js,自 pdoom-video 抽取)。核心思想:每一帧都是时间 t 的纯函数,预览与导出逐像素一致;画面参数挂在数据上(词时间/拍网格/包络),不写死秒数。

一份中间文件 project.json(资产/clip/块/标注),三条路写它、可混合:

  • 脚本导入(tools/importScript.ts):script/script.md 每行 TTS 实测时长 → clip(未锁定,自动 ripple)。
  • 歌曲导入(tools/importAudio.ts):analysis 产出的 data/lyrics.json + audio.json → 对齐歌词变成锁定 clip 铺在歌曲 bed 上,网格/包络/onset 原样带入。
  • 网页编辑器:拖拽/修剪/分割、改文本→TTS 重生成、场景与帧 fx 标注。

编译器 tools/compile.ts 把 project.json 变成渲染器吃的数据:data/lyrics.json、data/audio.json、audio/voice.wav、data/peaks.json、out/plan.md(效果规划文档)。

When to use

  • 要做解说/攻略类视频,从一段文案开始,没有现成音乐。
  • 想要逐词卡拉OK、按语句切镜、随语音包络起伏的程序化画面。
  • 想基于一首歌做歌词动画(歌曲模式),或在歌上叠旁白(混合模式)。
  • 想在浏览器里可视化编排:拖时间线、改一句文案就重出语音、给场景/帧标 fx。

不适用:需要实拍素材剪辑、或非线性编辑软件已有的工作流。

Workflow

  1. 启动:bun server/index.ts → http://localhost:5174(时间线编辑器,一切都能在网页里做)。 或纯 CLI:bun tools/build.ts(脚本导入+编译)/ --audio(歌曲导入)/ --append(追加)/ --compile。
  2. 导入素材(编辑器 import 面板或 CLI):
    • 脚本:script/script.md,## 块 = 场景条目,每行 = 一句旁白;@gap/@speed/@pause/@scene 微调。
    • 歌曲:先跑 analysis/(uv,Python 对齐流水线)得到 data/lyrics.json + data/audio.json,再导入(bed gain 建议 0.35)。
  3. 编排:拖动/修剪/分割 clip(锁定 clip = 对齐真值,未锁定自动避让);检查器里改文字后按 regenerate voice → TTS 重合成、时长重测、后 clip 自动 ripple、项目自动重编译。
  4. 标注:clip/块上 fx(kind+区间+备注),播放头处打 mark——这些写入 out/plan.md,作为后续效果生成的规划文档。
  5. 预览:compile 后音频就是 audio/voice.wav,编辑器可直接播放;frame 按钮经真实渲染器出当前帧。
  6. 写场景:复制 src/scenes/demo.ts 起步;f.t / f.beat / f.a.kick / audio.env('rms',t) / lyrics.lineAt(t) 是全部输入;禁止 Math.random/Date.now(用种子随机)。
  7. 成片:bun scripts/render.ts video --samples auto --shutter 0.2 --out out/video.mp4(1080p60,--scale 2 真 4K);stills/sheet 迭代单帧与节拍表。

本机环境事实

  • ffmpeg:本机 PATH 的是阉割版(无 libx264);框架已配好优先用完整版 ../GPT-SoVITS-v2/runtime/ffmpeg/bin/ffmpeg.exe(tools/config.ts: ffmpegSearch,可被 CADENCE_FFMPEG 覆盖)。编码器自动探测 libx264 → 硬件 → mpeg4。
  • 浏览器:本机无 Chrome,自动落到 Edge(CADENCE_BROWSER=msedge 可强制)。
  • 中文旁白:自带字体无 CJK 字形。把 Noto Sans SC 等 ttf 放进 public/fonts/,并在 public/fonts/extra.json 里登记 [{"family":"NotoSansSC-700","file":"NotoSansSC-700.ttf"}],场景里 font('NotoSansSC-700', 88)。
  • dev 端口 5173(vite 默认),渲染脚本会自动拉起私服。

References

  • ../cadence/README.md — 全貌与目录
  • ../cadence/docs/EDITOR.md — 编辑器/服务器、project.json 模型、完整 API
  • ../cadence/docs/SCRIPT.md — 脚本格式 + TTS 配置 + 中文注意
  • ../cadence/docs/DATA.md — 渲染数据契约(编译产物)
  • ../cadence/src/scenes/demo.ts — 场景样板(背景/包络线/卡拉OK/状态行)
  • 歌曲模式:../cadence/analysis/(uv 跑 Python,对齐流水线)

© pa001024, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/cadence-video of pa001024/dna-builder.

Open the folder on GitHubat commit 3ed567f

Compare with similar skills

Cadence Video next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cadence Video compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cadence Video this skillpa001024/dna-builder137—~703Automated safety check: PassMIT
Stage EditOrkas-AI/Orkas-VideoStudio499—~2.4kAutomated safety check: PassMIT
Proof Videoopenclaw/openclaw392k—~2.4kAutomated safety check: PassMIT
Stage AssembleOrkas-AI/Orkas-VideoStudio499—~3.4kAutomated safety check: PassMIT
Video ComposeCatCatUncle/openworkbuddy282—~874Automated safety check: PassCustom licence
Vox DirectorAlisa0808/vox-director2.2k—~5.6kAutomated safety check: PassMIT

Similar skills

  • Stage Edit

    Orkas-AI/Orkas-VideoStudio

    Intelligent editing of real user-supplied footage—understand it with transcript/inspected-frame/scene/silence/quality evidence, then choose deterministic timeline operations or a constrained…

    499 GitHub stars~2.4k tokensUpdated 19 days ago
    Media & CreativeAuto-check passed
  • Proof Video

    openclaw/openclaw

    Add subtitles, captions, narration cues, or zoom to a proof video or PR recording using repo-local capture helpers and a system ffmpeg renderer.

    392k GitHub stars~2.4k tokensUpdated today
    Media & CreativeAuto-check passed
  • Stage Assemble

    Orkas-AI/Orkas-VideoStudio

    Deterministically assemble an approved cross-modal EDL (plan.json) into a finished video — produce each segment (edit/compose/generate/provided, delegated to its line), then assemble in ffmpeg…

    499 GitHub stars~3.4k tokensUpdated 19 days ago
    Media & CreativeAuto-check passed
  • Video Compose

    CatCatUncle/openworkbuddy

    图文成片——脚本→分镜卡片图→TTS配音→ffmpeg 拼装成带字幕的竖版/横版视频(口播、知识分享、带货讲解). An agent skill from CatCatUncle/openworkbuddy.

    282 GitHub stars~874 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Vox Director

    Alisa0808/vox-director

    Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end on the Atlas Cloud API + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all…

    2.2k GitHub stars~5.6k tokensUpdated 6 days ago
    Media & CreativeAuto-check passed
  • Video Podcast Maker

    dtsola/xiaoyaosearch

    Turns a topic into a 4K horizontal video podcast through research, scripting, text-to-speech, Remotion rendering and background music, and can learn styles from references.

    1k GitHub stars~3.4k tokensUpdated 9 days ago
    Media & CreativeAuto-check passed

More from pa001024/dna-builder

All 14 skills in this repo
  • Fmodel Unpack

    pa001024/dna-builder

    This skill documents how to use the fmodel-mcp toolkit (a CUE4Parse-based .NET CLI plus a thin Python MCP server) to inspect and export Unreal Engine game assets — pak files, textures, meshes…

    137 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Bun Webview Test

    pa001024/dna-builder

    使用 Bun 1.4 内置的 Bun.WebView 无头浏览器对前端页面(Vue/Vite 等)做端到端冒烟与交互测试。当需要加载页面、真实点击、读取 DOM/应用状态、做断言、截图归档,或对本地开发服务器/静态站点做零依赖的浏览器级验证、可视化巡检、交互回归测试时,应使用本技能。

    137 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Ue4 Pak Mod

    pa001024/dna-builder

    制作与调试 Unreal Engine 4.27 游戏的 pak 模组(模型/网格/资产换皮,如《二重螺旋》Duet Night Abyss)。两条路线:编辑器烘焙(Blender 自由改模型 → UE4.27 cook → pak)与二进制替换(改写已烘焙 .uasset 的导出名/载荷)。当需要「把 A 的模型换成 B 的模型」「让模型能自由导入 Blender…

    137 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Build Creator

    pa001024/dna-builder

    给 dna-builder 里任意角色从零推一套「最优构筑」(BD)的通用方法论:读角色机制 → 辅助候选排列组合 → buff 组(含光环型海妖 / 角色专属如大冲击)→ 定计算方向 → 魔灵与潜质 → 必带 MOD → 用 autoBuild 跑一遍并剔除不合理件 → 消融实验。当需要「给某个角色配一套最优 BD」「这个角色带什么辅助/队友最强」「跑一下 XX…

    137 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Perf Hotspot Profiling

    pa001024/dna-builder

    用 V8 CPU profile 定位 JS/TS 热点函数,并用「同进程交替 A/B + best(min) 统计量 + checksum 锚点」的微基准方法安全地做性能优化。当需要优化计算热点、怀疑某函数耗时占比高、想评估某个优化(含 Wasm/SIMD 等加速路径)是否真有收益、或要建立可回归的性能基准时使用。

    137 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • For Beginer

    pa001024/dna-builder

    《二重螺旋》新手开荒指南(校对至 1.6 版本)。含分阶段开荒流程(历练 35 前 / 35~45 / 45~60 / 60 后)、前期角色与武器获取清单、角色获取循环(深渊→周本→密函商店)、魔之楔六大系列与金 Mod 升级口径、减负活动、灾厄武器四把(棘刺绝响 / 无止无休 / 权火将熄 / 血染织羽)的两条刷取路线与 1.6 配队(暗队 /…

    137 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Cadence Video

What does Cadence Video do?

用 cadence 框架 做"代码渲染、音画同步"的视频:两条并列入口(脚本+TTS 实测时长 / 歌曲分析对齐)写同一份 project.json,可混合;带网页端时间线编辑器(拖拽剪辑、改字重生成语音、场景与帧特效标注)和无头 Chrome+ffmpeg…. Cadence Video is an agent skill from pa001024/dna-builder.

When should I use Cadence Video?

Cadence Video fits situations like: tasks that involve Video production; tasks that involve Text to speech and voice.

How do I install Cadence Video in Claude Code?

Run `npx skills add pa001024/dna-builder --skill cadence-video -a claude-code`. Or copy the skill folder (.agents/skills/cadence-video in pa001024/dna-builder) into .claude/skills/cadence-video in your project. Claude Code loads it when a task matches its description.

How do I install Cadence Video in Codex?

Run `npx skills add pa001024/dna-builder --skill cadence-video -a codex`. Or copy the skill folder (.agents/skills/cadence-video in pa001024/dna-builder) into .agents/skills/cadence-video in your project. Codex loads it when a task matches its description.

Can I use Cadence Video in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pa001024/dna-builder --skill cadence-video -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cadence-video, .gemini/skills/cadence-video, .github/skills/cadence-video and .opencode/skills/cadence-video in your project.

What does Cadence Video need to run?

Going by SKILL.md and its folder, Cadence Video needs the command-line tools its instructions call (bun). Our summary lists: Python 3.

Does Cadence Video access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cadence Video safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cadence Video use?

Cadence Video is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cadence Video use?

About 703 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cadence Video?

Skills that share tags, products or a category with Cadence Video: Stage Edit (Orkas-AI/Orkas-VideoStudio, 499 stars), Proof Video (openclaw/openclaw, 392k stars), Stage Assemble (Orkas-AI/Orkas-VideoStudio, 499 stars) and Video Compose (CatCatUncle/openworkbuddy, 282 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cadence Video?

pa001024 (a GitHub user) maintains it in pa001024/dna-builder, which has 137 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 10, 2026.

Source: pa001024/dna-builder on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.