yt-dlp-music-downloads

yt-dlp-music-downloads is a skill for Claude Code, Codex from AmineDjeghri/personal-os-setup. It costs 20 tokens per session (2,056 once invoked), scanned A, original, MIT.

A workflow for downloading music from YouTube videos or playlists into Navidrome, a server for streaming your personal music collection. It also handles audio conversion and tagging for the downloaded files.

In plain words
What is it for?
Use it to add YouTube playlists or live performances to a Navidrome library, with the resulting music stored as FLAC files and tagged.
Why use it?
It avoids manually downloading, converting, and organizing each recording before adding it to your music library. Staging files separately helps prevent incomplete downloads from being imported.

Skill for Claude CodeCodex

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

Good fit Use it to add YouTube playlists or live performances to a Navidrome library, with the resulting music stored as FLAC files and tagged.

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

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-music-downloads

README.md
[![agentmods](https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/yt-dlp-music-downloads/github.svg)](https://agentmods.dev/skills/aminedjeghri/personal-os-setup/yt-dlp-music-downloads)
Your own site
<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/yt-dlp-music-downloads"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/yt-dlp-music-downloads/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-music-downloads

Your own site · 80×15
<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/yt-dlp-music-downloads"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/yt-dlp-music-downloads.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 2,056 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 58
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.02056
Opus 5 $0.00010 $0.01028
Sonnet 5 $0.00004 $0.00411
Haiku 4.5 $0.00002 $0.00206

Measured 13d ago against content hash 1d068be595e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

yt-dlp-music-downloads 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 13d 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.

docs/home-server/music/youtube_ai_download/skill/yt-dlp-music-downloads/SKILL.md · 73 lines

How it starts

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

YouTube → Music Library (yt-dlp → Navidrome)

Trigger

User pastes a YouTube playlist or video link (often live performances) and wants it in the music library, tagged.

Environment (verified Aug 2026)

  • Agent container mounts /media rw — the real music library (/media/music FLACs visible from inside the agent). ffmpeg at /usr/bin/ffmpeg, uv at /usr/local/bin/uv.
  • Project: /config/workspace/personal-os-setup/docs/home-server/music/youtube_ai_download/ — script yt_dl.py with a PEP 723 # /// script header (yt-dlp, mutagen; requires-python >=3.11; uv fetches a managed Python if needed). Run via uv run --no-project yt_dl.py from that folder. Archive .archive.txt and staging .staging (outside /media/music so beets never imports half-finished folders) live next to the script itself — overrides overrides.json. README.md explains the pipeline.
  • Home: personal-os-setup docs/home-server/music/youtube_ai_download/; the skill file is symlinked into ~/.hermes/skills/media/ — edit the project file, not the symlink. NOTE: skill_manage refuses symlinked skills — patch the project file with the patch tool.
  • Metadata decisions are 100% LLM-made: the script does NO title/description parsing — it is plumbing only. The plan output + overrides file are the entire decision layer.
  • (optional, recommended) beets addon watches /media/music (inotify, 300s debounce): adds last.fm genres + cover art and triggers Navidrome's rescan. The script embeds all tags itself, so without beets the files still reach Navidrome on its own scan schedule. If beets IS used: live bootlegs don't match MusicBrainz → quiet_fallback: asis keeps the embedded tags; import.copy/move: nothe download location IS the final location.
  • Navidrome: songs appear under Artists + "Live at …" albums (tag-driven; folders invisible). Offer the one-time smart playlist Album contains "Live" — it collects every live download automatically. Other-folder clips have album Other (excluded).

Read the full file on GitHub · 73 lines

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. 13d ago First seen · 73 lines · 20 tokens per session scan A 1d068be595e8

Subscribe to this mod's changes

yt-dlp-music-downloads is a skill published in the GitHub repository AmineDjeghri/personal-os-setup (602 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 2,056 once invoked, about $0.0001 per session on Opus 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-30.