微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

ClawSpotify

ClawSpotify · v1.0.0
安全 unknown 级 作者 ejatapibeda 公开目录收录
1.1k 下载 1 安装 3.3k 收藏 1 浏览

简介

ClawSpotify

原始描述

Control Spotify playback: play, pause, resume, skip, previous, restart, search, queue, set volume, shuffle, repeat, and view now-playing status.

通过你的 Agent 添加

安装目录:clawspotify/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/clawspotify/
Codex CLI~/.codex/skills/clawspotify/
DeepSeek Harness~/.agents/skills/clawspotify/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: clawspotify

Control Spotify playback — play, pause, skip, search, queue, volume, and view now-playing status from OpenClaw.

description: "Control Spotify playback: play, pause, resume, skip, previous, restart, search, queue, set volume, shuffle, repeat, and view now-playing status." metadata: openclaw: emoji: "🎵" requires: bins: ["bash", "python3"]

clawspotify

Control your Spotify playback directly from your OpenClaw agent. Search songs, control playback, manage volume, and view what's currently playing.

Trigger

Use when the user asks to:

  • Play, pause, resume, skip, previous, or restart a song or playlist
  • Search for a song, artist, or playlist (without playing)
  • Add something to the queue
  • Check what's playing now
  • Change volume or shuffle/repeat settings
  • Set up their Spotify session (first-time)

Commands

Now playing status

clawspotify status                   # full now-playing info + device

Search music (without playing)

clawspotify search "Bohemian Rhapsody"        # search tracks and show top 5 results
clawspotify search-playlist "Workout"         # search playlists and show top 5 results

Search and play

clawspotify play "Bohemian Rhapsody"          # search tracks and play first result
clawspotify play "Bohemian Rhapsody" --index 2  # pick result #2 (0-indexed)
clawspotify play-playlist "Lofi Girl"         # search playlists and play first result

Playback controls

clawspotify pause
clawspotify resume
clawspotify skip                     # skip to next track
clawspotify prev                     # go to previous track
clawspotify restart                  # restart current track from beginning

Queue

clawspotify queue "Stairway to Heaven"        # search and add to queue
clawspotify queue "spotify:track:3z8h0TU..."  # add by URI directly

Volume

clawspotify volume 50                # set volume to 50%
clawspotify volume 0                 # mute
clawspotify volume 100               # max volume

Shuffle / Repeat

clawspotify shuffle on
clawspotify shuffle off
clawspotify repeat on
clawspotify repeat off

Session setup (first time only)

clawspotify setup --sp-dc "AQC..." --sp-key "07c9..." --id "my_account"

Notes

  • Session is stored at ~/.config/spotapi/session.json — only needs to be set up once.
  • Default session identifier is "default". Use --id to manage multiple accounts.
  • sp_dc and sp_key cookies can be found in browser DevTools → Application → Cookies → open.spotify.com.
  • Commands target the currently active Spotify device (PC, phone, or web).
  • Script location: {skill_folder}/clawspotify.sh
  • Platform note: If your human is on Windows, they'll need WSL, Git Bash, or Cygwin to run this skill since it uses a Bash wrapper.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill