← Back to Skills Marketplace
copywrite-ai

spotify-control

by copywrite-ai · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
364
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install spotify-control
Description
macOS Spotify control skill for OpenClaw. Supports playback, volume, position, and metadata retrieval via AppleScript.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install spotify-control
  3. After installation, invoke the skill by name or use /spotify-control
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug spotify-control
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is spotify-control?

macOS Spotify control skill for OpenClaw. Supports playback, volume, position, and metadata retrieval via AppleScript. It is an AI Agent Skill for Claude Code / OpenClaw, with 364 downloads so far.

How do I install spotify-control?

Run "/install spotify-control" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is spotify-control free?

Yes, spotify-control is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does spotify-control support?

spotify-control is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created spotify-control?

It is built and maintained by copywrite-ai (@copywrite-ai); the current version is v1.0.1.

💬 Comments