skillfed

youtube-transcribe-skill

This skill downloads subtitles from YouTube videos using yt-dlp and converts them into timestamped plain-text files. It handles multiple subtitle languages with configurable preferences, supports various YouTube URL formats including Shorts and live streams, and can retry with browser cookies when videos require authentication. Output is saved to your chosen directory with line counts reported.

youtube-transcribe-skill extracts YouTube video subtitles and transcripts as timestamped text files saved locally.

AI-generated summary based on this skill's SKILL.md

223 29 MIT updated by feiskyer

Install

feiskyer/codex-settings/youtube-transcribe-skill · repository language: Python

git clone https://github.com/feiskyer/codex-settings
cp -r codex-settings/skills/youtube-transcribe-skill ~/.claude/skills/youtube-transcribe-skill
npx skillfed install feiskyer/codex-settings/youtube-transcribe-skill

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I download YouTube subtitles with youtube-transcribe-skill?

youtube-transcribe-skill downloads subtitles from YouTube videos using yt-dlp and saves them as timestamped plain-text files to your chosen directory. Simply provide a YouTube URL—the skill handles standard videos, Shorts, and live streams—and it will extract and convert the captions into a searchable text file with line counts reported.

Can youtube-transcribe-skill extract captions from YouTube video URLs?

Yes. youtube-transcribe-skill extracts captions from YouTube video URLs in your preferred language. It supports multiple subtitle languages with configurable preferences, so you can specify which language captions to download if multiple options are available on the video.

What does youtube-transcribe-skill do to get transcripts from YouTube?

youtube-transcribe-skill retrieves transcripts by downloading subtitles from YouTube videos and converting them into timestamped plain-text format. It supports various YouTube URL formats and can retry with browser cookies when videos require authentication, making it useful for age-restricted or membership-required content.

Can I save YouTube video subtitles locally with this skill?

Yes. youtube-transcribe-skill saves YouTube subtitles locally as plain-text files to your chosen directory. The output includes timestamps for each subtitle line, making the saved transcripts searchable and easy to reference later.

Does youtube-transcribe-skill work with age-restricted videos?

youtube-transcribe-skill can retrieve transcripts from age-restricted or membership-required videos by retrying with browser cookies when needed. This allows you to access subtitles from videos that normally require authentication or special permissions.

What license does youtube-transcribe-skill use?

youtube-transcribe-skill is released under the MIT license, allowing free use, modification, and distribution with minimal restrictions.

SKILL.md

rendered from the published skill — quoted content, verbatim

YouTube Transcript Extraction

Use the bundled scripts/transcribe_youtube.py wrapper for the primary workflow. It downloads subtitles with yt-dlp, selects the preferred language, converts WebVTT cues into timestamped plain text, and reports the output path and line count.

Requirements

  1. Install yt-dlp and confirm yt-dlp --version succeeds.
  2. Resolve the absolute directory containing this SKILL.md; refer to it as <skill-dir>.
  3. Keep the output in the user's current working directory unless they request another location.

The Python wrapper itself uses only the standard library. It can display --help without yt-dlp being installed.

Primary workflow

Run without browser cookies first:

python3 "<skill-dir>/scripts/transcribe_youtube.py" \
  "<youtube-url>" \
  --output-dir "$PWD"

The default language preference is Simplified Chinese, Traditional Chinese, other Chinese variants,

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 4 files
skills/youtube-transcribe-skill/SKILL.md
skills/youtube-transcribe-skill/agents/openai.yaml
skills/youtube-transcribe-skill/scripts/transcribe_youtube.py
skills/youtube-transcribe-skill/tests/test_transcribe_youtube.py

Related skills

Tags

video-to-text caption-extraction subtitle-downloader timestamp-preservation multi-language-support cli-automation browser-fallback authentication-handling batch-processing-ready