heartline

Reviewed at commit 867b81f

KOZMOS Heartline: a neon EKG of the session drawn above the prompt. Every tool call is a spike colored by its family, every model request a blip, a failed…

Made by
KOZMOS
What we checked

Draws an EKG-style trace above the prompt: a spike for every tool call (colored by tool type), a blip per model request, a red inverted spike for a failed tool, plus tool calls per minute and context fill. It reads only the tool name and the context percentage, and stores only whether it is hidden. No network calls, no programs run.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers /heartline, reads the stored hidden flag, reads $.session.usage for the context percentage, 1 s clock timer), command.run for /heartline (toggle), turn.start and turn.complete (working flag), turn.step (records a beat, then yields the chunks of next() unchanged), tool.call (records a beat colored by tool name and a failure beat; result returned untouched), session.measure (context percent) and ui.render on AbovePrompt (a Client trace ./trace.tsx in the terminal or an SVG on the desktop, shown for 10 minutes after the last activity). Runtime calls: $.clock, $.session.usage, $.store.get/set, $.ui.resolve and plugin state atoms; beats hold only time, kind and color. No fetch, process, fs or env access. The shared hooks/lib/kz.ts is a pure helper kit. hooks/lib/probe.ts (not included) is not imported. npm dependencies: none.

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

KOZMOS Heartline: a neon EKG of the session drawn above the prompt. Every tool call is a spike colored by its family, every model request a blip, a failed tool a red inverted spike; the trace drifts green to red with context fill, with a live bpm (tool calls per minute) and ctx readout. /heartline toggles it.

Made this mod? Add a badge to your README

modsforClaude badge for heartline

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/heartline.svg)](https://modsforclaude.com/mods/heartline/)

← All mods