AI & Integration vv0.1.0

spotify-safe-play

Safer Spotify playback for OpenClaw on setups where direct spogo play is unreliable.

surdragon 更新于 2026-03-21 1 浏览
下载 SKILL

技能说明

Safer Spotify playback for OpenClaw on setups where direct spogo play is unreliable.

使用场景

Use this skill when the user wants to play Spotify tracks, albums, or playlists and the machine is known to have unreliable direct spogo play behavior.

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

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/spotify-safe-play
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 21 kB
SKILL.md text/markdown
---
name: spotify-safe-play
description: Safer Spotify playback for OpenClaw on setups where direct spogo play is unreliable.
homepage: https://github.com/surdragon-design/spotify-safe-player
metadata:
  {
    "openclaw":
      {
        "requires": { "anyBins": ["spogo"] }
      },
  }
---

# Spotify Safe Play

Use this skill when the user wants to play Spotify tracks, albums, or playlists and the machine is known to have unreliable direct `spogo play` behavior.

Files included with this skill

- Wrapper script: `./bin/spotify-safe-play`

Preferred commands

- Search track: `spogo search track "query"`
- Search album: `spogo search album "query"`
- Search playlist: `spogo search playlist "query"`
- Safe playback: `./skills/spotify-safe-play/bin/spotify-safe-play <spotify-uri-or-url-or-id> [--device "..."]`
- Pause / resume / next / previous: `spogo pause`, `spogo play`, `spogo next`, `spogo prev`
- Devices: `spogo device list`, `spogo device set "<name|id>"`
- Status: `spogo status`

Playback rules

- For tracks, the wrapper safely queues the requested track and skips to it.
- For albums and playlists, the wrapper expands the public Spotify page into track URIs, queues them in normal order, skips once into the first track, then exits immediately.
- After the first target track starts, do not send extra `next`, `play`, or verification loops.
- Avoid direct `spogo play <track>` on affected machines because it may resume the current context instead of switching to the requested content.
- If the user has separately installed `spotify-safe-play` into PATH, `spotify-safe-play <item> ...` is also acceptable.

Requirements

- Spotify Premium
- `spogo` installed and authenticated
- Bash, `curl`, `grep`, and `awk`
- An active Spotify Connect target such as Spotify Web Player or the desktop app

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。