diillson/chatcli/spotify

Claude Code and agent skill by diillson/chatcli

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Control music playback — play/pause, skip, volume, now-playing — on the local Spotify app via playerctl (Linux/MPRIS) or AppleScript (macOS), keyless. Use when asked to "play music", "pause", "skip song", "what's playing", "next track".

Install

npx vskill@latest install diillson/chatcli/spotify

SKILL.md

Spotify / Media Playback (local control)

Control the local Spotify desktop app without any API key or OAuth, using the OS media control layer. (The Web API exists but needs OAuth — prefer local control for play/pause/skip.)

macOS — AppleScript

osascript -e 'tell application "Spotify" to playpause'
osascript -e 'tell application "Spotify" to next track'
osascript -e 'tell application "Spotify" to set sound volume to 60'
osascript -e 'tell application "Spotify" to (name of current track) & " — " & (artist of current track)'
osascript -e 'tell application "Spotify" to play track "spotify:track:TRACKID"'

Linux — playerctl (MPRIS; works with Spotify, and most players)

playerctl -p spotify play-pause
playerctl -p spotify next
playerctl -p spotify metadata --format '{{ artist }} — {{ title }}'
playerctl -p spotify volume 0.6

Detect: command -v playerctl. Install: apt install playerctl.

Windows

The Windows Spotify app exposes media keys via the System Media Transport Controls — simplest is to send media-key virtual inputs from PowerShell, or use spotify-cli. If neither is available, say so rather than improvising.

Search / play a specific song (needs Web API)

Playing an arbitrary search result requires the Spotify Web API with the user's OAuth token (SPOTIFY_TOKEN). If the user wants that, explain the one-time auth; otherwise stick to controlling whatever is already queued.

Rules

  • Detect the OS first; the control mechanism differs entirely.
  • For "what's playing", read metadata and report artist — title.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
93
Repository forks
24
7-day trend score
28

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/diillson/chatcli/spotify/badge)](https://verified-skill.com/skills/diillson/chatcli/spotify)

Something wrong with this skill or its page? Tell us.