TopRank Skills

Home / Claw Skills / Others / spotify-control
Official OpenClaw rules 15%

spotify-control

macOS Spotify control skill for OpenClaw. Supports playback, volume, position, and metadata retrieval via AppleScript.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 spotify-control 技能。 若已安装,则直接安装 spotify-control 技能。

Overview

Skill Key
copywrite-ai/spotify-control
Author
Antigravity
Source Repo
openclaw/skills
Version
1.0.1
Source Path
skills/copywrite-ai/spotify-control
Latest Commit SHA
7964fc20159d49210db89f6b53d1f70c710e8152

Extracted Content

SKILL.md excerpt

# Spotify Control (macOS)

## Overview

Control Spotify on macOS using AppleScript. This skill provides a set of commands to manage playback, volume, and track information.

## Actions

### Playback Control

- **Play/Pause**: Toggle playback.
- **Next/Previous**: Jump to next or previous track.
- **Stop**: Pause playback.

### Volume & Position

- **Set Volume (0-100)**: Adjust Spotify internal volume.
- **Set Position (seconds)**: Jump to a specific time in the current track.

### Metadata & State

- **Get Info**: Retrieve current track name, artist, album, and Spotify URL.
- **Set Shuffle (on/off)**: Toggle shuffle mode.
- **Set Repeat (on/off)**: Toggle repeat mode.

## Usage

Agents should use the `scripts/spotify-control.py` wrapper for all commands.

### Examples

```sh
# Toggle play/pause
scripts/spotify-control.py playpause

# Get current track info
scripts/spotify-control.py get-info

# Set volume to 80%
scripts/spotify-control.py set-volume 80

# Seek to 1 minute (60s)
scripts/spotify-control.py set-position 60
```

## Guardrails

- Ensure Spotify is installed and running.
- All commands are one-shot AppleScript executions via a Python wrapper.
- Does not affect system-wide volume unless specified for fallback.

Related Claw Skills