YouTube Transcript
Extracts clean, deduplicated plain-text transcripts from YouTube videos using yt-dlp.
Dependencies
yt-dlp(must be installed and on PATH)- Python 3.10+
Usage
Fetch a transcript and save it to a file:
python3 .pi/skills/youtube-transcript/yt_transcript.py "YOUTUBE_URL" -o transcript.txt
Options:
-l LANG— subtitle language code (default:en)-o FILE— output file path (default: stdout)
Workflow
When the user gives a YouTube URL:
- Fetch transcript — Run the script, optionally with
-o <path>to save to a file. - Review — Read through the transcript and summarise the key points if the user asks.
