Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

yt-dlp

$ yt-dlp Community Med Risk
yt-dlp Project · AI & Media · Unlicense · macos / linux / windows

yt-dlp extracts video metadata, chapters, formats, and subtitles or downloads audio/video streams from YouTube and 1,000+ sites. Agents can inspect metadata cleanly without downloading media via --dump-single-json (-J) and --skip-download.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install yt-dlp
CLI vs MCP Decision CLI Only

Inspect metadata with yt-dlp -J --skip-download | jq directly in shell without downloading huge video files into the workspace.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

-J (--dump-single-json), --skip-download, and --quiet --no-warnings work reliably, though raw -J JSON is bulky unless filtered with jq.

  • Supports --dump-single-json (-J), --skip-download, and --no-warnings
Trust & Safety 20 / 25

Defaults to downloading media into the working directory unless --skip-download is passed; --cookies-from-browser reads local browser cookies.

  • Default invocation writes video files locally; optional browser cookie access
Setup & Portability 14 / 15

Available everywhere via brew, pip, uvx, and standalone binaries (ffmpeg recommended for merging formats).

  • Cross-platform binary and PyPI distribution
Utility & Efficiency 13 / 15

Unmatched extractor coverage for video metadata, transcripts/subtitles, and audio/video downloads.

  • Supports 1,000+ media sites, subtitles, and JSON metadata
Maintenance & Lineage 8 / 10

Highly active yt-dlp/yt-dlp OSS project under Unlicense.

  • Active yt-dlp/yt-dlp GitHub repository
Docs & Verifiability 7 / 10

Comprehensive README and --help, though option list is very large.

  • Detailed flag documentation at github.com/yt-dlp/yt-dlp

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Optional --cookies Netscape cookie files or --cookies-from-browser; standard public lookups require no credentials.

Side Effects
Read-Only Local Write
Cost & Quotas

Free, Unlicense public-domain open-source CLI; pairs with ffmpeg for muxing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# yt-dlp Agent Rules
- Always pass `--skip-download` when only inspecting metadata (`-J`) or pulling subtitles (`--write-subs`).
- Pipe `-J` JSON through `jq`—raw `yt-dlp -J` objects include dozens of format entries and often exceed 50 KB.

Agent-Ready Command Recipes

Safe Read-Only Queries

Fetch video title, duration, and chapters as JSON without downloading
yt-dlp --dump-single-json --skip-download --no-warnings 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' | jq '{title, duration, uploader}'

Extracts full video metadata JSON (--dump-single-json) without writing media files (--skip-download).

Controlled Writes & Previews

Download subtitles only without video media
yt-dlp --skip-download --write-auto-subs --sub-lang en --sub-format srt -o '%(id)s.%(ext)s' 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'

Downloads only English subtitles (--skip-download) into the workspace.

Strengths for Agents

  • + --dump-single-json --skip-download retrieves structured metadata, chapters, and subtitle URLs cleanly.
  • + Active community updates keep site extractors working.

Caveats & Pitfalls

  • ! Raw -J JSON payloads are verbose (50+ KB per video)—filter with jq.
  • ! Default command downloads large video files unless --skip-download is specified.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI