mark-chapterslisted
Install: claude install-skill huodebing-alt/Agentic-Headshot-Video-Studio
# Mark Chapters / 章节标记
## When to use / 何时使用
Videos > 5 min where chapter navigation helps retention.
时长 > 5 分钟的视频,章节有助于留存。
## Inputs / 输入
- `workspace/script/script.full.md` (H2 sections).
- `workspace/timeline.json`.
## Output / 输出
- `workspace/youtube/chapters.txt` (one `mm:ss Title` per line, first line `0:00 Intro`).
## Steps / 步骤
1. Walk H2 headers; map each to its segment start time via timeline.
2. Enforce YouTube rules: first chapter at 0:00, minimum 3 chapters, each ≥ 10 s.
3. Emit `chapters.txt`.
## Examples / 示例
```
0:00 Intro
0:42 Why retrieval matters
2:31 How chunking works
```
## Failure recovery / 失败回退
- If < 3 sections, generate auto chapters by even time splits and warn.
- If a chapter < 10 s, merge into the next.