Skip to content
Back to skills

Yt Dlp

ASecurity

Download YouTube videos, audio, and subtitles/transcripts using yt-dlp.

  • 184 stars
  • 0 votes
  • 2 copies
  • 12 views
  • Added May 26, 2026
toolsbashgit

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned May 27, 2026

npx -y skills add ykdojo/safeclaw --skill yt-dlp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Yt Dlp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Yt Dlp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ykdojo-yt-dlp/badge)](https://www.skillsdirectory.com/skills/ykdojo-yt-dlp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: yt-dlp
description: Download YouTube videos, audio, and subtitles/transcripts using yt-dlp.
---

# yt-dlp

Download YouTube videos, audio, and subtitles/transcripts.

## Setup

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

```bash
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:
```bash
~/yt-dlp --write-auto-sub --sub-lang en --skip-download -o "/tmp/%(id)s" <url>
```

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

Download video:
```bash
~/yt-dlp -o "/tmp/%(title)s.%(ext)s" <url>
```

Get video info (title, duration, description):
```bash
~/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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.