by jinchenma94
金尘马 AI 视频剪辑:从中文口播原片到纯字幕或暗黑科技风成片的一条龙 Agent Skill
# Add to your Claude Code skills
git clone https://github.com/jinchenma94/jinchenma-ai-video-editingGuides for using ai agents skills like jinchenma-ai-video-editing.
See how jinchenma-ai-video-editing compares with popular alternatives.
jinchenma-ai-video-editing is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by jinchenma94. 金尘马 AI 视频剪辑:从中文口播原片到纯字幕或暗黑科技风成片的一条龙 Agent Skill. It has 71 GitHub stars.
jinchenma-ai-video-editing'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/jinchenma94/jinchenma-ai-video-editing" and add it to your Claude Code skills directory (see the Installation section above). jinchenma-ai-video-editing ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
jinchenma-ai-video-editing is primarily written in Python. It is open-source under jinchenma94 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh jinchenma-ai-video-editing against similar tools.
No comments yet. Be the first to share your thoughts!
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 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.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
一次只请用户判断当前需要决定的事。续剪时先读取项目配置、当前审定稿和已有审核版,沿用用户已选的风格、文档和切点。只处理用户指定的素材,以本地成片为交付终点。
[?建议与理由]。交代「划掉表示剪掉,去掉删除线可恢复,改错别字只改字幕」。收到用户确认后再剪。这是一个给 AI Agent 用的本地中文口播剪辑 Skill。把原片交给 Agent,说「帮我剪个视频」,它会先把口播转成逐字稿。你划掉重录的句子,它按审定稿剪原声、调停顿、加字幕。选 纯字幕 就可以在确认粗剪后导出;选 暗黑科技风,它还会按口播挑选 MG 动画,用你自己的画面、数据和录屏做成片。
先看设备。 完整剪辑流程已在 Apple 芯片 Mac 上验证。基础剪辑用 uv、MLX Whisper 和 FFmpeg;暗黑科技风另外用 Node.js 22+ 和 HyperFrames。逐字稿和动效脚本推荐用飞书审,也可以全程用本地 Markdown。你需要一个能读取本地文件、运行终端命令的 AI Agent,例如 Codex。

把下面整段复制给 Agent。已经下载过仓库的话,也可以把网址换成本地路径。
请帮我安装 jinchenma-ai-video-editing。仓库地址是 https://github.com/jinchenma94/jinchenma-ai-video-editing
先读仓库根目录的 README.md 和 SKILL.md,检查我的系统、芯片和已有工具。
如果给你的是网址,把仓库下载到一个可以长期保留的目录;如果是本地路径,就直接使用。
把整个仓库安装到当前 Agent 支持的用户级 Skills 目录,保留 scripts、assets、references 和 examples。已有同名安装时先核对它指向哪里。
先配好纯字幕需要的环境,运行 scripts/th --help,并检查 FFmpeg 的字幕和时间码滤镜。暗黑科技风、飞书和抠像的依赖,等我用到时再配置。
安装后告诉我 Skill 在哪里、哪些检查通过、还缺什么,以及怎样开始剪第一条视频。
装好后,把视频拖给 Agent,再发一句:
帮我剪这段口播,做纯字幕,用本地 Markdown 审稿。先把重复录的地方划出来给我看。
想做动效,可以直接说:
帮我把这两段口播做成暗黑科技风,按文件顺序剪。逐字稿用飞书审,粗剪确认后给我看分镜表和一小段样片。
手头没有素材时,说「先用仓库自带的《月有圆缺》示例跑一遍暗黑科技风,把成片路径给我」。示例已有字幕和分镜,可直接验证动效渲染。
| 你要做什么 | 需要的工具 | 由谁准备、什么时候用 |
|---|---|---|
| 安装和调用 Skill | 支持本地文件与终端的 Agent | 安装整个仓库。Agent 从根目录的 SKILL.md 开始执行。 |
| 中文转写、对齐原声、拆分字幕 | uv / uvx、Python 3.12、mlx-whisper、NumPy、soundfile、jieba | 准备好 uv 后,scripts/th 会通过 uvx 使用 Python 3.12 并加载依赖。第一次转写会下载模型 mlx-community/whisper-large-v3-turbo,之后在本机处理音频。 |
| 剪辑、审核版、纯字幕成片 | FFmpeg、ffprobe | 两个命令都要能在终端运行。FFmpeg 需要 subtitles 滤镜(libass)烧录字幕、drawtext 滤镜写审核时间码,以及 libx264 / AAC 编码。 |
| 暗黑科技风的动画、字卡、音效 | python3、Node.js 22+、npm / npx、HyperFrames 0.8.214、可供它调用的本地浏览器 | 生成脚本通过 python3 运行。npm exec / npx 按固定版本调用渲染器,动画使用该版本随附的 GSAP。首次使用要能下载工具及所需浏览器资源。 |
| 人物抠像、身后大字 | 已有透明前景,或 macOS Vision、Swift 命令行工具和支持 libvpx-vp9 的 FFmpeg | 需要从原片抠出人物时才调用。已有透明素材可直接用;普通圆窗直接取原片。 |
| 飞书在线审稿 | 当前 Agent 可用的飞书文档工具,或已登录的 lark-cli | 选飞书后提供有读写权限的目标文件夹或知识库节点。选本地 Markdown 时直接审项目文件。 |
给执行任务的 Agent: SKILL.md 是流程入口。基础剪辑从 scripts/th 和剪辑命令开始;收到飞书或动效选择后,再读飞书审稿或暗黑科技风工程说明。用户已经指定的风格、审稿方式和已确认的切点直接沿用。
在已经下载、准备长期保留的仓库根目录执行。软链接指向整份仓库,移动仓库后需要更新链接。
skill_dir="$HOME/.agents/skills"
target="$skill_dir/jinchenma-ai-video-editing"
mkdir -p "$skill_dir"
if [ -e "$target" ] || [ -L "$target" ]; then
ls -ld "$target"
else
ln -s "$PWD" "$target"
fi
在新会话里按名称调用 Skill。也可以直接在仓库目录打开 Agent,说「按这里的 SKILL.md 帮我剪这段视频」。其他 Agent 的安装位置以各自的 Skills 机制为准。
# 基础剪辑:Mac 架构应为 arm64,滤镜输出应包含 subtitles 和 drawtext。
uname -sm
uvx --version
ffprobe -version
ffmpeg -hide_banner -filters | grep -E ' (subtitles|drawtext) '
./scripts/th --help
# 暗黑科技风:再检查 Python、Node.js 和 npm,最后用下方公开示例验证实际渲染。
python3 --version
node --version
npm --version

示例是一条月相科普短片,随库提供讲解者底片、字幕、分镜、日照示意图和月相动画。在仓库根目录执行以下命令,即可在本地渲染这条短片。每次生成选一个新的工程目录。
work=$(mktemp -d)
npm exec --yes --package=hyperframes@0.8.214 -- python3 scripts/dark_tech.py \
examples/studio/source.mp4 examples/studio/scenes.json "$work/studio" \
--captions examples/studio/captions.json
npx -y hyperframes@0.8.214 render "$work/studio" --sdr -q delivery -o "$work/showcase.mp4"
在 examples/studio/scenes.json 中替换标题、插图、动画或聚焦区域,即可重新渲染。
代码和文档采用 MIT License。示例中的讲解者是为本项目生成的虚构亚洲青年男性,使用插画动画和 eSpeak NG 合成旁白;轨道和光照动画为原创科普示意,天体大小和距离未按比例绘制。公开示例和程序合成的音效随本仓库一起使用。模型、字体、渲染器等外部依赖沿用其自身许可。