Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

spotify-playlistSpotify 播放列表

Agent Skill

spotify-playlist 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,993

周安装

536

GitHub Stars

公开资料未说明

下载量

4,245
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:spotify-playlist(Spotify 播放列表)
来源仓库:https://github.com/codeaholicman/spotify-playlist
安装命令:
openclaw skills install spotify-playlist
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install spotify-playlist

简介

根据自然语言描述自动生成和管理个性化 Spotify 播放列表。

  • 可用于创建主题歌单、整理收藏曲目或管理收听历史记录。
  • 用户只需用文字说明意图,如“做一份放松心情的歌单”即可启动。
  • 需接入 Spotify Web API 并确保账户具备创建播放列表的权限。
  • spotify-playlist 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
spotify-playlist
description
Build and manage Spotify playlists from natural language requests. Search tracks/artists/albums, create playlists, manage tracks, view listening history. Use when the user asks to create a playlist, find music, check what they've been listening to, or any Spotify-related request. Examples - "make me a playlist for a rainy Sunday", "what have I been listening to lately", "find songs like Bonobo".

Spotify Playlist Builder

Build playlists from natural language using the Spotify Web API. Updated for the February 2026 API changes (Dev Mode).

Prerequisites

  • Spotify Premium account (required for Dev Mode apps since Feb 2026)
  • Python 3 with requests library

Setup

  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 <ID> --client-secret <SECRET>
  1. Open the printed URL in a browser and authorize
  2. If the callback page loads automatically, done. Otherwise copy the full redirect URL and run:
python3 scripts/auth.py --client-id <ID> --client-secret <SECRET> --code-url "<FULL_REDIRECT_URL>"

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

API Script Reference

All commands in scripts/spotify.py. All output JSON.

# Search (tracks, artists, or albums)
python3 scripts/spotify.py search "bohemian rhapsody" --limit 5
python3 scripts/spotify.py search "Bonobo" --type artist --limit 3
python3 scripts/spotify.py search "Moon Safari" --type album --limit 3

# Create playlist
python3 scripts/spotify.py create "Rainy Sunday" --description "Chill vibes" --private

# Add/remove tracks (by Spotify URI)
python3 scripts/spotify.py add <playlist_id> spotify:track:xxx spotify:track:yyy
python3 scripts/spotify.py remove <playlist_id> spotify:track:xxx

# List playlists
python3 scripts/spotify.py my-playlists --limit 10

# View playlist contents
python3 scripts/spotify.py playlist-tracks <playlist_id> --limit 50

# Listening history
python3 scripts/spotify.py top-tracks --time-range short --limit 20
python3 scripts/spotify.py recently-played --limit 20

# Profile
python3 scripts/spotify.py me

Playlist Building Workflow

When a user asks for a playlist:

  1. Interpret the request - extract mood, genre, era, activity, or specific artists/songs
  2. Search for tracks - use multiple targeted searches to find tracks matching the vibe
  3. Use listening history - check top-tracks and recently-played to personalize if relevant
  4. Create and populate - create the playlist with a creative name and description, add 15-30 tracks
  5. Share the link - return the Spotify URL

Tips

  • 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

Feb 2026 API Limitations (Dev Mode)

  • Recommendations endpoint removed - build playlists via search + curation instead
  • No popularity field on some responses - may return 0
  • Playlist endpoints renamed from /tracks to /items (already handled in scripts)
  • Premium required for the app owner
  • Max 5 users per app, 1 app per developer
  • No batch endpoints for albums/artists/tracks (use individual lookups)

Cron Ideas

Combine with OpenClaw cron for automated playlists:

  • Weekly refresh - build a new playlist every Monday based on a rotating theme
  • Time-of-day playlists - morning focus, afternoon energy, evening wind-down
  • Commute playlist - auto-build a playlist matched to journey duration
  • Weather-reactive - check weather, adjust playlist mood accordingly

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.61%
按下载量换算3,634

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills