ytmusic-hub SKILL.md skillA

ytmusic-hub from openminis/minisskills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add openminis/minisskills/ytmusic-hub@git:20260312.babbb60

Pins git:20260312.babbb60 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
openminis/minisskills
Path
ytmusic-hub/SKILL.md
Versions recorded
2
Latest version
git:20260312.babbb60, committed Mar 12, 2026
First version recorded
Mar 12, 2026
Size
6,659 bytes
Repository stars
593
License
MIT

Read and write YouTube Music data using Python + ytmusicapi, authenticated via browser cookies obtained automatically with browser_use get_cookies — no manual copying required. Supports fetching playlists, liked songs, playlist details, creating/editing/deleting playlists, searching and adding songs, recommendations, charts, and lyrics. Trigger this skill whenever the user mentions "YouTube Music", "YT Music", "ytmusic", "ytmusic-hub", "get YouTube playlists", "create YouTube Music playlist…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# ytmusic-hub

Interact with YouTube Music using the `ytmusicapi` library, authenticated via browser cookies. Supports full playlist management, search, liked songs, and more.

---

## Setup

### Install dependency
```bash
pip install ytmusicapi
```

### Auth file path
```
/var/minis/workspace/ytmusic_headers.json
```

---

## Authentication (run before first use or when cookies expire)

Two steps: **get cookies** → **generate auth file**.

### Step 1: Get cookies

Navigate to YouTube Music and get cookies via `browser_use`:

```
browser_use navigate: https://music.youtube.com
browser_use get_cookies -> save env file path
```

Confirm the page is logged in (avatar visible in top-right), then call `get_cookies` and note the env file path.

### Step 2: Generate auth file

Load the env file and run the auth setup script:

```bash
. /var/minis/offloads/env_cookies_youtube_com_xxx.sh
python3 /var/minis/skills/ytmusic-hub/scripts/setup_auth.py
```

The script reads all Cookie env vars and writes a browser-auth file with SAPISIDHASH to `/var/minis/workspace/ytmusic_headers.json`.

### Step 3: Initialize YTMusic client
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add openminis/minisskills/ytmusic-hub@sha256:e5a7590c4cddab4f

The line at the top of this page pins the label git:20260312.babbb60, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_rao6xoua35vyb7yu.svg)](https://markdownregistry.com/a/art_rao6xoua35vyb7yu)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Mar 12, 2026.

versioncommittedcommitsizeaudit
git:20260312.babbb60 latest2026-03-12 babbb60 6,659 BA view · diff
git:20260312.35430762026-03-12 3543076 6,980 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6659 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

openminis/minisskills · 593 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_rao6xoua35vyb7yu
GET https://markdownregistry.com/api/v1/resolve?ref=openminis/minisskills/ytmusic-hub
GET https://markdownregistry.com/api/v1/blob/e5a7590c4cddab4f50fb16433e2efbbcbbb86b3dc16897b1cb45a51d484c8b60

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from openminis/minisskills

android-dev SKILL.md skill
openminis/minisskills · android-dev/SKILL.md · 在 Minis 的 ARM64 Alpine PRoot 中从零诊断、安装并验证 Android 构建环境,以及创建、构建、签名验证、安装和启动原生 Android App;覆盖…
v2.0.0 · audit A · 593 stars
android-ui-automation SKILL.md skill
openminis/minisskills · android-ui-automation/SKILL.md · Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service…
git:20260819.ba840b8 · audit A · 593 stars
android-vdisplay SKILL.md skill
openminis/minisskills · android-vdisplay/SKILL.md · Create an on-device virtual display ("second screen") on an Android phone running Minis via local wireless ADB, render…
v0.12.1 · audit A · 593 stars
apple-reminders SKILL.md skill
openminis/minisskills · apple-reminders/SKILL.md · Read, brief on, capture, and safely change tasks in the native Apple Reminders app through the on-device…
git:20260730.6a0c379 · audit B · 593 stars
appstoreprice-hub SKILL.md skill
openminis/minisskills · appstoreprice-hub/SKILL.md · A skill for querying App Store app prices across regions worldwide, using data from appstoreprice.org. It uses the…
git:20260801.3cb01ce · audit A · 593 stars
asc-cli SKILL.md skill
openminis/minisskills · asc-cli/SKILL.md · Use the asc (App Store Connect CLI) to manage iOS/macOS apps — TestFlight builds, beta groups, distribution, App Store…
git:20260801.3cb01ce · audit A · 593 stars
bilibili-hub SKILL.md skill
openminis/minisskills · bilibili-hub/SKILL.md · A skill for reading and writing Bilibili data with Python + UV, using bilibili-api-python + aiohttp. It automatically…
git:20260801.3cb01ce · audit A · 593 stars
Clash 控制器 SKILL.md skill
openminis/minisskills · clash-controller/SKILL.md · 通过 Clash / mihomo RESTful API 实时监控和控制 Clash(含 Clash.Meta / mihomo 内核)。支持状态/连接/流量/规则查询、节点与策略组切换、节点测速、DNS 查询、配置重载。当用户提到…
git:20261005.221c722 · audit B · 593 stars
cloudflare-dns SKILL.md skill
openminis/minisskills · cloudflare-dns/SKILL.md · Use the flarectl command-line tool to manage Cloudflare DNS records, including listing, adding, updating, and deleting…
git:20260801.3cb01ce · audit A · 593 stars
codex-image SKILL.md skill
openminis/minisskills · codex-image/SKILL.md · Generate images using OpenAI's Codex backend API with gpt-image-2 tool. Use when the user asks to generate images via…
git:20260422.094f765 · audit A · 593 stars
codex-on-ish SKILL.md skill
openminis/minisskills · codex-on-ish/SKILL.md · Install and run OpenAI Codex CLI inside the Minis/iSH Alpine sandbox on iOS, where rustls TLS and async sockets are…
git:20260904.47b3917 · audit A · 593 stars
contact-vcard-extractor SKILL.md skill
openminis/minisskills · contact-vcard-extractor/SKILL.md · Extract contact information from text, chat logs, web pages, screenshots, business card photos, and QR codes/OCR…
git:20260801.3cb01ce · audit A · 593 stars

Every file in openminis/minisskills

Browse by kind, by grade A, or by owner.