古人说唱 Battle:一句话做一期 AI 历史人物说唱对决视频的 Claude Code Skill(Suno + Midjourney + MiniMax H3 对口型)
# Add to your Claude Code skills
git clone https://github.com/10291124jcjc-dotcom/ancient-rap-battleGuides for using ide extensions skills like ancient-rap-battle.
Last scanned: 10/16/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-16T08:46:53.459Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how ancient-rap-battle compares with popular alternatives.
ancient-rap-battle is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 10291124jcjc-dotcom. 古人说唱 Battle:一句话做一期 AI 历史人物说唱对决视频的 Claude Code Skill(Suno + Midjourney + MiniMax H3 对口型). It has 237 GitHub stars.
Yes. ancient-rap-battle passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/10291124jcjc-dotcom/ancient-rap-battle" and add it to your Claude Code skills directory (see the Installation section above). ancient-rap-battle ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
ancient-rap-battle is primarily written in Python. It is open-source under 10291124jcjc-dotcom 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 ancient-rap-battle against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery 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.
Automated security scan — not a certification.
两个古人在擂台上当面 diss。成片约 90 秒、16:9、2K,前奏 2.5 秒就开唱,两边各 16 句,每句底下一行史料出处。
全程用中文和用户说话。API Key 只通过环境变量传入,绝不写进文件或记忆。
每期一个文件夹(下面叫 EP),先 python S/setup_check.py(S/ = 本 Skill 的 scripts/,Windows 用 python)。
EP/
episode.json ← 本期设定(从 examples/zhugeliang-vs-simayi/episode.json 复制改)
01_歌词.md ← 给用户看的歌词 + 注释 + 本期改动
song.mp3 refs/*.png 音乐_最终.wav 字幕.srt
seedance/NN_.../ ← 每段的素材包,用户把生成的视频下载回各自文件夹
work/ preview/ final/ cover/
按 references/lyrics-guide.md:赢家后唱;两边各 16 句、严格四句一换韵;一句一个典故,句中用空格分前后半句;后唱的接住前面 3–4 句原话;每句一个照字面演的动作;每句一条史料注释(正史引原文,演义标明)。写之前读往期歌词查重,同一人物不复用旧梗旧句式。
先给用户纯歌词,再给注释,再给「本期改动」。用户挑出像旧梗的句子就换。定稿写进 episode.json(lyrics、notes、shots、look_cn、listen_cn、venue_cn)。
按 references/suno.md:Advanced、Variety 拉到 0;A 一段生成、挑好后 Extend 接 B 一段(Extend from 设在 A 最后一句唱完处),Get Whole Song 下载 MP3 存成 EP/song.mp3。
python S/analyze_song.py EP
看 line check(32 句都唱到)。然后用 whisper 词时间查间奏:Suno 常在口号后自己连唱一段 B 的第一句。剪间奏用 retrim.py,手法见 pitfalls.md「间奏拼接」——用户不接受任何停顿或卡顿:
python S/retrim.py EP --keep 7.36-53.64,63.63-109.8 [--mute ...] [--set b1=62.25]
把 音乐_最终.wav 发给用户听(接口、两人声音分不分得开;不开就 pitch 各 ±1 半音后重跑)。
按 references/midjourney.md 给 9 条提示词:两人各三视图 / 表情四宫格 / 半身(A 朝右、B 朝左),DJ、观众、场景(正面对称)。不做气氛组。逐张看图,复制改名进 EP/refs/。
python S/clean_vocal.py EP # 更干净的人声,只给对口型用
python S/seedance_packs.py EP # 生成 seedance/00_开场 … 10_片尾
每个唱歌的包:人声(从第一个字到下一句开口前,前补 0.3 秒静音)、半身 / 场景 / DJ / 表情图、提示词。提示词里每个镜头写清「X.XX–X.XX 秒唱「半句」」——这是口型一次对好的关键(用户确认,以后每期都这样)。检查每个包的音频首尾字完整。
references/seedance.md)先 480p / 720p,按编号上传图片和音频、粘贴提示词、时长选文件里写的秒数。下载回对应文件夹。满意后用「超清」放大同一条成 2K,存成 2k.mp4。
python S/seedance_align.py EP 03 # 逐镜头对齐,出 preview/03_..._配音乐.mp4
python S/seedance_align.py EP 04 --whole # 用户说「这段没事,按 11 秒对」时
把配音乐的小样发给用户看。用户的眼睛是标准:嘴不对 → 重做那段,或换成对方的反应镜头;画面和歌词对不上 → 先问是不是贴错了提示词。
python S/seedance_assemble.py EP --2k # preview/成片_拼接.mp4(2K 60 帧)
python S/package.py EP --test 0:12 # 先出一小段看字幕
python S/package.py EP # final/<标题>_成片.mp4
包装:开场标题叠在推镜头上、金色字幕(最后两字放大垫红笔刷)、底部史料注释(特粗纯白)、名字卡(A 左 B 右)、片尾提问、水印、调色 B(去胶质感)、开场 / 间奏 / 片尾的现场声。字幕颜色大小、注释、调色都只改 package.py 重新导出,不用重新生成。
python S/cover.py EP --frame <一帧两人对峙的截图>
竖版 3:4 + 横版 16:9。文案:IG(中英双语)、YouTube Shorts(标题中英名字)、抖音 / 小红书(金句开头)+ 话题 + 结尾提问 + 置顶评论投票下期。海外平台(IG / YouTube)优先。
用户有 MiniMax 余额、想批量自动提交时:make_clips.py → h3run.py --estimate(先报价,同意了才提交)→ qa.py / lipcheck.py → assemble.py → package.py。模板见 references/shot-template.md 下半部分。
references/lyrics-guide.md:选题清单、查重、歌词结构、注释、episode.json 字段references/suno.md:设置、两段 Extend、风格模板references/midjourney.md:9 张定妆图references/seedance.md:即梦网页版生成、口型、清晰度references/shot-template.md:整片节奏;H3 的 35 条模板references/pitfalls.md:踩过的坑examples/zhugeliang-vs-simayi/episode.json:Seedance 路线完整示例;examples/zhouyu-vs-zhugeliang/:H3 路线示例一句话做一期:「做一期 曹操 vs 刘备」。 一个 Claude Code Skill,把两个历史上的死对头做成一条 AI 说唱对决短视频:选题写词(每句配史料出处)、做歌、定妆、用即梦 Seedance 2.5 分段生成、自动对口型、剪辑、字幕包装、封面文案,一条龙。
完全免费、开源(MIT)。
周瑜拿正史打,诸葛亮拿演义还手。1 分 42 秒,34 句原创歌词,视频生成花了约 16 美元。
https://github.com/user-attachments/assets/9c620e92-4e5d-4da9-93ff-3ef39cfedbe6
![]() |
![]() |
| 步骤 | 谁来做 |
|---|---|
| 1. 选题、写两段 battle 歌词(各 16 句、四句一韵、一句一个典故、每句配史料注释,自动和往期查重) | Claude 写,你确认 |
| 2. 做歌(A 先生成,再用 Extend 接 B,两人声音分得开) | 你在 Suno 生成(Claude 给好每一栏) |
| 3. 分离人声、识别每句时间、剪短前奏、无缝拼接间奏 | 全自动 |
| 4. 定妆图 9 张(两人三视图 / 表情 / 半身、DJ、观众、场景) | 你在 Midjourney 生成(Claude 给好提示词) |
| 5. 生成 11 个素材包:每段的人声、参考图、写好「几秒到几秒唱哪半句」的提示词 | 全自动 |
| 6. 在即梦网页版上传、生成、下载,满意了放大到 2K | 你 |
| 7. 逐镜头对齐口型(Seedance 唱快唱慢都能挪回音乐上),每段出配音乐小样 | 全自动 |
| 8. 拼接、调色(去 AI 胶质感)、金色字幕、史料注释条、名字卡、开场标题、片尾提问、水印 | 全自动 |
| 9. 封面(竖版 + 横版)和 IG / YouTube / 抖音文案 | 全自动 |
口型能一次对好,靠的是这几条默认规则:每段提示词按半句写清开口和结束的秒数(精确到 0.01 秒)、一句一个镜头、给模型干净且切准的人声、生成后再按镜头自动校准。完整清单见 references/pitfalls.md,即梦网页版的操作见 references/seedance.md。
也保留了 MiniMax H3 API 路线(批量自动提交、按秒计费),见 SKILL.md。
winget install Gyan.FFmpeg)pip install demucs faster-whisper pypinyin soundfile scipy numpy pillow(第一次会下载约 2GB 的模型)git clone https://github.com/10291124jcjc-dotcom/ancient-rap-battle.git ~/.claude/skills/ancient-rap-battle
Windows 上把 ~/.claude/skills 换成 %USERPROFILE%\.claude\skills。然后在 Claude Code 里说:
做一期 岳飞 vs 秦桧
Claude 会先跑环境检查,再一步步带你做完。
SKILL.md Claude 的操作手册
scripts/ analyze_song / retrim / clean_vocal / seedance_packs / seedance_align /
seedance_assemble / package / cover(H3 路线:make_clips / h3run / qa / lipcheck / assemble)
references/ 写词规则、Suno、Midjourney、即梦 Seedance、分镜模板、踩坑清单
examples/ 诸葛亮 vs 司马懿(Seedance 路线)、周瑜 vs 诸葛亮(H3 路线)的完整设定
硅基废话(X:@DDJCXX)。做出来的视频欢迎 @ 我。