Skill Detail

YouTube Chapter Generator from Transcripts

Extracts YouTube video transcripts via the youtube-transcript-api Python library and generates semantic chapter markers. Uses sentence-transformers for topic segmentation and formats chapter timestamps for YouTube description metadata compliance.

Media & TranscriptionOpenClaw
Media & Transcription OpenClaw Security Reviewed
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill youtube-chapter-generator-transcripts Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Google account, Google Cloud project, YouTube Data API v3 enabled, and OAuth 2.0 credentials or an API key as supported
Install & setup
Create a Google Cloud project, enable the YouTube Data API v3, configure credentials, then call the API endpoints documented at the source URL.
Author
Google
Last updated
Mar 24, 2026
Quick brief

The YouTube Chapter Generator analyzes video transcripts to automatically create semantically meaningful chapter markers that enhance viewer navigation and SEO discoverability. It uses natural language processing to identify topic boundaries within long-form video content.

How it works

What this skill actually does

Overview

Key Capabilities

This skill extracts transcripts using the youtube-transcript-api Python library, supporting both auto-generated and manual captions across multiple languages. It applies sentence-transformers models for computing semantic similarity between transcript segments, identifying natural topic transition points through embedding cosine distance analysis.

Chapter Generation

Segments are clustered using a sliding window approach with configurable minimum chapter duration and similarity thresholds. Each chapter receives an auto-generated title based on extractive summarization of the segment content. Output is formatted as YouTube-compatible chapter timestamps (00:00 format) with titles that comply with YouTube’s description metadata requirements and character limits for optimal search result display.