spotify-library-doctor

spotify-library-doctor is a skill for Codex from martin-gomola/spotify-mcp. It costs 53 tokens per session (258 once invoked), scanned A, original, MIT.

A Spotify Liked Songs audit and cleanup tool. Liked Songs is Spotify's saved-track collection.

In plain words
What is it for?
Reviewing the full saved-track library, proposing keep/remove pairs, safely removing approved tracks, and confirming that the library changed as expected.
Why use it?
It helps identify repeated tracks, alternate recordings, unavailable songs, and other possible cleanup candidates before anything is removed. It requires explicit approval and checks the results afterward.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Reviewing the full saved-track library, proposing keep/remove pairs, safely removing approved tracks, and confirming that the library changed as expected.

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

Made for: 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-library-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/martin-gomola/spotify-mcp/spotify-library-doctor/github.svg)](https://agentmods.dev/skills/martin-gomola/spotify-mcp/spotify-library-doctor)
Your own site
<a href="https://agentmods.dev/skills/martin-gomola/spotify-mcp/spotify-library-doctor"><img src="https://agentmods.dev/badge/skills/martin-gomola/spotify-mcp/spotify-library-doctor/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-library-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/martin-gomola/spotify-mcp/spotify-library-doctor"><img src="https://agentmods.dev/badge/skills/martin-gomola/spotify-mcp/spotify-library-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 258 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.00053 $0.00258
Opus 5.5 $0.00021 $0.00103
Sonnet 5.5 $0.00011 $0.00052
Haiku 4.5 $0.00005 $0.00026

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

Security

Grade A, and why

spotify-library-doctor 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.

plugins/spotify-mcp/skills/spotify-library-doctor/SKILL.md · 20 lines

What it actually says

Spotify library doctor

Audit first. A vague cleanup request authorizes a preview, not deletion.

  1. Page through every saved track with spotify_saved_tracks, preserving position, saved date, duration, and exact URI. Restart once if the library changes during the scan.
  2. Separate exact URI repeats, likely alternate recordings, clearly distinct versions, unavailable entries, and no-action observations. Absence from recent or top listening is not a removal reason.
  3. Give candidates stable labels and show the proposed keep/remove pair, evidence, and uncertainty.
  4. Apply only labels or exact URIs the user explicitly approved. Re-read candidate pages immediately before calling spotify_library_remove with full exact track URIs; abort if identity or ordering changed.
  5. Re-scan after removal. Prove approved URIs are absent, keep URIs remain, and the count changed as expected. The server has no automatic undo for Liked Songs removal.
Files

What ships with it

3 files 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 First seen · 20 lines · 53 tokens per session scan A de3282292c32

Subscribe to this mod's changes

spotify-library-doctor is a skill published in the GitHub repository martin-gomola/spotify-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 53 tokens to every session and 258 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

spotify-library-doctor compared with skills from other repositories

spotify-library-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spotify-library-doctormartin-gomola/spotify-mcpSkill14d agoMITA53Codex
spotify-mcp-doctorNovaLux12/spotify-mcp-serverSkill1yesterdayMITA44Claude Code, Codex
spotify-exhaustive-feature-sweepNovaLux12/spotify-mcp-serverSkill1yesterdayMITA34Claude Code, Codex
spotify-mcp-competitor-comparisonNovaLux12/spotify-mcp-serverSkill1yesterdayMITA37Claude Code, Codex
opik-diagnosecomet-ml/opik-mcpSkill2262d agoApache-2.0A187Claude Code
ue-mcp-epic-routingdb-lyon/ue-mcpSkill480yesterdayMITA81Claude Code, Codex
qa-knowledgegriddynamics/rosettaSkill373todayApache-2.0A32Claude Code, Codex