Index of every page on this site: llms.txt
All skills
Run it yourself

Download a video or audio from YouTube or any other yt-dlp site, at a quality the user picks from a menu. Installs yt-dlp and ffmpeg first if the machine does not have them. Use this skill whenever the user gives a video URL and wants a local copy, says "download this video", "grab this clip", "save this to my machine", "rip the audio", "get this in 4K", or asks for a specific resolution such as 1080p, 1440p or 2160p. Also use it when the user wants their own channel uploads on disk, or wants only the audio track from a video. Use it as well when the user wants one part of a video rather than the whole file, for example "grab the bit at 1:12:30", "clip from 4:10 to 6:30", or a section of a long stream or VOD.

  • 4 files
  • 22.2 KB
  • Updated 3 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/wilpat/skills/yt-download

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈998 tokens on demand. Your agent reads this file only when SKILL.md points to it.

yt-download

A Claude Code skill that downloads a video, or just its audio, from YouTube or any other site yt-dlp supports. Paste a link, pick a quality from a short menu, and the file lands on your machine.

What it does for you

  • Shows the qualities that really exist. Before downloading, it reads the video's formats and offers a menu like 2160p60 (2.16 GB), 1080p60, 720p or Audio only (m4a), each with its true file size. No guessing, and no silent fallback to a lower resolution.
  • Gets real 4K. Above 1080p, YouTube sends video and audio as separate streams. The skill makes sure ffmpeg is there to merge them, so you get the resolution you picked.
  • Files that play everywhere. It prefers AV1 video and AAC audio in an mp4, so downloads open in QuickTime and most editors. When the codecs don't fit an mp4, it writes mkv instead of a broken file.
  • Just the part you want. Ask for "1:12:30 to 1:15:00" of a long stream and it fetches only that range, turning a 2 GB download into a small clip. It explains the trade-off between a frame-accurate cut and keeping the original codec.
  • Audio only. Rip the soundtrack of a video as m4a.
  • Whole playlists and channels. One quality ceiling for every video, a size estimate before it starts, and an archive file so re-running the same command fetches only new uploads.
  • Edit-friendly copies. If you say you'll edit the file, it offers an HEVC or ProRes transcode that scrubs smoothly on Apple Silicon.
  • Sets itself up. If yt-dlp or ffmpeg is missing, it installs them with Homebrew (macOS), pipx or pip (Linux), or winget or scoop (Windows). It never runs sudo; anything that needs a password is handed back to you. It also warns when your yt-dlp is old enough to break.

How to use it

Install it (see below), then just talk to Claude. You don't call the skill by name. Things that trigger it:

  • "Download this video: https://youtu.be/…"
  • "Get this in 4K"
  • "Just rip the audio from this"
  • "Clip 4:10 to 6:30 from this stream"
  • "Save all my channel's uploads at 1080p"

If you name a quality in your request, it skips the menu and downloads straight away.

Install

git clone https://github.com/wilpat/skills.git
cp -R skills/yt-download ~/.claude/skills/

Restart your Claude Code session so it picks up the skill. To stay in sync with this repo, symlink it instead of copying:

ln -s "$PWD/skills/yt-download" ~/.claude/skills/yt-download

Requirements

  • yt-dlp and ffmpeg (installed for you if missing)
  • python3 for the quality menu (optional; it falls back to yt-dlp -F)

What's in this folder

File Purpose
SKILL.md The instructions Claude follows
scripts/check_deps.sh Checks for yt-dlp and ffmpeg, installs them with --install, and flags a stale yt-dlp
scripts/list_qualities.py Turns yt-dlp's 50-row format list into one row per resolution with real sizes

Good to know

  • Private, members-only or age-gated videos need your browser's sign-in. The skill uses --cookies-from-browser (Chrome, Safari, Firefox or Brave).
  • A stream that just ended may not have 4K yet. YouTube publishes the big renditions last, sometimes hours later. The skill tells you rather than handing you 1080p labelled as 4K.
  • Subtitles are off by default, because YouTube rate-limits caption requests and can fail the whole download. Ask for them if you want them.
  • Your own uploads: yt-dlp only gets YouTube's re-encoded copy. For your original master files, use Google Takeout.

Only download content you have the right to keep, and respect each site's terms of service.

Credits

This skill is a wrapper. yt-dlp does the downloading (public domain, Unlicense) and ffmpeg merges, cuts and converts the streams. Neither is bundled here.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 83ac99d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 3 months ago

README badge

README badge for wilpat/skills/yt-download