$npx skillfedfor your agent

yt-dlp

yt-dlp lets you grab YouTube content—videos, audio tracks, or transcripts—in the format you need. Extract audio as MP3, pull full videos, or fetch subtitles and transcripts as VTT files.

yt-dlp downloads YouTube videos, audio, and subtitles in your choice of format.

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

176 21 MITupdated by ykdojo

Decision gist · record as of 2026-07-24

yt-dlp downloads YouTube videos, audio, and subtitles in your choice of format. yt-dlp lets you grab YouTube content—videos, audio tracks, or transcripts—in the format you need. Extract audio as MP3, pull full videos, or fetch subtitles and transcripts as VTT files.

manual: git clone https://github.com/ykdojo/safeclaw → cp -r safeclaw/setup/skills/yt-dlp ~/.claude/skills/yt-dlp
setup/skills/yt-dlp/SKILL.md · version 39ea76b5

Use it when

  • yt-dlp extracts audio from YouTube videos as MP3 or other formats using the `-x` flag combined with `--audio-format mp3`.
  • yt-dlp retrieves and saves YouTube subtitles and transcripts as VTT files.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

ykdojo/safeclaw/yt-dlp · repository language: HTML

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

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

How do I download YouTube videos using yt-dlp?

yt-dlp downloads YouTube videos in various formats and quality levels. Run `yt-dlp [URL]` to save a video locally. You can specify quality with `-f` (format) flags, choose resolution, and select video codecs. yt-dlp handles authentication, age-gated content, and automatically fetches the best available quality by default.

How to extract audio from YouTube as MP3 with yt-dlp?

yt-dlp extracts audio from YouTube videos as MP3 or other formats using the `-x` flag combined with `--audio-format mp3`. Run `yt-dlp -x --audio-format mp3 [URL]` to download just the audio track. You can also specify audio quality with `--audio-quality` to control the bitrate of your extracted file.

Can yt-dlp get YouTube subtitles and transcripts?

yt-dlp retrieves and saves YouTube subtitles and transcripts as VTT files. Use `--write-subs` to download available captions and `--write-auto-subs` for auto-generated transcripts. Combine with `--sub-langs` to target specific languages. yt-dlp also fetches video metadata like title, duration, and description automatically.

What is yt-dlp and how do I install it?

yt-dlp is a command-line tool for downloading YouTube content—videos, audio, subtitles, and transcripts. Licensed under MIT, it automates bulk downloads via command line. Install via pip with `pip install yt-dlp` or download binaries from the GitHub repository. It works on Windows, macOS, and Linux.

Can I batch download YouTube playlists with yt-dlp?

yt-dlp automates bulk YouTube content downloads via command line, including entire playlists. Use `yt-dlp [PLAYLIST_URL]` to download all videos in a playlist. Add `-x --audio-format mp3` to extract audio from each video, or `--write-subs` to grab subtitles for the entire batch in one command.

What formats and quality options does yt-dlp support?

yt-dlp downloads YouTube videos in various formats and quality levels. List available formats with `-F` to see all options. Use `-f best` for highest quality, `-f worst` for smallest file size, or specify exact format codes. yt-dlp supports MP4, WebM, MKV, and other containers with customizable video and audio codecs.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

yt-dlp

Download YouTube videos, audio, and subtitles/transcripts.

Setup

Check if yt-dlp is installed, and download it if not:

if ! command -v yt-dlp &>/dev/null && [ ! -f ~/yt-dlp ]; then
  curl -sL https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/yt-dlp && chmod +x ~/yt-dlp
fi

Then use ~/yt-dlp (or just yt-dlp if installed globally).

Examples

Download subtitles/transcript:

~/yt-dlp --write-auto-sub --sub-lang en --skip-download -o "/tmp/%(id)s" <url>

Download audio only:

~/yt-dlp -x --audio-format mp3 -o "/tmp/%(title)s.%(ext)s" <url>

Download video:

~/yt-dlp -o "/tmp/%(title)s.%(ext)s" <url>

Get video info (title, duration, description):

~/yt-dlp --print title --print duration_string --print description --no-download <url>

Notes

  • Subtitles are saved as .vtt files - read them to get the transcript
  • Use /tmp/ for downloads to avoid cluttering the working directory
File tree — 1 file
setup/skills/yt-dlp/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Download YouTube videos in various formats and quality”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Video Download
by calesthio · calesthio/OpenMontage

Fetch videos and audio directly from URLs using yt-dlp, supporting YouTube and over 1000 other platforms. Extract audio tracks, retrieve captions in multiple languages, or inspect metadata without storing files. Customize resolution, format, and output paths to fit your needs.

AGPL-3.0for claude-codeupdated Jul 2026
★ 42,764repo stars
gdoc
by ykdojo · ykdojo/safeclaw

gdoc retrieves the complete text of publicly shared Google Docs by converting the document URL to its mobile view and downloading it with curl. This approach captures the full document content without the summarization or truncation that other methods introduce.

MITupdated Jul 2026
★ 176repo stars
slack
by ykdojo · ykdojo/safeclaw

This skill provides read-only access to your Slack workspace, letting you retrieve messages from channels and direct messages, list users and channels, and search across conversations. All operations are non-destructive—you can browse and query but cannot send or modify anything.

MITupdated Jul 2026
★ 176repo stars
Video Downloader
by eyadsibai · eyadsibai/ltk

Video Downloader helps you save videos from online sources for offline access with flexible quality and format controls. Choose from multiple resolutions, extract audio as MP3 or M4A, download playlists, and customize output locations using yt-dlp commands.

no license declared → metadata onlyupdated Jan 2026
★ 6repo stars
Youtube Transcribe
by eyadsibai · eyadsibai/ltk

Pull transcripts and captions directly from YouTube videos using multiple extraction methods. Supports manual and auto-generated subtitles across languages, with output in VTT, SRT, or plain text formats for editing and accessibility.

no license declared → metadata onlyupdated Jan 2026
★ 6repo stars
media-downloader
by MemTensor · MemTensor/skills-vote

Media Downloader pulls video and audio from over 1500 websites using yt-dlp, letting you choose resolution (480p through 4K), grab subtitles in multiple languages, and download entire playlists. Customize output naming, handle authentication across platforms, and manage format selection with precise control.

MITupdated Jul 2026
★ 293repo stars

More skills video-summarizer (MIT) · yt-search-download (MIT) · Youtube Render Pdf (GPL-3.0)

Tags
media-extractioncli-toolbatch-processingsubtitle-captureaudio-conversionvideo-archivaltranscript-generationcontent-download