Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
eyadsibai avatar

Youtube Transcribe

  • 66 installs
  • 7 repo stars
  • Updated January 15, 2026
  • eyadsibai/ltk

Helps with ai & agent building tasks.

About

youtube-transcribe is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • youtube-transcribe
  • AI & Agent Building
  • AI-coding skill

Youtube Transcribe by the numbers

  • 66 all-time installs (skills.sh)
  • Ranked #6,006 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
npx skills add https://github.com/eyadsibai/ltk --skill youtube-transcribe

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs66
repo stars7
Last updatedJanuary 15, 2026
Repositoryeyadsibai/ltk

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

YouTube Transcript Extraction

Extract subtitles and transcripts from YouTube videos.

---

Methods

MethodToolWhen to Use
CLIyt-dlpFast, reliable, preferred
BrowserChrome automationFallback when CLI fails
APIyoutube-transcript-apiPython programmatic access

---

yt-dlp Method (Preferred)

Basic Command

yt-dlp --write-auto-sub --write-sub --sub-lang en --skip-download -o "%(title)s.%(ext)s" "VIDEO_URL"

Key Flags

FlagPurpose
--write-subDownload manual subtitles
--write-auto-subDownload auto-generated subtitles
--sub-lang LANGSpecify language (en, zh-Hans, etc.)
--skip-downloadDon't download video
--cookies-from-browser chromeUse browser cookies for restricted videos

Common Issues

IssueSolution
Sign-in requiredAdd --cookies-from-browser chrome
No subtitles foundVideo has no captions available
Age-restrictedUse cookies from logged-in browser

---

Browser Automation Fallback

When CLI fails, use browser automation:

1. Open video page - Navigate to YouTube URL 2. Expand description - Click "...more" button 3. Open transcript - Click "Show transcript" button 4. Extract text - Query DOM for transcript segments

DOM Selectors

ElementSelector
Transcript segmentsytd-transcript-segment-renderer
Timestamp.segment-timestamp
Text.segment-text

---

Output Formats

FormatExtensionUse Case
VTT.vttWeb standard, includes timing
SRT.srtVideo editing, media players
TXT.txtPlain text, no timing

Convert VTT to Plain Text

# Strip timing and formatting
sed '/^[0-9]/d; /^$/d; /WEBVTT/d; /-->/d' video.vtt > video.txt

---

Language Codes

LanguageCode
Englishen
Chinese (Simplified)zh-Hans
Chinese (Traditional)zh-Hant
Spanishes
Multipleen,es,zh-Hans

---

Best Practices

PracticeWhy
Try manual subs firstHigher quality than auto-generated
Use cookies for restrictedAvoids sign-in errors
Check multiple languagesSome videos have better subs in other languages
Verify transcript existsNot all videos have captions

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.