split-youtube-chapters

Extract YouTube video chapters into a hierarchical readings tree with markdown files.

282|23|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/team-attention/stanford-cs146s-kr --skill split-youtube-chapters
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: split-youtube-chapters
Source: https://github.com/team-attention/stanford-cs146s-kr/tree/main/.claude/skills/split-youtube-chapters
Command: npx skills add https://github.com/team-attention/stanford-cs146s-kr --skill split-youtube-chapters

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts YouTube video content into a hierarchical readings structure by extracting chapters and mapping them into a parent readings entry with child readings for each chapter. The process facilitates navigation, offline reading, and translation workflows by generating the necessary readings.ts structure and per-chapter markdown files.

Core Features & Use Cases

  • Automated generation of a parent readings.ts entry with isParent: true and a children array for each chapter.
  • Creation of per-chapter markdown files under the docs/week{N}/{slug}/kr/ path for translation-ready content, when translations exist.
  • Output suitable for static site loaders and dynamic readings UI, enabling chapter-based navigation.

Quick Start

  • Use the skill by running: /split-youtube-chapters <week/slug>.
  • Example: /split-youtube-chapters week1/deep-dive-llms.

Frequently Asked Questions about split-youtube-chapters

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I split YouTube video chapters into separate markdown files?

You can split YouTube video chapters into separate markdown files by running the command /split-youtube-chapters <week/slug>. This automatically extracts chapters and generates per-chapter markdown files under the docs/week{N}/{slug}/kr/ path.

What is the best way to structure YouTube lectures for a static site readings UI?

Structuring YouTube lectures for a static site readings UI involves generating a parent readings.ts entry with isParent: true and a children array. This approach maps each video chapter into child readings, enabling chapter-based navigation and offline reading.

How do I generate a readings.ts tree from a YouTube course?

You generate a readings.ts tree from a YouTube course by mapping video chapters into a parent readings entry with a children array. This Skill automates the generation of the readings.ts structure, creating a parent reading with multiple child readings for each chapter.

Do I need external tools to extract YouTube chapters into a readings structure?

No external tools are required to extract YouTube chapters into a readings structure. The functionality is implemented entirely through repository scripts and markdown metadata, relying only on the project's standard tooling to generate the readings.ts structure and per-chapter markdown files.

Can I use this chapter extraction method for translation-ready content?

Yes, you can use this chapter extraction method for translation-ready content. It creates per-chapter markdown files under the docs/week{N}/{slug}/kr/ path specifically to facilitate translation workflows when translations exist, outputting content suitable for static site loaders.