yt-chapters

Installation
SKILL.md

yt-chapters

python3 "$SKILL_DIR/chapters.py" transcript.srt --target 8

Before running the helper, set SKILL_DIR to the full path to the directory containing this SKILL.md. Claude Code provides that path as CLAUDE_SKILL_DIR; other agents should resolve it from the loaded skill file. Do not assume the user's working directory is the skill directory.

YouTube's chapter rules

A chapter list that breaks any of these silently does not become chapters at all - the block just sits in the description doing nothing:

  • The first entry must be 00:00.
  • There must be at least three.
  • Each must be at least 10 seconds long.
Installs
10
GitHub Stars
1
First Seen
Oct 29, 2026