ytmusicManage YouTube Music library, playlists, and discovery via ytmusicapi.
Install via ClawdBot CLI:
clawdbot install gentrycopsy/ytmusicThis skill uses the ytmusicapi Python library to interact with YouTube Music.
ytmusicapi package: pip install ytmusicapioauth.json or browser.json) in the skill folder.
pip install ytmusicapi
F12 to open DevTools, go to the Network tab.browse in the network list.browse request -> Copy -> Copy as cURL (bash).headers.txt in the skill folder.browser.json:
from ytmusicapi.auth.browser import setup_browser
with open('headers.txt', 'r') as f:
setup_browser('browser.json', f.read())
browser.json is located in the skill folder.
python -c "from ytmusicapi import YTMusic; yt = YTMusic('browser.json'); print(yt.get_library_songs(limit=1))"
yt.get_library_songs(), yt.get_library_albums()yt.rate_song(videoId, 'LIKE'), yt.edit_song_library_status(feedbackToken)yt.create_playlist(title, description)yt.add_playlist_items(playlistId, [videoIds])yt.remove_playlist_items(playlistId, [videoIds])yt.get_lyrics(browseId)yt.get_watch_playlist(videoId) -> relatedGenerated Feb 28, 2026
Users can automate the management of their YouTube Music library, such as adding liked songs to playlists or removing duplicates. This helps maintain an organized personal collection without manual effort, ideal for music enthusiasts who frequently discover new tracks.
Content creators, like podcasters or streamers, can use this skill to dynamically generate themed playlists for background music. It supports adding tracks based on metadata, ensuring fresh and relevant content for their audience without constant manual updates.
Businesses in the music industry can analyze related tracks and lyrics data to understand trends and user preferences. This aids in curating recommendations or marketing campaigns, leveraging YouTube Music's vast catalog for data-driven insights.
Educators and students can use this skill to access lyrics and related songs for academic purposes, such as analyzing song structures or cultural trends. It automates data retrieval, making it easier to integrate into lesson plans or research projects.
Offer a paid service where users subscribe to automated library and playlist management features. Revenue comes from monthly fees, targeting busy individuals or small businesses that want hands-off music curation without technical setup.
Sell access to enhanced API wrappers or custom integrations built on this skill, providing developers with tools to embed YouTube Music functionality into their apps. Revenue is generated through licensing fees or pay-per-use models.
Monetize by analyzing user library and playlist data to provide insights reports for artists, labels, or marketers. Revenue streams include one-time report sales or ongoing consultancy services based on aggregated trends.
π¬ Integration Tip
Ensure the authentication file is securely stored and regularly updated, as YouTube Music's API may require re-authentication. Test workflows in a sandbox environment to avoid disruptions to user libraries.
Terminal Spotify playback/search via spogo (preferred) or spotify_player.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
Download videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp. Use when the user provides a video URL and wants to download it, extract audio (MP3), download subtitles, or select video quality. Triggers on phrases like "δΈθ½½θ§ι’", "download video", "yt-dlp", "YouTube", "Bη«", "ζι³", "ζει³ι’", "extract audio".
Search and add movies to Radarr. Supports collections, search-on-add option.
Control Spotify playback on macOS. Play/pause, skip tracks, control volume, play artists/albums/playlists. Use when a user asks to play music, control Spotify, change songs, or adjust Spotify volume.
Search and add TV shows to Sonarr. Supports monitor options, search-on-add.