Skip to content
Back to skills

Yt Dlp

ASecurity

Download videos, extract audio, or fetch metadata from YouTube, Twitter/X, Instagram, TikTok, and many more sites.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 14, 2026
ai-agentsapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned June 14, 2026

npx -y skills add lordmacu/nexo-rs --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/lordmacu-yt-dlp/badge)](https://www.skillsdirectory.com/skills/lordmacu-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 videos, extract audio, or fetch metadata from YouTube, Twitter/X, Instagram, TikTok, and many more sites.
requires:
  bins:
    - yt-dlp
  env: []
---

# yt-dlp

Wraps the `yt-dlp` CLI. Use for metadata extraction, format listing, and
(gated) downloads to local disk.

## Use when

- "Download this video" / "grab the audio as mp3"
- "What's the title / duration / channel of this link?"
- Piping into `openai-whisper` for transcription (download audio → whisper)
- Piping into `summarize` with video metadata + captions

## Do not use when

- Live streaming playback — use a media player
- Bulk scraping of large channels — run yt-dlp directly with a queue

## Tools

- `status` — yt-dlp binary version + output dir
- `info` — `url` → title, duration, channel, upload date, webpage URL
- `formats` — `url` → list of available formats (id, ext, resolution, codecs, size)
- `download` — `url` + optional `mode` (`video` default / `audio`), `format` (yt-dlp -f selector),
  `audio_format` (mp3 default / m4a / opus), `output_dir`

## Write gate

`download` requires `YTDLP_ALLOW_DOWNLOAD=true`. Without it, returns `-32041`.

## Env

| Var | Default |
|-----|---------|
| `YTDLP_BIN` | `yt-dlp` |
| `YTDLP_OUTPUT_DIR` | `$TMPDIR/agent-yt-dlp` |
| `YTDLP_ALLOW_DOWNLOAD` | — (must be `true` to download) |

## Typical flow

1. `info` to confirm the URL is valid and preview title/duration.
2. `download` with `mode=audio` for podcast-style content, then feed the
   `output_path` into `openai-whisper` → `summarize`.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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