🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Spotify Playlist Builder

by @codeaholicman

Build and manage Spotify playlists from natural language requests. Search tracks/artists/albums, create playlists, manage tracks, view listening history. Use...

Versionv1.0.0
βš™οΈ Configuration

1. Create an app at https://developer.spotify.com/dashboard 2. Set redirect URI to http://127.0.0.1:8765/callback (must be 127.0.0.1, not localhost - Spotify blocks localhost) 3. Run auth:

python3 scripts/auth.py --client-id  --client-secret 

4. Open the printed URL in a browser and authorize 5. If the callback page loads automatically, done. Otherwise copy the full redirect URL and run:

python3 scripts/auth.py --client-id  --client-secret  --code-url ""

Tokens are saved to ~/.openclaw/workspace/config/.spotify-tokens.json and auto-refresh on 401.

πŸ“‹ Tips & Best Practices

  • Run multiple searches with different angles (artist names, genre keywords, era + mood combos)
  • Mix well-known tracks with deeper cuts for a good playlist feel
  • top-tracks --time-range short shows what the user's been into recently (last 4 weeks)
  • top-tracks --time-range long shows all-time favourites
  • Aim for 15-30 tracks unless the user specifies otherwise
  • Name playlists creatively based on the vibe, not just the literal request
  • View on ClawHub
    TERMINAL
    clawhub install spotify-playlist

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’