
Youtube Transcript
This extracts YouTube transcripts and saves them as Markdown files to your Obsidian vault at ~/Brains/brain/. It pulls subtitles via yt-dlp along with metadata like view counts, likes, and upload dates, then formats everything with YAML frontmatter. The transcript gets organized by video chapters if they exist, with timestamps for each segment. It's built for note-taking workflows where you want searchable text from videos without downloading the actual media. One nice touch is the deduplication script to clean up those annoying VTT subtitle artifacts where text accumulates line by line. English subtitles preferred, falls back to Russian.
- skills.sh installs
- 255
- GitHub stars
- 412
- last updated
- Aug 21, 2026
Install
$ npx -y skills add glebis/claude-skills --skill youtube-transcript --agent claude-codeInstalls into .claude/skills of the current project.
Files
YouTube Transcript
Overview
Extract YouTube video transcripts, metadata, and chapters using yt-dlp. Output formatted as Markdown with YAML frontmatter, saved to ~/Brains/brain/ (Obsidian vault).
Quick Start
To extract a transcript from a YouTube video:
python scripts/extract_transcript.py <youtube_url>
Optional: Specify custom output filename:
python scripts/extract_transcript.py <youtube_url> custom_filename.md
Output Format
YAML Frontmatter
The generated Markdown includes comprehensive metadata:
title- Video titlechannel- Channel nameurl- YouTube URLupload_date- Upload date (YYYY-MM-DD)duration- Video duration (HH:MM:SS)description- Video description (truncated to 500 chars)tags- Array of video tagsview_count- View countlike_count- Like count
Body Structure
Transcript organized by video chapters (if available):
## Chapter Title
**00:05:23** Transcript text for this segment.
**00:05:45** Next segment text.
If no chapters exist, all content appears under "## Transcript" heading.
Timestamps formatted as HH:MM:SS for consistency.
Workflow
Sponsors
Details
- Repository
- github.com/glebis/claude-skills
- Category
- Office & Documents
- First seen
- Jun 3, 2026