thrift

Reviewed at commit 867b81f

KOZMOS Thrift: a frugal mode. /thrift on|off|auto; while on, every prompt carries a short note asking Claude to be economical (targeted reads, no broad…

Made by
KOZMOS
What we checked

Adds a short note to each prompt while /thrift is on, asking Claude to read narrowly, avoid subagents and keep answers short. In auto mode it switches on when your 5-hour or weekly limit passes a percentage you set. Shows a band with a spinning coin and compares average turn cost with and without the note. Stores only its mode and whether the band is hidden.

Review details

Static review of the source at the pinned commit; not run. Registers /thrift (on, off, auto, hide, show) and hooks session.start, command.run, prompt.submit (appends a fixed English note to the event context beside the prompt, never edits the prompt text), session.measure (reads rate limits), turn.start, turn.step (sums token usage priced with a built-in price table), turn.complete and ui.render for AbovePrompt (terminal Client coin module and desktop SVG). Runtime calls: $.session.usage (rate limits), $.store get/set for mode and isHidden, $.clock.now/every (60 s re-check), $.ui.toast when auto flips, $.command.register. No network, file, process or model calls. Failures fall through to next(). The shared lib/kz.ts is formatting and drawing helpers with no side effects. Unresolved import ../types is the bundled types/index.d.ts (type-only). hooks/lib/probe.ts is not included in the bundle and not imported by any module (checked in the clone); it only holds argv lists and pure parsers.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: no
  • 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 Thrift: a frugal mode. /thrift on|off|auto; while on, every prompt carries a short note asking Claude to be economical (targeted reads, no broad searches or subagents unless needed, concise answers). Auto turns it on when the 5-hour or weekly limit passes autoAt and off after the window resets. A band with a spinning coin, and /thrift compares the average cost of thrift turns with normal ones.

Made this mod? Add a badge to your README

modsforClaude badge for thrift

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

← All mods