Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Clip any video into a narration recap with claude code skill|用 claude code skill 把任何视频剪辑成中文解说视频,支持剪映导出
| Date | Stars |
|---|---|
| 2026-07-24 | 404 |
| 2026-07-25 | 411 |
| 2026-07-28 | 423 |
| 2026-07-30 | 429 |
| 2026-07-31 | 429 |
| 2026-08-06 | 429 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
15.0
growth rate 0.00%/day
# video-recap-skills
[](LICENSE)


中文 · [English](README.en.md)
**在 Claude Code、Codex CLI、OpenCode 或 OpenClaw 里,用一句自然语言把视频变成中文解说成片。** 本地只需要 Python、`ffmpeg` 和一个小米 MiMo API Key;不用 GPU,不用下载模型,macOS / Linux / Windows 均可运行。
## 演示
<video src="https://github.com/user-attachments/assets/aa96bd1d-ce4b-42bd-a7df-439aeb63dd18" width="640" controls></video>
成片之外,还能一键导出**剪映草稿**手动精修,原片、解说、BGM、字幕:
<img alt="导出的剪映草稿:原片、解说、BGM、字幕" src="docs/jianying-export.png" width="100%">
## 这是什么
```mermaid
flowchart LR
video(["视频"]) --> understand["① 理解<br/>场景 · ASR · VLM"]
research["背景调研 · 可选"] -.-> understand
understand --> script["② 导演 · 剪辑 · 写稿<br/>Agent"] --> voiceover["③ 配音<br/>MiMo TTS"] --> assemble["④ 组装<br/>混音 · 字幕"] --> output(["Recap"])
understand -. 剪辑模式 · 先剪后配 .-> cut["剪辑<br/>先剪成片"] -.-> script
classDef io fill:#4f86c6,stroke:#3a6298,color:#fff;
classDef stage fill:#eef6ff,stroke:#4f86c6,color:#1f2937;
classDef opt fill:#f3f4f6,stroke:#9ca3af,color:#475569;
class video,output io;
class understand,script,voiceover,assemble stage;
class research,cut opt;
```
## 为什么用它
- **一个 key 跑全程。** ASR、VLM、TTS 全走[小米 MiMo](https://platform.xiaomimimo.com);本地运行时只有 Python 标准库和 `ffmpeg`,不用 `pip install`。
- **该查资料时先查。** 片名/剧情明确或 brief 提示素材偏薄时,把人物关系、剧情背景存进 `background_research.json`,VLM 才更容易认出谁是谁。
- **先做创作决定,再分配声音。** Agent 先比较剪辑假设,锁定 POV、主线、具体画面与原声锚点;旁白有明确任务时才整块配音,强对白、动作声或沉默可以完整主导一个 beat。七三开只是在素材判断不足时的粗略回退,不是配额。
- **先剪后配,画面对齐。** 剪辑模式先把长视频剪成成片,再对着成片写解说,时间轴天然对齐。
- **多视频也能剪,分析可复用。** 一次传多个视频,按 `source_id` 选段剪成一个成片;每个视频的分析沉淀为文件系统素材库,下次 `grep` 复用、不重算。
- **能接着在剪映里改。** 可选导出 schema-driven 的多轨剪映草稿,原片、解说、BGM、字幕和本地图片叠层都可编辑;视频/音频/图片默认打包进 `Resources/local` 并建立素材索引,clone 或搬目录后仍可用。ffmpeg 仍是最终成片的判定标准。
- **可选 MiMo 成片顾问,不当门神。** 需要时可让 MiMo 在合成前或成片后给出语义/审美建议;缺 key、限流、超时或模型输出异常都只提示,绝不阻断或自动改片。
## 安装
### 1. 通用前置
- Python 3.10+
- `PATH` 上可用的 `ffmpeg`;默认烧录字幕,因此需要带 libass / `subtitles` 滤镜
- 一个[小米 MiMo](https://platform.xiaomimimo.com) API Key,同时驱动 ASR、VLM 和 TTS
```bash
brew install ffmpeg # macOS
sudo apt install ffmpeg # Debian / Ubuntu
choco install ffmpeg # Windows,也可用 scoop / winget
export MIMO_API_KEY=your-mimo-key # macOS / Linux
export MIMO_TOKEN_PLAN_CLUSTER=cn # tp-* key 可选:cn | sgp | ams
```
Windows PowerShell 使用 `$env:MIMO_API_KEY="your-mimo-key"`。按量付费的 `sk-*` key 默认连接 `https://api.xiaomimimo.com/v1`;模型、音色、响度和字幕等高级配置见[配置手册](skills/video-recap/references/config-playbook.md)。
### 2. 选择 Agent 宿主
#### Claude Code
在 Claude Code 内执行:
```text
/plugin marketplace add worldwonderer/video-recap-skills
/plugin install video-recap-skills@video-recap
```
也可以直接说:
```text
安装这个插件:https://github.com/worldwonderer/video-recap-skills
```
#### Codex CLI
```bash
codex plugin marketplace add worldwonderer/video-recap-skills
codex plugin add video-recap-skills@video-recap
```
本地仓库可把第一条命令的源换成目录路径。以上流程已使用隔离的 `CODEX_HOME` 在 Codex CLI `0.144.1` 完成安装烟测。
#### OpenCode
[OpenCode 官方 Agent Skills 文档](https://opencode.ai/docs/skills/)规定项目级技能放在 `.opencode/skills/<name>/SKILL.md`。克隆仓库后,从仓库目录启动 OpenCode:
```bash
git clone https://github.com/worldwonderer/video-recap-skills.git
cd video-recap-skills
mkdir -p .opencode
ln -s ../skills .opencode/skills # macOS / Linux
opencode debug skill
```
Windows 可把 `skills\*` 复制到 `.opencode\skills\`。本 PR 已在 OpenCode `1.14.32` 上实际验证:`opencode debug skill` 能发现全部 6 个技能。日常端到端制作使用 `video-recap`;只做策划或写稿时可调用 `video-script`;其余四个技能负责工具阶段。
#### OpenClaw
克隆仓库后导入 Claude 插件包,并检查技能列表:
```bash
openclaw plugins install ./video-recap-skills
openclaw skills list
```
不要把同一份技能同时注册到多个发现目录,否则可能出现重名或重复触发。
安装完成后,可以让 Agent 自检环境:
```text
检查 video-recap 的运行环境,告诉我 Python、ffmpeg/libass 和 MiMo 配置是否就绪。
```
## 怎么用
直接给出视频Excerpt of 8,163 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:49bb5f0b4ee07626, topic:tts, topic:asr
matched fp:49bb5f0b4ee07626, topic:llm
matched fp:49bb5f0b4ee07626, topic:vlm
matched fp:49bb5f0b4ee07626, topic:ai-agent