imoonkey

YouTube Music

```

imoonkey 71 3 Updated 6mo ago

Resources

6
GitHub

Install

npx skillscat add imoonkey/openweb/src-sites-youtube-music

Install via the SkillsCat registry.

SKILL.md

YouTube Music

Overview

YouTube Music (music.youtube.com) is Google's music streaming platform. Content Platform archetype — all public data served through the InnerTube API.

Workflows

Search and play a song

  1. searchMusic(query) → results with videoId per song
  2. getSong(videoId) → title, artist, duration, view count, thumbnail
  3. getUpNext(videoId) → related tracks, lyrics browseId

Explore an artist

  1. searchMusic(query) → results with artist browseId (UC...)
  2. getArtist(browseId) → top songs, albums, singles, videos, related artists
  3. getAlbum(browseId) → full track list for an album (MPREb_...)

Browse an album or playlist

  1. getAlbum(browseId) → album tracks, artist, year, thumbnail
  2. getPlaylist(browseId) → playlist tracks, creator, description

Discover music

  1. browseHome() → personalized recommendations, new releases
  2. browseCharts() → top songs, trending, top artists by country

Operations

Operation Intent Key Input Key Output Notes
searchMusic search songs/albums/artists query sections with videoId, browseId, title, artist entry point
getAlbum album details + tracks browseId (MPREb_...) ← searchMusic title, artist, year, tracks with videoId
getPlaylist playlist details + tracks browseId (VL...) ← searchMusic title, creator, tracks with videoId
getArtist artist page browseId (UC...) ← searchMusic name, subscribers, top songs, albums, singles
getSong song metadata videoId ← searchMusic title, artist, duration, viewCount, thumbnail
getUpNext related tracks + lyrics ID videoId ← searchMusic related tracks, lyrics browseId, autoplay
getSearchSuggestions search autocomplete input (partial query) suggested completions entry point
browseHome homepage recommendations — sections with playlists, new releases entry point
browseCharts music charts — top songs, trending, top artists entry point

Quick Start

# Search for music
openweb youtube-music exec searchMusic '{"query": "Bohemian Rhapsody"}'

# Get album details
openweb youtube-music exec getAlbum '{"browseId": "MPREb_9nqEki4ZDpp"}'

# Get artist page
openweb youtube-music exec getArtist '{"browseId": "UCiMhD4jzUqG-IgPzUmmytRQ"}'

# Get song metadata
openweb youtube-music exec getSong '{"videoId": "dQw4w9WgXcQ"}'

# Get up-next queue and related tracks
openweb youtube-music exec getUpNext '{"videoId": "dQw4w9WgXcQ"}'

# Get search suggestions
openweb youtube-music exec getSearchSuggestions '{"input": "taylor sw"}'

# Browse homepage
openweb youtube-music exec browseHome '{}'

# Browse charts
openweb youtube-music exec browseCharts '{}'