yt-dlp-downloader

yt-dlp-downloader is a skill for Claude Code, Codex from flthibau/sample-OpenClaw-on-Azure-with-AI-Foundry. It costs 97 tokens per session (1,694 once invoked), scanned A, original, MIT.

A procedure for downloading online videos and audio with yt-dlp, a command-line downloader. It supports YouTube, Bilibili, Twitter, and many other websites.

In plain words
What is it for?
Use it to download a video from a URL, save only its audio, fetch subtitles, or choose where and in what quality the file is saved.
Why use it?
It provides ready-to-use commands for saving videos, extracting MP3 audio, downloading subtitles, and choosing video quality, including browser cookies when YouTube blocks access.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to download a video from a URL, save only its audio, fetch subtitles, or choose where and in what quality the file is saved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt-dlp-downloader-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add flthibau/sample-OpenClaw-on-Azure-with-AI-Foundry --skill yt-dlp-downloader-skill
Clone the repo
git clone --depth 1 https://github.com/flthibau/sample-OpenClaw-on-Azure-with-AI-Foundry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yt-dlp-downloader

README.md
[![agentmods](https://agentmods.dev/badge/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt-dlp-downloader-skill/github.svg)](https://agentmods.dev/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt-dlp-downloader-skill)
Your own site
<a href="https://agentmods.dev/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt-dlp-downloader-skill"><img src="https://agentmods.dev/badge/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt-dlp-downloader-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yt-dlp-downloader

Your own site · 80×15
<a href="https://agentmods.dev/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt-dlp-downloader-skill"><img src="https://agentmods.dev/badge/skills/flthibau/sample-openclaw-on-azure-with-ai-foundry/yt-dlp-downloader-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,694 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01694
Opus 5.5 $0.00039 $0.00678
Sonnet 5.5 $0.00019 $0.00339
Haiku 4.5 $0.00010 $0.00169

Measured 2mo ago against content hash d37357ff0ac8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yt-dlp-downloader scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/yt-dlp-downloader-skill/SKILL.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

yt-dlp Video Downloader

Download videos from thousands of websites using yt-dlp.

Prerequisites

Before downloading, verify dependencies are installed:

# Check yt-dlp
which yt-dlp || echo "yt-dlp not installed. Install with: pip install yt-dlp"

# Check ffmpeg (required for audio extraction and format merging)
which ffmpeg || echo "ffmpeg not installed. Install with: brew install ffmpeg"

If not installed, install them first:

pip install yt-dlp
brew install ffmpeg  # macOS

Quick Start

Basic Download (Best Quality)

yt-dlp -P "~/Downloads/yt-dlp" "VIDEO_URL"

YouTube Download (Recommended - with cookies)

YouTube often blocks direct downloads with 403 errors. Always use browser cookies for YouTube:

yt-dlp -P "~/Downloads/yt-dlp" --cookies-from-browser chrome "YOUTUBE_URL"

Supported browsers: chrome, firefox, safari, edge, brave, opera

Download with Custom Output Path

yt-dlp -P "/path/to/save" -o "%(title)s.%(ext)s" "VIDEO_URL"

Common Tasks

1. Download Video (Default - Best Quality)

yt-dlp -P "~/Downloads/yt-dlp" "VIDEO_URL"

2. Extract Audio Only (MP3)

yt-dlp -P "~/Downloads/yt-dlp" -x --audio-format mp3 "VIDEO_URL"

3. Download with Subtitles

yt-dlp -P "~/Downloads/yt-dlp" --write-subs --sub-langs all "VIDEO_URL"

4. Download Specific Quality

720p:

yt-dlp -P "~/Downloads/yt-dlp" -f "bestvideo[height<=720]+bestaudio/best[height<=720]" "VIDEO_URL"

1080p:

yt-dlp -P "~/Downloads/yt-dlp" -f "bestvideo[height<=1080]+bestaudio/best[height<=1080]" "VIDEO_URL"

Best available:

yt-dlp -P "~/Downloads/yt-dlp" -f "bestvideo+bestaudio/best" "VIDEO_URL"

5. List Available Formats (Before Download)

yt-dlp -F "VIDEO_URL"

Then download specific format by ID:

yt-dlp -P "~/Downloads/yt-dlp" -f FORMAT_ID "VIDEO_URL"

6. Download Playlist

# Download entire playlist
yt-dlp -P "~/Downloads/yt-dlp" -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" "PLAYLIST_URL"

# Download specific range (e.g., items 1-5)
yt-dlp -P "~/Downloads/yt-dlp" -I 1:5 "PLAYLIST_URL"

Read the full file on GitHub · 237 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 237 lines · 97 tokens per session scan A d37357ff0ac8

Subscribe to this mod's changes

yt-dlp-downloader is a skill published in the GitHub repository flthibau/sample-OpenClaw-on-Azure-with-AI-Foundry (5 stars, last pushed 8mo ago), licensed MIT. It adds 97 tokens to every session and 1,694 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

yt-dlp-downloader compared with skills from other repositories

yt-dlp-downloader next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yt-dlp-downloaderflthibau/sample-OpenClaw-on-Azure-with-AI-FoundrySkill58mo agoMITA97Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code