yt-music

yt-music is a skill for Claude Code, Codex from julianobarbosa/claude-code-skills. It costs 80 tokens per session (2,738 once invoked), scanned A, original, MIT.

A natural-language interface for YouTube Music, a service for searching and playing music online.

In plain words
What is it for?
It helps find or play songs, artists, albums, playlists, lyrics, charts, and recommendations, while managing playlists and ratings.
Why use it?
It lets you search and manage music using ordinary requests instead of separate playback and library commands.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit It helps find or play songs, artists, albums, playlists, lyrics, charts, and recommendations, while managing playlists and ratings.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/julianobarbosa/claude-code-skills/yt-music"><img src="https://agentmods.dev/badge/skills/julianobarbosa/claude-code-skills/yt-music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,738 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 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.00080 $0.02738
Opus 5 $0.00040 $0.01369
Sonnet 5 $0.00016 $0.00548
Haiku 4.5 $0.00008 $0.00274

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

Security

Grade A, and why

yt-music 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 8d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/helper.py, scripts/player_daemon.py, scripts/player.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/yt-music/SKILL.md · 236 lines

How it starts

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

YouTube Music Skill

Run bundled scripts from the skill root:

  • scripts/helper.py: search, library, playlists, lyrics, ratings, account
  • scripts/player.py: playback client and daemon management
  • scripts/player_daemon.py: persistent Playwright browser daemon
  • Runtime state is local to ./.yt-music/
  • Playback uses a dedicated Playwright-managed browser profile in ./.yt-music/playwright-profile

Workflow Routing

For multi-step or composed flows, route the user into a workflow file instead of orchestrating ad-hoc:

User intent Workflow file
First-time setup, expired auth, daemon not running Workflows/Setup.md
"Play X / play something like Y / find me music" Workflows/PlayDiscover.md
"Make a playlist of …", "save the charts", artist deep cut Workflows/BuildPlaylist.md
Auth errors, daemon timeouts, silent playback, cookie issues Workflows/DiagnoseAuth.md
"Run the tests", verify scripts after edits, CI smoke check Workflows/RunTests.md

Single-shot requests (one search, one rating, one playlist get) stay inline — no workflow needed.

Decision flow

  1. If the user gives names instead of IDs, search first.
  2. For auth-required actions, run auth check first.
  3. If auth is missing, switch into auth-guidance mode and do not continue yet.
  4. Only after auth succeeds, execute the original command.
  5. Format JSON into short tables or lists.

ID Resolution

Use search to resolve videoId, browseId, or playlistId:

uv run --with yt-musicapi python scripts/helper.py search "<query>" --type songs --limit 5
uv run --with yt-musicapi python scripts/helper.py search "<query>" --type artists --limit 3
uv run --with yt-musicapi python scripts/helper.py search "<query>" --type albums --limit 3

If results are ambiguous, ask the user which one they want.

Auth

Check auth before library, playlist, rate, subscribe, home, history, taste, upload, or auth account:

Read the full file on GitHub · 236 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. 8d ago First seen · 236 lines · 80 tokens per session scan A 06eca282ceb1

Subscribe to this mod's changes

yt-music is a skill published in the GitHub repository julianobarbosa/claude-code-skills (10 stars, last pushed 16d ago), licensed MIT. It adds 80 tokens to every session and 2,738 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens