Video Transcript Downloader

Pulls a clean, readable transcript from YouTube and other video links, and saves the video, MP3 audio or subtitle file when you need it.

Video & Audiotranscriptsyoutubevideo downloadsubtitlesby steipete7.4kGitHub

What it is

Video Transcript Downloader gets the words out of an online video without you watching it or copying captions by hand. It can also save the video itself, its audio as an MP3, or its subtitle file to your computer. It comes from Peter Steinberger's collection of agent scripts and suits students, researchers, writers and creators who want to quote, summarize or reuse a talk, lecture or interview.

The skill gives the agent a small Node.js command-line tool built on yt-dlp, an open-source downloader that supports YouTube and many other video sites. For YouTube it fetches the transcript directly. For other sites, or if that fails, it downloads the subtitle track and cleans it into one flowing paragraph, removing timing codes, repeated caption lines and cues like [Music]. You can ask for timestamps on YouTube transcripts, choose a subtitle language, or list the available formats and pick a specific quality.

Transcripts appear as text in the chat, and downloads go to your Downloads folder unless you name another. Video downloads favor the highest resolution, in MP4 where available. The tool reads existing captions, including auto-generated ones, but does not transcribe speech itself, so a video without captions gives no transcript. Subtitles default to English, and the setup steps point to the author's own folders.

What it can do

  • Prints a YouTube transcript as one clean paragraph, with optional timestamps.
  • Falls back to the subtitle track on other video sites and cleans it into readable text.
  • Removes caption clutter such as timing codes, repeated lines and cues like [Music], or keeps the cues if you ask.
  • Downloads the full video, preferring the best resolution in MP4 format.
  • Saves just the audio as an MP3, or just the subtitle file in the language you choose.
  • Lists every available format and resolution so you can download a specific one.

When to use it

  • You want to summarize a one-hour conference talk on YouTube without watching all of it.
  • You are writing an article and need the exact words a guest said in a video interview so you can quote them.
  • You want a recorded lecture as an MP3 to listen to on a walk.
  • You are editing a short clip and need the source video and its English subtitle file saved locally.

How it works

  1. 1You paste a video link and say whether you want the transcript, the video, the audio or the subtitles.
  2. 2For a YouTube transcript, the agent's script fetches it directly with a transcript library, without saving any files.
  3. 3Otherwise the script asks yt-dlp for the subtitles, including auto-generated ones, in the language you chose.
  4. 4It strips timing codes, tags and repeated lines and joins the text into one paragraph, or saves the subtitle file as it is.
  5. 5For video or audio, yt-dlp downloads the file, using ffmpeg to make the MP3, and the agent tells you where it was saved.

Try asking

“Get me the transcript of this YouTube video: https://www.youtube.com/watch?v=...”
“Give me the transcript of this talk with timestamps”
“Download the audio from this video as an MP3”
“Save this video and its English subtitles to my Downloads folder”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/steipete/agent-scripts/tree/main/skills/video-transcript-downloader
pnpm
pnpm dlx skills add https://github.com/steipete/agent-scripts/tree/main/skills/video-transcript-downloader

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the video-transcript-downloader folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/steipete/agent-scripts.git
mkdir -p ~/.claude/skills
cp -r agent-scripts/skills/video-transcript-downloader ~/.claude/skills/video-transcript-downloader

Then just ask in plain language, for example: “Get me the transcript of this YouTube video: https://www.youtube.com/watch?v=...”