session-band

Reviewed at commit 7155b37

Band above the prompt: turn number, output speed, turn and session cost, prompt cache countdown and context fill; notifies before the cache expires.

Made by
johnnyvizz
What we checked

Draws a band above the prompt with turn number, output speed, turn and session cost, a prompt cache countdown and context fill, and warns 10 and 5 minutes before the cache expires. The warning is a toast, Claude Code's own notification, or a macOS helper app you build yourself. It makes no network calls and sends no data to other services.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (adds the /session_data command and a once-a-second clock), command.run, turn.start, turn.step (times the response stream for tokens per second), turn.complete and ui.render for the AbovePrompt band. Uses $.session.usage for cost and context, $.clock, $.ui.toast and in-session state atoms (hidden flag, stats, cache deadline). It also reads the Cache mod's deadline atom if present. For the cache warning it first looks for notifier/Session Band.app, which exists only if the user builds it with the included notifier/build.sh (Swift source in the repo, reviewed by grep only: it posts a system notification and opens a claude:// link, no network). If that helper exists it reads the desktop app's own session record under ~/Library/Application Support/Claude/claude-code-sessions only to get the session title, then runs the helper with project name, title and message. Otherwise it calls Claude Code's PushNotification tool with the project folder name and message, which can reach your phone through Remote Control, and falls back to a toast. The /session_data demo command fakes a deadline. Failures are swallowed. No npm dependencies. The Swift helper and build script were only skimmed.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Made this mod? Add a badge to your README

modsforClaude badge for session-band

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/session-band.svg)](https://modsforclaude.com/mods/session-band/)

← All mods