All shelves / Mods / Play
now-playing
By hamzafer
now-playing is a Claude Code play mod by hamzafer.
Draws the Spotify track above the prompt: title, progress, the lyric being sung, and previous, pause, and next.
Draws
Install
The marketplace name is claude-code-mods.
claude plugin marketplace add hamzafer/claude-code-mods claude plugin install now-playing@claude-code-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.1
- License
- MIT
- Repo stars
- 381
- Last change
- 2026-10-15
What it can reach
- Draws in the session
- Reaches the network or an outside service
- Runs a command when you press
- Calls another program on this machine
Claude Code 2.1.287 or later. The author says to restart after installing. Needs macOS and the Spotify desktop app. It reads Spotify through AppleScript, so there is nothing to log in to; the first time, macOS asks once to let your terminal control Spotify, and the line stays empty unless you allow it. The line shows the track and artist and a progress bar with the time, with the lyric being sung on its own line under it. Paused, it dims to the track and artist; with Spotify closed it goes away, and the mod never opens Spotify. Click ⏮ ⏸ ⏭ at the end of the line in fullscreen, or press ctrl+x then Tab to reach it, then b, p, or n, and Esc to go back; /music, /music next, and /music prev work from the prompt. For lyrics it sends the track, artist, and album names to LRCLIB once per track; turn lyrics off in /config and nothing is sent. On Linux and Windows it does nothing.
The marketplace, claude-code-mods, holds all of hamzafer's mods, reels and snake among them. This one installs on its own, or from the checklist that npx claude-code-mods@latest opens. Music while Claude works is why this page files it under play. better-statusline, by Autumn1337, draws the context, cache, and plan limits as dot-matrix rings above the prompt, with the music you are playing beside them. clawd-buddy, by zhanbodev, draws Claude Code's pixel mascot acting out the tool Claude is using, with a dance to your music. This one is only the track, with buttons to skip or pause and the lyric in time with the singing. For songs in right-to-left scripts, which terminals cannot draw properly, it looks for romanized lyrics, and hides the lyric line when there are none.
Demo

What it hooks into
session.startWhen a session startssession.endWhen a session endscommand.runWhen you run its slash command/musicui.renderDraws into the sessionAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/musicSpotify: play or pause. /music next, /music prev skip
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- hamzafer
- Category
- Play
- Marketplace
- claude-code-mods
- Folder
- mods/now-playing
- Version
- 0.1.1
- License
- MIT
- Repo stars
- 381
- Last change
- 2026-10-15
- Language
- TypeScript
- Files
- 7