ClaudeCodeMod

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.

In your shell
claude plugin marketplace add hamzafer/claude-code-mods
claude plugin install now-playing@claude-code-mods
Open the repo

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

The Spotify track, progress, buttons, and the lyric line
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.endWhen a session ends
  • command.runWhen you run its slash command/music
  • ui.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
Repo
hamzafer/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

Other mods in Play

buddySingh-APDraws a small ASCII pet above the prompt. It reacts while Claude works and levels up.spinner-packsSingh-APReplaces the spinner word with one of ten themed packs. The line that closes the turn uses the same word in the past tense.intermissionjarrodwattsOpens a Doom deathmatch in a pane while Claude works, on a shared server with everyone else waiting on Claude, and hands you back when it is done.pokemondgokcinDraws a pixel Pokémon in the band above the prompt that acts out Claude's tools, sends out a ball for each subagent, and shows a red ! when Claude needs you.mindful-claudehallutonDraws a guided breathing exercise above the prompt while Claude works, with the spinner counting the breath, and clears it when Claude answers.wrappedSingh-APOpens a Wrapped-style card of your Claude Code use: stats, streaks, a coding persona, and a share card one key away.cuelumedanielwh2Plays a ready sound when a long turn ends and an attention sound when a permission prompt is waiting.better-statuslineAutumn1337Draws the session's context, cache, and plan limits as dot-matrix rings above the prompt, with the music you are playing beside them.voxrtk-aiDraws a waveform above the prompt while vox speaks, from the spectrum vox writes for the utterance, and a short one while it listens.daily.devdailydotdevDraws rotating daily.dev headlines in a band above the prompt and on the status line, with Open and Hide.storytimemaddiedreeseDraws a short story above the prompt about the tool Claude just called, written by a small model that runs inside the mod.clawd-buddyzhanbodevDraws Clawd, Claude Code's pixel mascot, above the prompt acting out the tool Claude is using, with a chat, a runner game, and a dance to your music.
All 96 in Play