yt-dlp

yt-dlp is a skill for Claude Code, Codex from ykdojo/safeclaw. It costs 20 tokens per session (327 once invoked), scanned A, original, MIT.

A command-line downloader for YouTube videos, audio, and subtitles or transcripts. It can also show basic video details without downloading the media.

In plain words
What is it for?
Saving videos, extracting audio such as MP3 files, downloading subtitles, reading transcripts, and checking a video's title, length, or description.
Why use it?
It avoids manually downloading media or copying video information from YouTube. Subtitles can provide a text version of a video without saving the video itself.

Skill for Claude CodeCodex

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

Good fit Saving videos, extracting audio such as MP3 files, downloading subtitles, reading transcripts, and checking a video's title, length, or description.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ykdojo/safeclaw/yt-dlp
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 ykdojo/safeclaw --skill yt-dlp
Clone the repo
git clone --depth 1 https://github.com/ykdojo/safeclaw

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ykdojo/safeclaw/yt-dlp.svg)](https://agentmods.dev/skills/ykdojo/safeclaw/yt-dlp)
Your own site
<a href="https://agentmods.dev/skills/ykdojo/safeclaw/yt-dlp"><img src="https://agentmods.dev/badge/skills/ykdojo/safeclaw/yt-dlp.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00020 $0.00327
Opus 5 $0.00010 $0.00163
Sonnet 5 $0.00004 $0.00065
Haiku 4.5 $0.00002 $0.00033

Measured 8d ago against content hash 5addb81348d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

yt-dlp scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/yt-dlp && chmod +x ~/yt-dlp
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • yt-dlp — 100% identical, 0 lines differ
setup/skills/yt-dlp/SKILL.md · 48 lines

What it actually says

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
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. 8d ago First seen · 48 lines · 20 tokens per session scan A 5addb81348d7

Subscribe to this mod's changes

yt-dlp is a skill published in the GitHub repository ykdojo/safeclaw (183 stars, last pushed 7d ago), licensed MIT. It adds 20 tokens to every session and 327 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

r3f-animation

React Three Fiber animation - useFrame, useAnimations, spring physics, keyframes. Use when animating objects, playing GLTF animations, creating procedural motion, or implementing physics-based movement.

zebbern/claude-code-guide · 43 tokens

chart-image

Generate publication-quality PNG chart images from data, supporting line, bar, area, candlestick, pie, and heatmap charts. Triggers when the user asks to visualize data, create a graph, plot a time series, or generate a chart for a report, alert, or dashboard. Runs as a lightweight, headless Node.js process without a…

zebbern/claude-code-guide · 75 tokens

timeline-builder

Generate beautiful interactive timeline HTML pages from JSON data, with vertical, horizontal, or dual-side layouts, collapsible details, and custom colors. Ideal for project milestones, company histories, or resumes. Triggered when a user mentions 'timeline', 'history of events', 'project milestones', 'release log'…

zebbern/claude-code-guide · 74 tokens

scientific-slides

Build slide decks and presentations for research talks. Use this for making PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk. Provides slide structure, design templates, timing guidance, and visual validation. Works with PowerPoint and…

foryourhealth111-pixel/Vibe-Skills · 65 tokens

infographics

Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes.

foryourhealth111-pixel/Vibe-Skills · 55 tokens

ai-image-creator

Generate, edit-from-reference, or analyze images with AI via OpenRouter (gemini, geminipro, riverflow, flux2, seedream, gpt5, gpt5.4; Cloudflare AI Gateway BYOK). Also analyze a video (--analyze-video, read-only — no video generated) into a text description for video prompts. Use when the user asks to generate an…

centminmod/my-claude-code-setup · 136 tokens