Agent Skills
› Illyism/transcribe-cli
› youtube-chapters
youtube-chapters
GitHub将SRT字幕文件转换为符合YouTube规范的描述章节,包括解析时间戳、识别主题转换并应用格式规则,生成可直接粘贴的视频章节列表。
Trigger Scenarios
用户请求提取视频章节
处理SRT字幕文件以生成时间戳
Install
npx skills add Illyism/transcribe-cli --skill youtube-chapters -g -y
SKILL.md
Frontmatter
{
"name": "youtube-chapters",
"description": "Extract structured YouTube video description chapters with accurate timestamps from SRT subtitle files. Use whenever the user asks for YouTube chapters, video timestamps, or description markers from a transcript."
}
Extract YouTube Description Chapters
Convert .srt subtitle files generated by @illyism/transcribe into formatted YouTube chapters ready to paste into video descriptions.
Generation Procedure
Walk this process to produce YouTube-compliant chapter timestamps:
1. Parse SRT timestamps and text blocks.
2. Identify major topic transitions in the text.
3. Apply YouTube Chapter Rules:
├── Rule 1: First chapter MUST start at 00:00.
├── Rule 2: Minimum 3 chapters total.
├── Rule 3: Minimum 10 seconds per chapter duration.
└── Rule 4: Timestamp format MUST be MM:SS (or HH:MM:SS if duration > 1 hour).
4. Output format: `TIMESTAMP - Chapter Title` (one per line).
Chapter Title Formatting
- Length: Keep titles between 2 and 6 words.
- Style: Action-oriented, descriptive nouns/verbs. Avoid vague titles like "Section 1" or "Part 2".
- Capitalization: Title Case or Sentence case.
Example Output
00:00 - Why Video Hooks Fail
00:42 - Analyzing the Watch Time Graph
01:15 - Three Rules for Better Retention
02:30 - Final Recommendations
Version History
- 0983893 Current 2026-08-20 15:23


