Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

spotify-hub

Skill by OpenMinis

Controls Spotify playback from an AI assistant using Python and spotipy. It covers play and pause, skipping, volume, search, and keyword-based mixed playlists, for people who want to manage Spotify through their assistant.

  • Score 77
  • 634 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install spotify-hub

Built from the published package, never by AI.

git clone --depth 1 https://github.com/OpenMinis/MinisSkills /tmp/MinisSkills && mkdir -p ~/.claude/skills && cp -r /tmp/MinisSkills/spotify-hub ~/.claude/skills/spotify-hub

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install spotify-hub in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

spotify-hub is an agent skill that uses Python and the spotipy library to call the Spotify Web API. It lets an assistant play and pause playback, skip tracks, set volume, toggle shuffle and repeat, seek, search and play songs, and show the current playback status and device list. It also builds mixed playlists from keywords such as TikTok hits, a genre or an artist.

The scripts run through uv inline script metadata, so dependencies install automatically with uv run. Users need Spotify developer credentials stored as environment variables, plus an authorization step that stores a refresh token in a cache file. Playback control needs an active Spotify device. The skill suits people who want to control Spotify from their AI assistant.

Written from the project's SKILL.md and checked against it.

What it can do

  • Playback controlPlay, pause, skip to the next or previous track.
  • Volume and shuffleSet volume from 0 to 100 and toggle shuffle on or off.
  • Repeat and seekSet repeat mode to off, track or context, and seek to a position.
  • Search and playSearch for a song by keyword and play it.
  • Keyword playlist mixSearch several keywords and play a mixed set of tracks.
  • Status and devicesView current playback status and the list of available devices.
  • Saved and recent tracksView saved tracks, recent history, and save or unsave the current track.
  • Top tracks and artistsView most-listened tracks or artists over a chosen count.
  • Playlist managementList playlists, create a playlist, or add the current track to one.
  • Follow artistsFollow an artist by name and view the artists you follow.

What you need

  • Spotify developer app with client ID and client secret
  • Redirect URI set to http://127.0.0.1:8888/callback
  • uv to run the scripts
  • Spotify open on a phone or computer that has played before

Try asking

  • Pause Spotify and set the volume to 40.
  • Play a mix of TikTok trending songs on Spotify.
  • Show my Spotify playback status and available devices.

Good to know

  • Playback control requires an active Spotify device.
  • Third-party public playlists return 403 in Development Mode, so the skill uses search instead.
  • Spotify credentials must be set as environment variables before use.
  • Authorization is needed again when the token expires.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: spotify-hub/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • scripts/spotify.py12 KB
  • scripts/spotify_auth.py3 KB

Alternatives to spotify-hub

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

spotify-hub: common questions

Does spotify-hub need an active Spotify device?

Yes. The source says playback control requires an active device, meaning Spotify is open on a phone or computer and has played before.

Can it read TikTok Hits or other third-party playlists?

No. The source says third-party public playlists return 403 in Development Mode, so the skill uses multi-keyword search to mix tracks instead.

Can it find more Chinese songs?

The source says setting market to HK can find more Chinese songs.

How do I install spotify-hub?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is spotify-hub free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is spotify-hub safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to spotify-hub?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

spotify-hub Install

Add to stack

Loading.