Automate YouTube Music library management, playlist creation, and song discovery using the ytmusicapi library within your AI workflows.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ytmusic
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install ytmusic using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
YTMusic Librarian is a specialized tool designed to bridge your AI agent with YouTube Music. By leveraging the ytmusicapi, it enables seamless programmatic control over your music library. This skill allows for sophisticated interactions that go beyond the standard UI, making it an essential addition to your collection of Openclaw Skills.
Whether you are organizing thousands of tracks or seeking to automate playlist generation based on mood or genre, this skill provides the necessary endpoints to interact with your personal YouTube Music account securely and efficiently. It transforms how you manage streaming content by allowing an AI to handle the heavy lifting of curation.
pip install ytmusicapi
from ytmusicapi.auth.browser import setup_browser
with open('headers.txt', 'r') as f:
setup_browser('browser.json', f.read())
python -c "from ytmusicapi import YTMusic; yt = YTMusic('browser.json'); print(yt.get_library_songs(limit=1))"
The skill interacts with YouTube Music data structures and stores local configuration as follows:
| Data Type | Format | Description |
|---|---|---|
| Authentication | JSON | Stored in browser.json or oauth.json for persistent session management. |
| Library Data | Object | Returned as lists of songs or albums with unique IDs for easy manipulation. |
| Playlist Data | Object | Contains playlist IDs, titles, and descriptions for automated management. |
| Metadata | Dictionary | Includes lyrics and related track information retrieved via browse IDs. |
Loading
A comprehensive Python Language Server Protocol integration providing real-time diagnostics, formatting, and intelligent code analysis for AI agents.

A comprehensive collection of 15 architectural patterns for configuring server-side CopilotKit runtimes across various JavaScript environments.

A comprehensive library of 25 prioritized best practices for building, reviewing, and refactoring agentic React applications using CopilotKit.

A comprehensive framework for architecting and implementing AI agents that integrate seamlessly with the CopilotKit runtime and AG-UI protocol.

An AI-driven automation tool that streamlines e-commerce onboarding through data synthesis, Generative Engine Optimization, and AI image generation.

A powerful command-line interface for Strava that allows developers and athletes to interact with their fitness data directly from the terminal.








































