ytmusic-hub

Access YouTube Music playlists, library, search, and recommendations via ytmusicapi.

361|58|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/OpenMinis/MinisSkills --skill ytmusic-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ytmusic-hub
Source: https://github.com/OpenMinis/MinisSkills/tree/main/ytmusic-hub
Command: npx skills add https://github.com/OpenMinis/MinisSkills --skill ytmusic-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ytmusicapi, urllib3, and includes scripts (resource) components.

What problem does it solve?

This skill enables programmatic access to YouTube Music data, allowing you to fetch playlists, manage your library, and automate common workflows without manual cookie handling.

Core Features & Use Cases

  • Playlist management: fetch, create, edit, and delete playlists; add or remove tracks by videoId and setVideoId as needed.
  • Library access: read liked songs, library playlists, albums, and artists; like or unlike songs.
  • Search, recommendations & lyrics: search for tracks, retrieve recommendations, and obtain lyrics when available.
  • Workflows & exports: export playlists to Markdown, generate seed-based playlists from likes, and build reports summarizing results.
  • Examples: automatically generate a playlist from your liked songs, export a playlist in Markdown, or rebuild a seed playlist from top artists.

Quick Start

Authenticate by loading cookies with browser_use, generate the auth file, then initialize the YTMusic client to manage your YouTube Music data.

Frequently Asked Questions about ytmusic-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate YouTube Music playlist management with Python?

Automate YouTube Music playlist management with Python by using the ytmusicapi library to fetch, create, edit, and delete playlists programmatically. It enables adding or removing tracks by videoId and setVideoId without manual cookie handling.

Can I export YouTube Music playlists to Markdown?

Yes, you can export YouTube Music playlists to Markdown. The skill provides workflow scripts that fetch playlist data and generate Markdown files, allowing you to easily document and share your library contents outside the application.

What is the best way to create a YouTube Music playlist from liked songs?

The best way to create a playlist from liked songs is using a Python script with ytmusicapi. The skill can read your liked songs library and automatically generate a new playlist, rebuilding seed lists from your top artists or specific tracks.

Do I need cookie-based authentication to use the YouTube Music API in Python?

Yes, cookie-based authentication is required to use the YouTube Music API in Python. You must load cookies with browser_use to generate the necessary authentication file before initializing the YTMusic client to manage your data.

How do I search for tracks and get lyrics using the YouTube Music API?

Search for tracks and get lyrics using the YouTube Music API by executing Python scripts that query the ytmusicapi. The skill enables track searching, retrieves recommendations, and obtains lyrics when available for your library management.