# Send Playlistable 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": "playlistable",
    "name": "Playlistable",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Brackyt/playlistable",
    "canonicalUrl": "https://clawhub.ai/Brackyt/playlistable",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/playlistable",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=playlistable",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/api_reference.md",
      "scripts/auth.mjs",
      "scripts/mcp-call.mjs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "playlistable",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T04:39:40.201Z",
      "expiresAt": "2026-05-14T04:39:40.201Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=playlistable",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=playlistable",
        "contentDisposition": "attachment; filename=\"playlistable-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "playlistable"
      },
      "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/playlistable"
    },
    "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/playlistable",
    "downloadUrl": "https://openagent3.xyz/downloads/playlistable",
    "agentUrl": "https://openagent3.xyz/skills/playlistable/agent",
    "manifestUrl": "https://openagent3.xyz/skills/playlistable/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/playlistable/agent.md"
  }
}
```
## Documentation

### Playlistable MCP

Create AI-powered Spotify playlists and discover music using the Playlistable MCP server.

### Authentication

Needs a Playlistable API key (PLAYLISTABLE_API_KEY env var or config/auth.json).

To get one:

node {baseDir}/scripts/auth.mjs

Fully automatic — starts a local HTTP server, opens browser for Spotify OAuth, catches the redirect, exchanges the code for an API key via PKCE, and saves it to {baseDir}/config/auth.json. No manual copy-paste needed.

If the key is already saved, scripts read it automatically from config/auth.json.

### How it works

The MCP server at https://mcp.playlistable.io exposes tools via Streamable HTTP transport. The mcp-call.mjs script sends JSON-RPC requests directly — no MCP SDK needed.

### Common workflows

Generate a playlist: User describes a mood → generate_playlist creates an async Spotify playlist → returns playlist URL immediately. Tracks appear in the background.

Browse playlists: get_playlists lists all user playlists. get_playlist gets details + tracks for a specific one.

Edit a playlist: edit_playlist adds or removes songs by Spotify track ID.

Search music: search_songs and search_artists search Spotify directly.

Get suggestions: playlist_suggestions returns 6 AI-generated mood suggestions based on the user's listening history and time of day.

### Authenticate

node {baseDir}/scripts/auth.mjs

### Call MCP tools

node {baseDir}/scripts/mcp-call.mjs <tool> [json-params]
node {baseDir}/scripts/mcp-call.mjs --list-tools

Examples:

# Generate a playlist
node {baseDir}/scripts/mcp-call.mjs generate_playlist '{"mood": "chill lo-fi for studying"}'

# Get personalized suggestions
node {baseDir}/scripts/mcp-call.mjs playlist_suggestions '{"userHour": 22}'

# List playlists
node {baseDir}/scripts/mcp-call.mjs get_playlists

# Get playlist details
node {baseDir}/scripts/mcp-call.mjs get_playlist '{"id": "PLAYLIST_ID"}'

# Edit playlist songs
node {baseDir}/scripts/mcp-call.mjs edit_playlist '{"id": "PLAYLIST_ID", "addedSongs": ["4iV5W9uYEdYUVa79Axb7Rh"], "removedSongs": []}'

# Delete playlist
node {baseDir}/scripts/mcp-call.mjs delete_playlist '{"id": "PLAYLIST_ID"}'

# Search songs
node {baseDir}/scripts/mcp-call.mjs search_songs '{"query": "Blinding Lights", "limit": 5}'

# Search artists
node {baseDir}/scripts/mcp-call.mjs search_artists '{"query": "The Weeknd", "limit": 5}'

# List all available tools
node {baseDir}/scripts/mcp-call.mjs --list-tools

### Available MCP Tools

ToolDescriptionKey paramsgenerate_playlistCreate a playlist from a mood/promptmood (string, required)get_playlistGet playlist details + tracksid (string, required)get_playlistsList user's playlists (paginated)lastDocId (string, optional)edit_playlistAdd/remove songs by Spotify track IDid, addedSongs, removedSongsdelete_playlistDelete a playlistid (string, required)playlist_suggestionsGet 6 AI mood suggestionsuserHour (0-23, optional)search_songsSearch Spotify tracksquery, limit (1-10)search_artistsSearch Spotify artistsquery, limit (1-10)

See references/api_reference.md for full parameter details, response formats, and error handling.

### Playlist Generation Flow (important)

Playlist generation takes ~30 seconds. Always follow this flow:

Call generate_playlist → returns immediately with id and Spotify URL
Share the Spotify URL with the user right away so they have it
Wait ~15s, then poll get_playlist every 10 seconds until status === "ready"
Once ready, display the track list to the user

Use the --wait flag to handle this automatically:

node {baseDir}/scripts/mcp-call.mjs generate_playlist '{"mood": "..."}' --wait

This generates, polls until ready (~30s), then prints the full playlist with tracks.

### Notes

Free users get a limited "teaser" playlist. Paid users get full playlists.
playlist_suggestions is time-aware — pass userHour for better results (morning workout vs late-night chill).
Songs are identified by Spotify track IDs (e.g., 4iV5W9uYEdYUVa79Axb7Rh). Use search_songs to find IDs.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Brackyt
- Version: 1.0.0
## 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-07T04:39:40.201Z
- Expires at: 2026-05-14T04:39:40.201Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/playlistable)
- [Send to Agent page](https://openagent3.xyz/skills/playlistable/agent)
- [JSON manifest](https://openagent3.xyz/skills/playlistable/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/playlistable/agent.md)
- [Download page](https://openagent3.xyz/downloads/playlistable)