| name | spotify |
| description | Control Spotify playback — play, pause, skip, search, queue, volume, and more. |
Run the Spotify CLI command using the arguments provided by the user.
The Spotify CLI is located at ${CLAUDE_PLUGIN_ROOT}/lib/cli.js.
To execute a command, run:
node "${CLAUDE_PLUGIN_ROOT}/lib/cli.js" <subcommand> [args...]
Subcommands
auth — Authenticate with Spotify (opens browser for OAuth)
status — Show current playback (track, progress, device, volume, shuffle, repeat)
play [query|spotify_uri] — Resume playback or play something specific
pause — Pause playback
next — Skip to next track
previous — Go to previous track
volume [0-100] — Get or set volume
seek <seconds|m:ss> — Seek to position
shuffle [on|off] — Get or toggle shuffle
repeat [off|track|context] — Get or set repeat
devices — List available Spotify Connect devices
transfer <device_id> — Transfer playback to device
search <query> [--type track|album|artist|playlist] [--limit N] — Search Spotify
queue [query|spotify_uri] — View queue or add a track
playlists — List user's playlists
me — Show user profile
recommend [--artist id] [--genre name] [--limit N] — Get recommendations
like — Save current track to library
unlike — Remove current track from library
User's request
$ARGUMENTS