spotify-api

spotify-api is a skill for Claude Code, Codex from fabioc-aloha/spotify-skill. It costs 100 tokens per session (3,966 once invoked), scanned A, original, Apache-2.0.

A tool for working with Spotify through its web service, including finding music, managing playlists, controlling playback, and reading selected listening data. Spotify is a music-streaming service.

In plain words
What is it for?
Use it to search for tracks, artists, and albums; create or edit playlists; add or remove songs; play, pause, or skip music; inspect listening data; and create custom playlist cover art.
Why use it?
It lets an agent carry out common Spotify actions from instructions, including creating playlist cover images in SVG format for use as thumbnails. It also covers account setup and the operations the tool supports.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/fabioc-aloha/spotify-skill/spotify-api
Any agent
npx skills add fabioc-aloha/spotify-skill --skill spotify-api
Clone the repo
git clone --depth 1 https://github.com/fabioc-aloha/spotify-skill

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-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/fabioc-aloha/spotify-skill/spotify-api.svg)](https://agentmods.dev/skills/fabioc-aloha/spotify-skill/spotify-api)
Your own site
<a href="https://agentmods.dev/skills/fabioc-aloha/spotify-skill/spotify-api"><img src="https://agentmods.dev/badge/skills/fabioc-aloha/spotify-skill/spotify-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,966 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00100 $0.03966
Opus 5 $0.00050 $0.01983
Sonnet 5 $0.00020 $0.00793
Haiku 4.5 $0.00010 $0.00397

Measured 5d ago against content hash 739494ecedd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spotify-api 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 5d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/cover_art_generator.py, scripts/export_data.py, scripts/playlist_creator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

spotify-api/SKILL.md · 464 lines

How it starts

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

Spotify API Skill

Version: 0.9.1 | Release Date: October 22, 2025

Overview

This skill directly interacts with the Spotify Web API to manage music and playlists.

⚡ Unique Capability: Image Generation

🎨 This skill can GENERATE IMAGES - something Claude cannot do natively! It creates custom SVG-based cover art for Spotify playlists with large, readable typography optimized for thumbnail viewing. Each cover art is dynamically generated with theme-appropriate colors, gradients, and text layouts.

Use this skill when you need to:

  • 🎨 Generate cover art images - Create custom playlist covers (Claude's built-in image generation limitation is bypassed!)
  • 🎵 Create playlists from artist names, themes, or specific songs
  • 🔍 Search for tracks, artists, albums
  • Add/remove tracks from playlists
  • ▶️ Control playback (play, pause, skip)
  • 📊 Get user data (profile, top tracks, listening history)

When to use this skill: The user wants you to create a playlist, search for music, manage their Spotify account, or generate custom cover art images.

Core Capabilities

  1. 🎨 Cover Art Image Generation - Generate custom images with SVG → PNG conversion (Claude cannot generate images natively!)
  2. Intelligent Playlist Creation - Create playlists by artist, theme, lyrics, or song list
  3. Playlist Management - Create, list, update, delete playlists
  4. Search & Discovery - Find tracks, artists, albums, playlists
  5. Track Management - Add/remove tracks, get recommendations
  6. Playback Control - Play, pause, skip, control volume
  7. User Library - Access saved tracks, profile, listening history

Quick Start

All Spotify API operations use the SpotifyClient class from scripts/spotify_client.py. The client handles OAuth authentication and provides methods for all operations.

Prerequisites

1. Enable Network Access (REQUIRED)

⚠️ This skill requires network access to reach api.spotify.com

Read the full file on GitHub · 464 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. 5d ago First seen · 464 lines · 100 tokens per session scan A 739494ecedd5

Subscribe to this mod's changes

spotify-api is a skill published in the GitHub repository fabioc-aloha/spotify-skill (17 stars, last pushed 10mo ago), licensed Apache-2.0. It adds 100 tokens to every session and 3,966 once invoked, about $0.0005 per session on Opus 5. 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-08-30.