← 返回 Skills 市场
egemenyerdelen

Spotify Controller

作者 Egemen Yerdelen · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
446
总下载
0
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install spotify-controller
功能描述
Control Spotify playback and devices from an AI agent using spotify.py and the official Spotify Web API. Use when users ask to check current track, play/paus...
安全使用建议
This skill appears coherent and implements only Spotify API calls. Before installing: (1) verify the skill source you obtained it from and inspect scripts/spotify.py yourself (it is included and readable), (2) do not commit SPOTIFY_* values into version control — store them in a secure secrets store or .env excluded from git, (3) generate the refresh token locally and only supply the long-lived refresh token to the runtime you trust, (4) limit the Spotify app scopes to the least privileges needed (playback control and read state), and (5) confirm the 'uv pip install' lines are applicable to your environment (use plain 'pip install requests' if unsure). If you do not want the agent to control playback autonomously, avoid enabling autonomous invocation or restrict when the skill can be called.
功能分析
Type: OpenClaw Skill Name: spotify-controller Version: 1.0.1 The OpenClaw Spotify Controller skill is benign. Both the `SKILL.md` documentation and the `scripts/spotify.py` code are transparent and align with the stated purpose of controlling Spotify playback via its official Web API. The Python script securely handles Spotify API credentials from environment variables, uses the `requests` library for HTTP communication exclusively with `accounts.spotify.com` and `api.spotify.com`, and properly sanitizes user input for search queries using `urllib.parse.quote`. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts against the AI agent. The setup instructions are standard for OAuth 2.0 and Python dependency management.
能力评估
Purpose & Capability
Name/description (control Spotify playback) align with required env vars (client id/secret/refresh token), the python script, and the documented Spotify Web API calls. Requested binaries and packages (python3, requests) are appropriate.
Instruction Scope
SKILL.md instructs how to obtain and provide Spotify credentials and how to run the included spotify.py. Instructions do not ask the agent to read unrelated files or send data to unexpected endpoints; the script only talks to accounts.spotify.com and api.spotify.com.
Install Mechanism
No install spec (instruction-only) and the script is included directly. SKILL.md asks to install the Python 'requests' package which is proportional. Small oddity: SKILL.md uses the prefix 'uv pip install ... --system' in multiple places (likely a typo or platform-specific helper); verify that your runtime supports that command or use plain 'pip install requests' before relying on it.
Credentials
Three environment variables (SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REFRESH_TOKEN) are expected and necessary for refreshing an access token and calling Spotify endpoints. No unrelated secrets or superfluous environment requirements are requested.
Persistence & Privilege
Skill is not always-enabled and is user-invocable. It does not request system-wide changes or modify other skills. SKILL.md suggests chown/chmod on the workspace file as operational guidance, which is normal but requires appropriate permissions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install spotify-controller
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /spotify-controller 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Minor update with documentation improvements and metadata additions: - Added a homepage link and structured metadata (including emoji and required environment variables). - Clarified usage of Spotify Web API and environment variable requirements in the description. - Improved security notes to specify domains touched by the script. - Minor clarifications and formatting fixes in documentation.
v1.0.0
Version 1.0.0 – Initial release of Spotify Controller Skill. - Control Spotify playback and devices using spotify.py and the Spotify Web API. - Provides commands for play, pause, next, previous, volume, search, device management, and direct URI playback. - Works seamlessly on local, Docker, VPS, and hybrid environments without needing a local Spotify client. - Step-by-step setup instructions for developer credentials and environment configuration. - Includes detailed usage examples, troubleshooting, and operational/security guidance.
元数据
Slug spotify-controller
版本 1.0.1
许可证
累计安装 3
当前安装数 3
历史版本数 2
常见问题

Spotify Controller 是什么?

Control Spotify playback and devices from an AI agent using spotify.py and the official Spotify Web API. Use when users ask to check current track, play/paus... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 446 次。

如何安装 Spotify Controller?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install spotify-controller」即可一键安装,无需额外配置。

Spotify Controller 是免费的吗?

是的,Spotify Controller 完全免费(开源免费),可自由下载、安装和使用。

Spotify Controller 支持哪些平台?

Spotify Controller 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Spotify Controller?

由 Egemen Yerdelen(@egemenyerdelen)开发并维护,当前版本 v1.0.1。

💬 留言讨论