← 返回 Skills 市场
spotify-control
作者
copywrite-ai
· GitHub ↗
· v1.0.1
· MIT-0
364
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install spotify-control
功能描述
macOS Spotify control skill for OpenClaw. Supports playback, volume, position, and metadata retrieval via AppleScript.
安全使用建议
This skill appears coherent and low-risk: it simply runs AppleScript (via osascript) to control the local Spotify app and does not access credentials or the network. Before installing, confirm you are comfortable giving the agent the ability to control local media playback (an autonomous agent could change or pause music). If you want extra assurance, inspect or run scripts/spotify-control.py locally to verify behavior and ensure osascript and Spotify are available on the target macOS machine. If the author is unknown and you don't want an agent to change audio automatically, avoid enabling autonomous invocation or restrict when the skill may be used.
功能分析
Type: OpenClaw Skill
Name: spotify-control
Version: 1.0.1
The spotify-control skill provides a Python wrapper for macOS AppleScript to manage Spotify playback. It is classified as suspicious due to a command injection vulnerability in `scripts/spotify-control.py`, where the `set-volume` and `set-position` actions unsafely interpolate user-provided arguments directly into AppleScript strings. This allows for potential arbitrary code execution (e.g., using AppleScript's `do shell script` command) if a malicious value is passed to the script. No evidence of intentional malice or data exfiltration was found.
能力评估
Purpose & Capability
Name/description match the included SKILL.md and the Python wrapper. The only operations are AppleScript calls to the Spotify app via osascript, which is exactly what a macOS Spotify controller would need.
Instruction Scope
SKILL.md limits behavior to one-shot AppleScript commands and explicitly references using the provided scripts/spotify-control.py wrapper. The wrapper only constructs AppleScript and invokes osascript; it does not read files, environment variables, or send data to external endpoints.
Install Mechanism
No install spec is present (instruction-only with a helper script). Nothing is downloaded or written to disk by an installer; risk is minimal. The script will run on-demand using the system's Python and osascript.
Credentials
The skill declares no required environment variables or credentials and the code does not access any secrets, network sockets, or unrelated config paths. This is proportionate to the stated purpose.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide settings. Autonomous invocation is allowed by platform default; combined with this skill's limited scope, that is low risk.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install spotify-control - 安装完成后,直接呼叫该 Skill 的名称或使用
/spotify-control触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Initial release of the spotify-control skill for macOS.
- Added the core script: scripts/spotify-control, providing playback, volume, position, and metadata commands via AppleScript.
- Updated usage instructions to remove "./" from script invocation examples for improved clarity.
v1.0.0
Initial release of Spotify control skill for macOS.
- Control Spotify playback, volume, and position via AppleScript.
- Retrieve current track metadata including name, artist, album, and URL.
- Supports toggling shuffle and repeat modes.
- All commands run through a Python-based script wrapper.
- Designed for use with OpenClaw agents on macOS systems.
元数据
常见问题
spotify-control 是什么?
macOS Spotify control skill for OpenClaw. Supports playback, volume, position, and metadata retrieval via AppleScript. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 364 次。
如何安装 spotify-control?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install spotify-control」即可一键安装,无需额外配置。
spotify-control 是免费的吗?
是的,spotify-control 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
spotify-control 支持哪些平台?
spotify-control 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 spotify-control?
由 copywrite-ai(@copywrite-ai)开发并维护,当前版本 v1.0.1。
推荐 Skills