spotify

spotify is a skill for Claude Code, Codex from StarryCod/cogitum. It costs 15 tokens per session (1,664 once invoked), scanned A, a copy of spotify, MIT.

A set of controls for a user's Spotify account, including playback, search, queues, playlists, albums, devices, and saved music.

In plain words
What is it for?
Use it to play or pause music, search tracks, manage queues and playlists, switch devices, inspect playback, and save or remove tracks or albums.
Why use it?
It lets an agent carry out common Spotify actions without requiring the user to navigate the app manually.

Skill for Claude CodeCodex

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

Good fit Use it to play or pause music, search tracks, manage queues and playlists, switch devices, inspect playback, and save or remove tracks or albums.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/starrycod/cogitum/spotify
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 StarryCod/cogitum --skill spotify
Clone the repo
git clone --depth 1 https://github.com/StarryCod/cogitum

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/starrycod/cogitum/spotify/github.svg)](https://agentmods.dev/skills/starrycod/cogitum/spotify)
Your own site
<a href="https://agentmods.dev/skills/starrycod/cogitum/spotify"><img src="https://agentmods.dev/badge/skills/starrycod/cogitum/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/starrycod/cogitum/spotify"><img src="https://agentmods.dev/badge/skills/starrycod/cogitum/spotify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,664 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 94% copy Near-identical to another mod 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.00015 $0.01664
Opus 5.5 $0.00006 $0.00666
Sonnet 5.5 $0.00003 $0.00333
Haiku 4.5 $0.00002 $0.00166

Measured 3mo ago against content hash be34baca83cb, 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 3mo 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.

Origin

This is a copy

94% identical to spotify — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cogitum/data/skills/media/spotify/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spotify

Control the user's Spotify account via the Cogitum Spotify toolset (7 tools). Setup guide: https://cogitum.nousresearch.com/docs/user-guide/features/spotify

When to use this skill

The user says something like "play X", "pause", "skip", "queue up X", "what's playing", "search for X", "add to my X playlist", "make a playlist", "save this to my library", etc.

The 7 tools

  • spotify_playback — play, pause, next, previous, seek, set_repeat, set_shuffle, set_volume, get_state, get_currently_playing, recently_played
  • spotify_devices — list, transfer
  • spotify_queue — get, add
  • spotify_search — search the catalog
  • spotify_playlists — list, get, create, add_items, remove_items, update_details
  • spotify_albums — get, tracks
  • spotify_library — list/save/remove with kind: "tracks"|"albums"

Playback-mutating actions require Spotify Premium; search/library/playlist ops work on Free.

Canonical patterns (minimize tool calls)

"Play <artist/track/album>"

One search, then play by URI. Do NOT loop through search results describing them unless the user asked for options.

spotify_search({"query": "miles davis kind of blue", "types": ["album"], "limit": 1})
→ got album URI spotify:album:1weenld61qoidwYuZ1GESA
spotify_playback({"action": "play", "context_uri": "spotify:album:1weenld61qoidwYuZ1GESA"})

For "play some " (no specific song), prefer types: ["artist"] and play the artist context URI — Spotify handles smart shuffle. If the user says "the song" or "that track", search types: ["track"] and pass uris: [track_uri] to play.

"What's playing?" / "What am I listening to?"

Single call — don't chain get_state after get_currently_playing.

spotify_playback({"action": "get_currently_playing"})

If it returns 204/empty (is_playing: false), tell the user nothing is playing. Don't retry.

"Pause" / "Skip" / "Volume 50"

Direct action, no preflight inspection needed.

spotify_playback({"action": "pause"})
spotify_playback({"action": "next"})
spotify_playback({"action": "set_volume", "volume_percent": 50})

Read the full file on GitHub · 136 lines

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. 3mo ago First seen · 136 lines · 15 tokens per session scan A be34baca83cb

Subscribe to this mod's changes

spotify is a skill published in the GitHub repository StarryCod/cogitum (12 stars, last pushed 6mo ago), licensed MIT. It adds 15 tokens to every session and 1,664 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to spotify, differing in 9 lines, and is treated as a copy.

Related

spotify compared with skills from other repositories

spotify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spotifyStarryCod/cogitumSkill126mo agoMITA15Claude Code, Codex
pypi-releasealchemiststudiosDOTai/tunacodeSkill1241mo agoMITA52Claude Code, Codex
audit-harnessalchemiststudiosDOTai/tunacodeSkill1241mo agoMITA69Claude Code, Codex
agent-builderchandrudp29/skillhubSkill145mo agoMITA42Claude Code, Codex
html-artifactslangchain-ai/open-sweSkill11ktodayMITA52Claude Code, Codex
baby-sitlangchain-ai/open-sweSkill11ktodayMITA30Claude Code, Codex
imaging-data-commonssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A62Claude Code, Codex