youtube-srt

Community

Turn YouTube captions into clean SRT

Authorzlovexforever
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill turns YouTube subtitles for a specific video into properly segmented, non-overlapping SRT files, avoiding mistakes caused by playlist or extra query parameters.

Core Features & Use Cases

  • Exact video subtitle extraction: Downloads captions for the requested video ID using a no-playlist workflow and verifies the downloaded subtitles match that ID.
  • Clean SRT with safer timing: Parses yt-dlp json3 subtitle data, deduplicates rolling-caption overlap, groups words into sentence-like blocks, and trims overlaps to prevent collisions.
  • Language-first workflow for translations: Defaults to English subtitles (with clear language candidates), while still allowing explicit Chinese subtitle selection when requested.
  • Use Case: When you paste a YouTube URL that includes list or other parameters, you can reliably get the correct video’s subtitles as a local .srt file for editing, translation, or playback tooling.

Quick Start

Use the youtube-srt skill with the YouTube watch URL you want (including any list parameters) to generate an SRT file for that exact video.

Dependency Matrix

Required Modules

yt-dlp

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: youtube-srt
Download link: https://github.com/zlovexforever/zlx-claude-skills/archive/main.zip#youtube-srt

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.