by Yari-tuber
mv-director:让 AI 读懂歌词、卡准节拍,用代码做音乐 MV 的 skill(Codex / Claude Code)。画风可借 lemo-opuscar、花叔 huashu-art-motion 等风格库。
# Add to your Claude Code skills
git clone https://github.com/Yari-tuber/mv-directorGuides for using ide extensions skills like mv-director.
See how mv-director compares with popular alternatives.
mv-director is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Yari-tuber. mv-director:让 AI 读懂歌词、卡准节拍,用代码做音乐 MV 的 skill(Codex / Claude Code)。画风可借 lemo-opuscar、花叔 huashu-art-motion 等风格库。. It has 50 GitHub stars.
mv-director's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Yari-tuber/mv-director" and add it to your Claude Code skills directory (see the Installation section above). mv-director ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
mv-director is primarily written in Python. It is open-source under Yari-tuber on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other IDE Extensions skills you can browse and compare side by side. Open the IDE Extensions category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mv-director against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
一支好的 MV 同时做到两件事:
AI 自己做 MV 最常见的三种坏样子:
这个 skill 用一套流程和脚本把这三件事管住。画风不是它的事:可以从风格库里挑一种借来用,但点子、故事、画面都由你读懂歌词以后自己构思。
bar9、line3、line3@某个词,不手写秒数。逐字时间必须是强制对齐(song.md 会写来源);不是的话,歌词只能整句出现,不许逐字卡。Math.random()、Date、上一帧的状态。随机用 M.hash(i) / M.rng(种子)。所有脚本在本 skill 的 scripts/,Python 用 python -I,第一个参数是项目文件夹。Windows 报编码错就先设 PYTHONUTF8=1。
python -I scripts/doctor.py # 缺什么、怎么装(安装说明:references/安装.md)
python -I scripts/new_project.py <项目> --song 歌.mp3 --lyrics 歌词.lrc --start 秒 --end 秒 --demucs
--lang English(日语 Japanese、粤语 Cantonese、韩语 Korean……)。--demucs 自动分四轨(鼓、贝斯、人声、其他);已经分好的用 --stems 文件夹。拍点从鼓轨找,逐字时间用人声轨做强制对齐。不分轨也能跑,但拍点可能差半拍,也没法逐字对齐。--start/--end 建一个整首的项目,读它的 song.md 挑一段:
song.json song.md songmap.png audio.wav,模板 index.html scene.js cues.json plan.md,运行库 mv/mv.js,字体 fonts/。读 song.md,看 songmap.png,填 plan.md 第 1 节:速度、段落、大时刻候选、抽鼓、逐字时间来源。
读 references/读懂歌词.md,填 plan.md 第 2–4 节,同时写进 cues.json:
story:这一段在讲什么:谁、发生了什么、情绪怎么走、在什么时代和地方。board:逐句分镜,每一句都要写:
says:字面在说什么;see:画面上具体看到什么;keys:这句里要演出来的原词,1–3 个。see 那一列,没听过这首歌的人也能把歌词意思猜个八九不离十。画风从哪来,听用户的:
references/代码画具体东西.md 里的基础画风。给了风格库、没说要哪种:
用户已经说了要哪种:直接用。用户说「你定」或者说了不要问:自己挑最配的,在 plan.md 写理由。
选好以后读 references/接画风.md:
读 references/代码画具体东西.md:
keys、see 里要出现的东西(人、动物、房子、天气、光、物件、动作)列成零件清单,每样写成一个会动的函数;运行库用法见 references/画面库.md。
写 cues.json(格式见 references/卡点表.md),然后跑:
python -I scripts/cue_lint.py <项目>
"at": "line3");关键词上切第二个镜头或加时刻("at": "line3@某个词")。写 scene.js(零件函数 + 每个镜头),边写边出图:
python -I scripts/render.py <项目> lines # 每句唱到关键词那一刻一张 → out/stills/逐句.jpg
python -I scripts/render.py <项目> bars --debug # 每小节一张
python -I scripts/render.py <项目> moments # 每个大时刻前后 6 帧
python -m http.server):空格播放,←→ 跳小节,D 显示节拍信息。python -I scripts/render.py <项目> video --draft
python -I scripts/check.py <项目> --draft
门槛:
改法见 references/审片.md。
python -I scripts/render.py <项目> video
python -I scripts/check.py <项目>
在项目里写 NOTES.md:
成片是 <项目>/out/mv.mp4。
line3@某个词)。| 文件 | 谁写 | 是什么 |
|---|---|---|
song.json / song.md / songmap.png |
listen.py | 拆解结果和逐字时间(只读) |
plan.md |
你 | 这支 MV 怎么拍(模板:references/立意模板.md) |
cues.json |
你 | story、board(逐句分镜)、镜头、大时刻、歌词上屏 |
scene.js |
你 | 零件函数和每个镜头的画面 |
mv/mv.js |
运行库 | 不要改 |
out/ |
脚本 | cue_map.png、stills/、mv_草稿.mp4、mv.mp4、审片*.md |
出问题看 references/排错.md。
给 Codex、Claude Code 这类 AI 编程助手用的 skill。你给它一首歌和歌词,它会:
画面全部用代码画(HTML Canvas 逐帧渲染),不用生图。
需要 Python 3.9+ 和 ffmpeg,然后:
python -m pip install numpy scipy matplotlib pillow playwright demucs torch transformers
python -m playwright install chromium
demucs:分轨,推荐装。torch + transformers:逐字对齐,强烈推荐装。有 NVIDIA 显卡就装 CUDA 版 torch,没有也能用 CPU。HF_ENDPOINT=https://hf-mirror.com。装完在 skill 文件夹里跑一次 python -I scripts/doctor.py,它会告诉你还缺什么。详细说明见 references/安装.md。
在 Codex 里发:
$skill-installer 安装 https://github.com/Yari-tuber/mv-director(SKILL.md 在仓库根目录,安装时用 --path . --name mv-director)
也可以自己克隆:
git clone https://github.com/Yari-tuber/mv-director ~/.agents/skills/mv-director # Codex
git clone https://github.com/Yari-tuber/mv-director ~/.claude/skills/mv-director # Claude Code
装好后新开一个对话。
想借画风,就把风格库下到你的工作文件夹,比如:
git clone https://github.com/lemomo-ai/lemo-opuscar
花叔的 huashu-art-motion 可以按它的说明装成 skill,也可以 clone 下来。别的风格库也行,只要里面有画风说明。
工作文件夹里放好歌(mp3 / wav)和歌词(带时间的 .lrc 最好;一行一句的纯文本 .txt 也行),然后对 AI 说:
让它翻风格库、推荐几个给你选
用 mv-director 给 song.mp3 做一支 MV,做 30 秒左右,你挑最有戏的一段。
歌是 <歌手> 的《<歌名>》,歌词在 lyrics.lrc。
画风从 lemo-opuscar 里挑:先翻一遍它有哪些画风,按这首歌推荐几个给我选,我选好你再做。
它会列出推荐和全部画风,然后问你。你回一句就行:
就用 <画风名>。
换成花叔的画风库
……画风从花叔的 huashu-art-motion 里挑:先翻一遍有哪些画风,推荐几个给我选。
换成别的风格库
……画风参考 <风格库的文件夹或 GitHub 地址>:先看懂它的画风是怎么组织的,推荐几个给我选。
直接指定画风,不用问
……画风用 lemo-opuscar 的 ink-wash(中国水墨)。
指定段落
……只做 0:45 到 1:20 这一段。
成片在项目文件夹的 out/mv.mp4,制作记录在 NOTES.md。
我们读过、跑过十来个开源的 MV / 画风 skill。它们各有长处,但没有一个把这四件事都串起来、用检查卡住:
| 常见做法 | mv-director | |
|---|---|---|
| 节拍 | 手填速度,或者测了不用 | 分轨后从鼓轨测,加拍减拍的小节也认得 |
| 歌词时间 | 整句时间,字平均点亮 | 逐字强制对齐,中文、英文、日语、粤语都行 |
| 画面演不演歌词 | 一个好看的意象画到尾 | 逐句分镜,检查脚本逐句查:每句画面都要换,关键词那一刻要兑现 |
| 做完验收 | 没有,或者只看技术问题 | 从成片画面里量:字早晚、小节头命中、大时刻、死画面,不过不许交 |
建项目(分轨、测拍、逐字对齐)→ 拆解音乐 → 读懂歌词、逐句分镜 → 选画风(问你)
→ 画风卡、零件清单 → 卡点表(检查)→ 画、逐句出图自查 → 草稿审片(最多三轮)→ 成片
每一步的做法和门槛写在 SKILL.md,细节在 references/。
参考代码/剪纸木偶/:Miranda Dixon-Luinenburg(cyborggirl963)的 paper-cut 引擎,MIT(见同目录 LICENSE-paper-cut.txt)。只作为关节剪影画法的参考,不直接加载。