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/github.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/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ykdojo/safeclaw/yt-dlp"><img src="https://agentmods.dev/badge/skills/ykdojo/safeclaw/yt-dlp.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00008 $0.00131
Sonnet 5.5 $0.00004 $0.00065
Haiku 4.5 $0.00002 $0.00033

Measured 1mo ago against content hash 5addb81348d7, 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 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 1mo 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. 1mo 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 (186 stars, last pushed 28d ago), licensed MIT. It adds 20 tokens to every session and 327 once invoked, about $0.0001 per session on Opus 5.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

start

Use this skill when the user runs /start, says "start", "enable the SDLC workflow", "I want to build", "I want to fix", "set up", "get started", or otherwise signals they want to activate or re-enable the SDLC workflow. Handles three distinct paths based on marker state — fresh install (opt-in activation), re-enable…

lantisprime/claude-sdlc · 107 tokens

domain-expert

Use this skill during /plan (between scope validation and writing the plan artifact) to inject domain-specific context, gap questions, and regulatory concerns into the plan. Triggers automatically when the plan skill evaluates the task and scope.md against the domain registry in domains/index.json using semantic…

lantisprime/claude-sdlc · 70 tokens

plan

Use this skill at the START of every coding task — new builds, bug fixes, and change requests. Classifies the work item, validates it against project scope, produces a high-level estimate, proposes a technology stack, and checks stack compatibility. Writes a plan artifact to .claude/sdlc/plans/ that every downstream…

lantisprime/claude-sdlc · 130 tokens

configure

Use this skill when the user runs /configure, /configure --needs, or /configure --check. Also auto-invoked by env-detect.sh on fresh install (Layer 0) and by skills that find required config missing at runtime (Layer 2). Guides setup of config/tools.json and config/tools.local.json through a question bank; handles…

lantisprime/claude-sdlc · 88 tokens

status

Use this skill when the user asks "where am I", "what's the current task", "what's blocking me", "show status", "what needs sign-off", or "what's next". Prints a snapshot of the active plan, gate, sign-off progress, and next action. Reads only — writes nothing.

lantisprime/claude-sdlc · 67 tokens

analyze

Use this skill after Phase 1 Plan to create or intake requirements for a task. Produces requirements with stable IDs (REQ-001, REQ-002, ...), validates each requirement against the project's scope statement, and — critically — halts and asks for UX designs and brand guidelines whenever the work touches a frontend or…

lantisprime/claude-sdlc · 111 tokens