360 Secure SkillHub
360 安全技能中心

Spotify Safe Play

该 Skill 为 OpenClaw 提供 Spotify 安全播放包装:先用 spogo 搜索曲目、专辑或播放列表,再由包装脚本把请求展开为 track URI 排队并跳到首支目标曲目,随后立即退出,避免在受影响机器上直接用 spogo play 而续播当前上下文。需要 Spotify Premium、已鉴权的 spogo、Bash/curl/grep/awk 以及可用的 Spotify Co…

surdragon-design
surdragon-design
热度 40.01
最近更新 2026-05-11 17:34:32
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add spotify-safe-play
Metadata
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