spotify-transcript
Skill1 starsChanged 2 months agoMITView on GitHub
Fetch the transcript of a Spotify podcast episode from a URL, URI, or episode id. Use when the user asks to "get the Spotify transcript", "fetch this podcast transcript", "what does this episode say", pastes an open.spotify.com/episode link, or runs /spotify-transcript. Opens Spotify in the browser when the saved login session is missing or expired, waits for the user to log in, then continues the fetch.
In this repositoryOne other file it gives its agents.
- youtube-transcriptSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Run the script by its absolute path.
- Distinctive: line 33
Default format is plain text, one caption line per row.
- Distinctive: line 35
Read the stderr status line for the language and the line count.
- Distinctive: line 50
Do not ask the user to paste a cookie, token, or password into the chat.
- Very specific: line 56
When stderr says spotifyscraper is not available, install the tool and the login browser, then run the same fetch once more:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spotify transcript
Fetch a podcast transcript with scripts/fetch_transcript.py, which sits beside this file. Pass an episode URL, a spotify:episode: URI, or a 22-character episode id. Stdout is the transcript. Stderr is status. The process exit code is the result.
Run the script by its absolute path. One command covers login and the fetch.
Run
python3 <skill-dir>/scripts/fetch_transcript.py "<episode-url>"<skill-dir> is the directory that contains this SKILL.md.
Default format is plain text, one caption line per row. When the user asked for the transcript, return stdout. When they asked for a summary, fetch first and summarize from stdout. Every quoted line comes from that stdout.
Read the stderr status line for the language and the line count.
| Ask | Command |
| spoken words | python3 <skill-dir>/scripts/fetch_transcript.py "<episode-url>" |
| timestamps | add --format json |
Pass several episode URLs in one command. Text output for more than one episode starts each transcript with # <episode-id>.
Login
A valid saved Spotify session is reused with no browser. When the session is missing, expired, or rejected, the script opens Spotify in a browser window and waits.
Tell the user a browser window opened. They log in there. They must not click Log out. The script waits up to 10 minutes for the session cookie, then prints the transcript. Wait for that process to exit.
Do not ask the user to paste a cookie, token, or password into the chat. Do not read, print, or copy the saved session file.
references/auth.md owns the session storage path and the manual refresh command.
Missing CLI
When stderr says spotifyscraper is not available, install the tool and the login browser, then run the same fetch once more:
uv tool install "spotifyscraper[browser,cli]"
~/.local/share/uv/tools/spotifyscraper/bin/playwright install chromiumspotifyscraper must be on PATH. uv installs it to ~/.local/bin.
Failures
Return the stderr line.
| stderr | Action |
not a Spotify podcast episode URL or id | Ask for an open.spotify.com/episode/ link |
NotFoundError | This episode has no Spotify transcript. Stop |
AuthenticationError after a login attempt | The login did not produce a usable session. Ask the user to log in again in the browser, then run the fetch once more |
ImportError mentioning Playwright | Run the Playwright install command above, then run the fetch once more |
A show link, a track link, and a playlist link are not episodes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

