mosaic

Reviewed at commit 867b81f

KOZMOS Mosaic: a GitHub-style activity calendar across sessions. 26 weeks of days colored by turns, tool calls, tokens or dollars, with the current and…

Made by
KOZMOS
What we checked

Counts your sessions, turns, tool calls, tokens, session cost and active minutes per day and draws a GitHub-style activity calendar with streaks and totals in a sidebar you open with /mosaic. It keeps only these daily counters, never prompt or tool contents, in Claude Code's plugin store on your machine. It makes no network calls and runs no programs.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers /mosaic, counts the session once by its start time, flushes counters every 10 s, optional autoOpen option), session.end, command.run for /mosaic (opens or closes the pane), turn.start, turn.step (adds the step's token usage), tool.call (adds one to a counter and passes the call on unchanged; the call's content is not read) and turn.complete, plus ui.render for the Pane with metric buttons. Runtime calls: $.store.get and $.store.set (keys days, seen, sessions, metric; the days map holds only integer counters per local date, seen holds cost per session id, pruned after 3 days), $.session.usage, $.clock, $.ui.open, $.ui.close and $.ui.panes. Writes are serialised and failures retry on the next flush. No fetch, $.http, $.process, $.fs, $.env or $.model use. hooks/lib/kz.ts and calc.ts are pure helpers; hooks/lib/probe.ts 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 Mosaic: a GitHub-style activity calendar across sessions. 26 weeks of days colored by turns, tool calls, tokens or dollars, with the current and longest streak, the best day, totals and today's line. /mosaic toggles the sidebar.

Made this mod? Add a badge to your README

modsforClaude badge for mosaic

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

← All mods