agentleFS
lordmaculordmacu/nexo-rs/skills/yt-dlp/SKILL.md

yt-dlp

Skill8 starsChanged 7 months agoApache-2.0View on GitHub

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

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

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

VarDefault
YTDLP_BINyt-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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.