Fynnland

tune-strip

What Spotify is playing right now, as a bar above the prompt. Windows only.

Overview

What it is about

tune-strip is a music bar for Spotify, a mod for Claude Code, and runs on Windows only. Above the prompt it shows what the Spotify app is currently playing, and it has buttons to control it. You do not have to leave Claude Code for that.

Claude Code is a product of Anthropic. This mod is not from Anthropic. Spotify is a trademark of Spotify AB. The mod is not from Spotify and is neither supported nor reviewed by Spotify.

What the bar shows

In the desktop app there is a bar of its own above the other mods: the cover, title and artist, a bar showing the position in the track and, on the right, three buttons. Since version 0.12.0 it is always a row of its own in the band above the prompt, below sidekick and above quick-replies, in the terminal too. If other mods draw underneath, a thin line separates the bar from the rest. It stays when, for example, sidekick briefly opens or closes its notice, and goes only when nothing has been underneath for 3 seconds. The other mods keep their place.

The mod's bar at full size above the empty prompt box: on the left a small abstract cover with a yellow square and dark mountains on blue-violet, next to it the invented title “Zimt und Zeitlupe” in orange and “Die Rezeptboxen” in gray, below that a green position bar with 1:51 / 3:52. On the right three buttons: previous and next gray with light symbols, pause in the middle light. Below a thin orange line the bars of limit-bars with 42% for five hours, 18% for seven days and the cache ring.
The full bar sits above the other mods and takes no room from them (recreated view).

The bar comes in three sizes: full with cover, title, position bar and all buttons, compact with cover, title and three buttons, or mini with just the cover and play. If a chosen size does not fit the width of the band, the mod takes the next smaller one. In the terminal it is one line like “♪ Title – Artist 1:23/3:45 ⏮ ⏯ ⏭”. If Spotify is not running, the mod shows nothing and does not redraw the band for it; if no other mod draws the band either, it checks only every 2 minutes. In the desktop app, the time and the bar count on by themselves up to the end of the track (at most 60 minutes ahead): the time ticks every full second and the bar fills segment by segment. The bar is redrawn only when something changes (track, playback, shuffle, repeat, cover), after a button or command, or when Spotify jumps by more than 1.5 seconds. In the terminal, the time is redrawn at most every 5 seconds.

Above the prompt box, at the top, the tune-strip bar with cover, “Zimt und Zeitlupe – Die Rezeptboxen”, a bar at 1:47 / 3:52 and three buttons, below it an orange line; below that four numbered suggestions from quick-replies; at the very bottom the bars of limit-bars on the left and Clawd on the right.
The player has its own row above the suggestions and the bars (recreated view).

Controls

The full bar with cover, title and position bar, on the right seven buttons: previous, −15, pause, +15 and next, gray with light symbols except for the light pause, and after a gap shuffle and repeat, both light because they are switched on.
With the setting “More buttons”, 15 seconds back and forward, shuffle and repeat are added (recreated view).

Volume, playlists, search and likes are not available. The mod would need a Spotify login for that, and it has none.

The settings (size, more buttons, beat detection, beat delay, refresh interval, language) are on the plugin's settings page: in the desktop app under Settings → Plugins → tune-strip → Settings, in the terminal with /config or /plugin configure tune-strip. /tune size, on, off, beat on, beat off and beat offset change the same settings. In the terminal, a change applies at once; in the desktop app it applies in the current chat at once and in other open chats after /reload-plugins or in the next chat. Values saved by earlier versions are moved over once.

Beat for Clawd

While Spotify is playing, tune-strip finds the tempo and beats of the song and whether it sounds calm, like groove or hip-hop, hard or sad. Clawd from the mod clawd-buddy moves in time with that. Only the audio of the Spotify app itself is listened to, never the rest of the computer's sound. It is analyzed locally for tempo only; nothing is recorded, stored or sent. This needs Windows 10 version 2004 or later.

What the mod reads and does

The mod reads the Windows media controls, that is, what Windows itself shows about music that is playing: title, artist, cover, position, shuffle and repeat. For that it starts, as long as the bar is visible, Windows PowerShell every few seconds with two fixed scripts, one for reading and one for controlling (every 4 seconds by default, adjustable from 3 to 10; without a Spotify session at most every 15 seconds). It does not log in anywhere, uses no network and no Spotify API, and reads no files. It leaves other players and browsers in the media controls alone. For the beat, as long as Spotify is playing and the bar is visible, a third PowerShell process with fixed text runs, which outputs only numbers and uses about 1.5% of one processor core. The mod's own storage holds only the size last chosen, so that /tune on brings it back, and a note of which switches that are off have already been saved in the settings. Size, beat and the rest are kept in the settings. It tells clawd-buddy whether music is playing right now, plus the tempo, beat time and group of the song, never the title or artist. From limit-bars, clawd-buddy and quick-replies it reads only whether they are drawing something right now, for the separator line under the bar. For the language switch it changes the “language” setting of the eight fynn-mods, and for /tune size, on, off and beat its own settings; in the desktop app it calls the claude CLI for that, only with “claude plugin list” and “claude plugin configure”. It also arranges the rows of the band mods into one band again through a hook; it changes no row and calls nothing.

Where it is visible

In the terminal and in the Code tab of the desktop app, each only on Windows and only with the Spotify app for Windows. It does not recognize the web player. In sessions with “claude -p”, in the SDK, in VS Code and on mobile the mod draws nothing.

Installation

You need Windows, the Spotify app and Claude Code in a version that supports mods (tested with 2.1.325, minimum version 2.1.323; it does not work with older versions since 0.12.0). Two commands:

  1. claude plugin marketplace add FynnXland/fynn-mods
  2. claude plugin install tune-strip@fynn-mods

The mod is free and under the MIT license. This description refers to version 0.12.5.

Part of fynn-mods

tune-strip is one of eight mods that fit together. They pass small values to each other, never text from the chat, and six share the band above the prompt.

How the eight mods work together