glebis avatar

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-code

Installs 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 title
  • channel - Channel name
  • url - YouTube URL
  • upload_date - Upload date (YYYY-MM-DD)
  • duration - Video duration (HH:MM:SS)
  • description - Video description (truncated to 500 chars)
  • tags - Array of video tags
  • view_count - View count
  • like_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

More from glebis/claude-skills

All 22
1glebis avatargithub-gistglebis/claude-skillsPublish files or Obsidian notes as GitHub Gists. Use when user wants to share code/notes publicly, create quick shareable snippets, or publish markdown to GitHu245skills.sh installs
2daffy0208 avatarapi-integration-builderdaffy0208/ai-dev-standardsBuild reliable third-party API integrations including OAuth, webhooks, rate limiting, error handling, and data sync. Use when integrating with external services244skills.sh installs
3aktsmm avatarbook-writing-workspaceaktsmm/agent-skillsOperate a reusable technical book manuscript workspace with writing structure, reader persona SSOT, review rules, and optional Markdown to Re:VIEW/PDF support. 239skills.sh installs
4nexu-io avatardigital-eguidenexu-io/open-designA two-spread digital e-guide preview — page 1 is a cover (display title, author, "What's inside" stats, table of contents teaser); page 2 is a spread (lesson bo239skills.sh installs
5glebis avatargranolaglebis/claude-skillsThis skill should be used when importing, listing, or exporting Granola meeting recordings and transcripts. Queries Granola's Personal API to list meetings, ext233skills.sh installs
6zstmfhy avatarzlibrary-to-notebooklmzstmfhy/zlibrary-to-notebooklm自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。225skills.sh installs