youtube-transcript

Extract YouTube transcripts and metadata into Markdown with YAML frontmatter.

345|52|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/glebis/claude-skills --skill youtube-transcript-glebis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript
Source: https://github.com/glebis/claude-skills/tree/main/youtube-transcript
Command: npx skills add https://github.com/glebis/claude-skills --skill youtube-transcript-glebis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yt-dlp, and includes scripts (resource) components.

What problem does it solve?

YouTube makes video content difficult to reuse in text-based workflows; this skill extracts transcripts, metadata, and chapters and saves them as Markdown in an Obsidian vault, enabling quick search and reference.

Core Features & Use Cases

  • Extracts video transcripts and subtitles via yt-dlp and formats them with YAML frontmatter for Obsidian.
  • Groups transcript entries by chapters when available and preserves timing for navigation.
  • Outputs a clean Markdown document to the local vault for instant knowledge capture and content reuse.

Quick Start

Run the script to generate a transcript for a YouTube URL and save it to your Obsidian vault.

Frequently Asked Questions about youtube-transcript

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

FAQPage Schema
How do I extract a YouTube transcript into Markdown for Obsidian?

To extract a YouTube transcript into Markdown, the skill processes video URLs to fetch subtitles and metadata, formatting the text with YAML frontmatter and chapter groupings directly into an Obsidian vault file.

Do I need yt-dlp to download YouTube subtitles and metadata?

Yes, you need yt-dlp installed as a dependency. The script uses it to fetch video data and VTT subtitle files, which are then parsed, deduplicated, and formatted into a clean Markdown document.

Can I group YouTube transcript entries by video chapters?

Yes, you can group YouTube transcript entries by chapters. The skill parses available chapter data from the video, organizes the text segments accordingly, and preserves timing for easy navigation within the Markdown file.

What is the best way to save YouTube video metadata with YAML frontmatter?

The best way to save YouTube metadata with YAML frontmatter is using a dedicated extraction script that captures video details and subtitles, formatting them into a structured Markdown document for local knowledge management.

Why are my extracted YouTube subtitles duplicated in the Markdown output?

YouTube subtitle VTT files often contain duplicate sequential entries. The script applies a deduplication process to parse these entries and remove redundancies, ensuring a clean transcript in the final Markdown output.