# Send YouTube Music to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ytmusic",
    "name": "YouTube Music",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/gentrycopsy/ytmusic",
    "canonicalUrl": "https://clawhub.ai/gentrycopsy/ytmusic",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ytmusic",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ytmusic",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ytmusic",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-11T09:41:25.174Z",
      "expiresAt": "2026-05-18T09:41:25.174Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ytmusic",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ytmusic",
        "contentDisposition": "attachment; filename=\"ytmusic-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ytmusic"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ytmusic"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ytmusic",
    "downloadUrl": "https://openagent3.xyz/downloads/ytmusic",
    "agentUrl": "https://openagent3.xyz/skills/ytmusic/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ytmusic/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ytmusic/agent.md"
  }
}
```
## Documentation

### YTMusic Librarian

This skill uses the ytmusicapi Python library to interact with YouTube Music.

### Prerequisites

Python 3.x
ytmusicapi package: pip install ytmusicapi
Authentication file (oauth.json or browser.json) in the skill folder.

### Setup Instructions

Install the library:
pip install ytmusicapi



Generate Authentication (The "cURL Handshake"):

Open Microsoft Edge and visit music.youtube.com (ensure you are logged in).
Press F12 to open DevTools, go to the Network tab.
Click your Profile Icon -> Library on the page.
Look for a request named browse in the network list.
Right-click the browse request -> Copy -> Copy as cURL (bash).
Paste that cURL command into a file named headers.txt in the skill folder.
Run the following Python snippet to generate browser.json:
from ytmusicapi.auth.browser import setup_browser
with open('headers.txt', 'r') as f:
    setup_browser('browser.json', f.read())


Ensure browser.json is located in the skill folder.



Verify:
python -c "from ytmusicapi import YTMusic; yt = YTMusic('browser.json'); print(yt.get_library_songs(limit=1))"

### Library Management

List songs/albums: yt.get_library_songs(), yt.get_library_albums()
Add/Remove: yt.rate_song(videoId, 'LIKE'), yt.edit_song_library_status(feedbackToken)

### Playlist Management

Create: yt.create_playlist(title, description)
Add Tracks: yt.add_playlist_items(playlistId, [videoIds])
Remove Tracks: yt.remove_playlist_items(playlistId, [videoIds])

### Metadata & Discovery

Get Lyrics: yt.get_lyrics(browseId)
Get Related: yt.get_watch_playlist(videoId) -> related
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: gentrycopsy
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-11T09:41:25.174Z
- Expires at: 2026-05-18T09:41:25.174Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ytmusic)
- [Send to Agent page](https://openagent3.xyz/skills/ytmusic/agent)
- [JSON manifest](https://openagent3.xyz/skills/ytmusic/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ytmusic/agent.md)
- [Download page](https://openagent3.xyz/downloads/ytmusic)