Agent SkillsIllyism/transcribe-cli › youtube-chapters

youtube-chapters

GitHub

将SRT字幕文件转换为符合YouTube规范的描述章节,包括解析时间戳、识别主题转换并应用格式规则,生成可直接粘贴的视频章节列表。

skills/youtube-chapters/SKILL.md Illyism/transcribe-cli

Trigger Scenarios

用户请求提取视频章节 处理SRT字幕文件以生成时间戳

Install

npx skills add Illyism/transcribe-cli --skill youtube-chapters -g -y
More Options

Use without installing

npx skills use Illyism/transcribe-cli@youtube-chapters

指定 Agent (Claude Code)

npx skills add Illyism/transcribe-cli --skill youtube-chapters -a claude-code -g -y

安装 repo 全部 skill

npx skills add Illyism/transcribe-cli --all -g -y

预览 repo 内 skill

npx skills add Illyism/transcribe-cli --list

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

Same Skill Collection

skills/format-converter/SKILL.md
skills/summarize-transcript/SKILL.md
skills/transcribe/SKILL.md
skills/video-to-social/SKILL.md

Metadata

Files
0
Version
d71b75c
Hash
048b497e
Indexed
2026-08-20 15:23

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 09:26
浙ICP备14020137号-1 $Carte des visiteurs$