spotify

spotify is a skill for Claude Code, Codex from Hmbown/Codewhale. It costs 0 tokens per session (370 once invoked), scanned A, original, MIT.

A tool for controlling Spotify playback and searching Spotify music, playlists, and tracks. Spotify is a music streaming service; playback can use its desktop app, while searches and playlist reading use its web service.

In plain words
What is it for?
Use it to play, pause, skip, identify the current track, search for music, and read playlist contents.
Why use it?
It lets an agent handle common music tasks without opening Spotify manually or asking for the user's password. It does not edit playlists or download music.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to play, pause, skip, identify the current track, search for music, and read playlist contents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmbown/codewhale/spotify
About the project

Codewhale is an open-source coding agent that runs in the terminal and can read repositories, edit files, execute commands, and inspect results while pursuing a task. Developers use it with hosted providers or local models, with controls for how much access it receives.

Hmbown/Codewhale · 41,035 stars · on GitHub · codewhale.net

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Hmbown/Codewhale --skill spotify
Clone the repo
git clone --depth 1 https://github.com/Hmbown/Codewhale

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spotify

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmbown/codewhale/spotify/github.svg)](https://agentmods.dev/skills/hmbown/codewhale/spotify)
Your own site
<a href="https://agentmods.dev/skills/hmbown/codewhale/spotify"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/spotify/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spotify

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmbown/codewhale/spotify"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/spotify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 370 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00370
Opus 5.5 $0.00000 $0.00148
Sonnet 5.5 $0.00000 $0.00074
Haiku 4.5 $0.00000 $0.00037

Measured 2mo ago against content hash 6fef0ca54efe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spotify scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

crates/tui/assets/skills/spotify/SKILL.md · 39 lines

What it actually says


Spotify

When to use

Playing, pausing, skipping, identifying the current track, searching for music, and reading playlists.

Setup

Two paths:

  1. Local control (macOS, no setup). The Spotify desktop app must be running, or say so: osascript -e 'tell application "Spotify" to playpause'
  2. Web API (search, playlists, other platforms). Requires an authorized Spotify connection with suitable scopes; report missing access without asking the user to paste a token into chat: GET api.spotify.com/v1/search, /v1/me/playlists, /v1/playlists/{id}.

Workflow

  1. Prefer local control for transport (play/pause/next/previous/current track). Use the requested play or pause verb; playpause is a toggle and cannot safely be retried after an uncertain result. Verify player state afterward.
  2. Use available Web API endpoints for search and playlist contents. Check current app-access restrictions; do not promise the restricted Recommendations API. Handle 403/429 responses without bypassing access or rate limits.
  3. Report artist, track, album, and playlist names verbatim.

Non-goals

  • Do not change playlists (add/remove/reorder) unless asked.
  • Do not download or rip audio.
  • Do not handle the user's Spotify password.

Reference: Spotify API changes.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +7 lines 6fef0ca54efe
  2. 2mo ago First seen · 32 lines · 0 tokens per session scan A 5bf2d29160a4

Subscribe to this mod's changes

spotify is a skill published in the GitHub repository Hmbown/Codewhale (41,035 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 370 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.

Related

spotify compared with skills from other repositories

spotify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spotifyHmbown/CodewhaleSkill41k1mo agoMITA0Claude Code, Codex
gh-find-prsHmbown/CodeWhaleSkill41kyesterdayMITA27Claude Code, Codex
best-of-nHmbown/CodeWhaleSkill41kyesterdayMITA32Claude Code, Codex
contributor-onboardingHmbown/CodeWhaleSkill41kyesterdayMITA57Claude Code, Codex
fleet-managerHmbown/CodeWhaleSkill41kyesterdayMITA25Claude Code, Codex
handoffHmbown/CodeWhaleSkill41kyesterdayMITA70Claude Code, Codex
plugin-creatorHmbown/CodeWhaleSkill41kyesterdayMITA29Claude Code