now-playing
by Ben · ★ 0 · updated 26 days ago
0
Shows the track playing in Apple Music or Spotify above the prompt, with cover art, play/pause, skip, volume, shuffle and repeat controls, a share-link copy and an Up next pane.
Install
git clone https://github.com/benjaminr/nowplayingclaude --plugin-dir ./nowplayingThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.attachtool.callcommand.runprompt.composeui.render- API calls
$.clock.after$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.http.fetch$.process.run$.process.spawn$.session.surfaces$.state.get$.state.set$.store.get$.store.set$.tool.register$.ui.close$.ui.copy$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.toast- Draws
SessionModeAbovePromptPane- Can see
mcp__now-playing__search_library callsmcp__now-playing__open_in_music callsmcp__now-playing__show_now_playing callsmcp__now-playing__add_tracks callsmcp__now-playing__remove_tracks callsmcp__now-playing__clear_playlist callsmcp__now-playing__control_player callsmcp__now-playing__now_playing callsmcp__now-playing__listening_history calls- Reach
- level 3 of 3 networkruns processesdrives Claudewrites the clipboardreads filesreads env varsreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/benjaminr/nowplaying
- Path in repo
- repository root
- Source commit
eb913c6the exact code the scan read- Author
- Ben @benjaminr
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.