mantra

Reviewed at commit 867b81f

KOZMOS Mantra: a themed spinner. The working line's word rotates through a pack of original gerunds (cosmic, zen, pirate, turkish, hacker) and its tail names…

Made by
KOZMOS
What we checked

Replaces the word on Claude Code's working spinner with a rotating word from a themed pack (cosmic, zen, pirate, turkish, hacker) and adds the running tool and its elapsed time, or the effort level while the model thinks. It reads tool names and the first line of a Bash command only to show them on the line. It makes no network calls, runs no programs and stores only the chosen pack and an on/off switch.

Review details

Static review of the source at the pinned commit; not run. Registers hooks on session.start (registers /mantra, loads stored pack and on/off, starts a 1 s clock ticker), command.run for /mantra, turn.start, turn.step (reads effort), turn.complete, tool.call (records tool name and a label clipped to 28 characters, shows the command's first line for Bash and PowerShell, otherwise file, pattern or tool name; always passes the call on unchanged and clears the record afterwards) and ui.render for the Spinner component (rewrites only the word and suffix props). Runtime calls used: $.clock.now and $.clock.every, $.command.register, $.store.get and $.store.set (keys pack and isOn), and atoms for UI state. No fetch, $.http, $.process, $.fs, $.env or $.model use. The shared helper hooks/lib/kz.ts is pure formatting code; hooks/lib/probe.ts (git and system probes) is in the clone but is not imported by this plugin, which I confirmed by search. The unresolved import ../types is a type-only declaration file that is in the bundle. 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 Mantra: a themed spinner. The working line's word rotates through a pack of original gerunds (cosmic, zen, pirate, turkish, hacker) and its tail names the tool running now with its elapsed time, or the effort while the model thinks. /mantra <pack> switches, /mantra off hands the line back.

Made this mod? Add a badge to your README

modsforClaude badge for mantra

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

← All mods