ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by Lunik

rtk-quota

A Claude Code statusline plugin that shows tokens saved by rtk and the share of subscription quota those savings represent, using `rtk gain --quota`.

Lunik@Lunik

Lunik/gmz-claude-marketplace/tree/master/rtk-quota

Translated

About this mod

rtk-quota is a plugin for the gmz-claude-marketplace that adds a row to the bottom-right statusline grid displaying two cells: Tokens saved (lifetime tokens saved by rtk) and Quota preserved (the share of your subscription quota those savings represent). It refreshes at session start, after every turn, and once on first render so it fills in after a plugin reload. A tier option (default 20x; pro, 5x or 20x) is passed to rtk gain --tier, with pro auto-detected from claude auth status (a Max plan cannot be distinguished between 5x and 20x). Requires rtk and claude on PATH, and shows - until rtk gain responds.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add Lunik/gmz-claude-marketplace
claude plugin install rtk-quota
Original text / README

rtk-quota

Shows what rtk saved you, from rtk gain --quota.

rtk ┃ Tokens saved 566.8K ┃ Quota preserved 9.4%

Cells

| Cell | Meaning | |---|---| | Tokens saved | Lifetime tokens saved by rtk. | | Quota preserved | Share of your subscription quota those savings represent. |

Options

| Option | Default | Meaning | |---|---|---| | tier | 20x | Subscription tier passed to rtk gain --tier: pro, 5x or 20x. |

pro is detected automatically from claude auth status. A Max plan cannot be told apart between 5x and 20x, so the option decides.

Behavior

  • Row in the bottom-right grid. Refreshed at session start and after every turn, and once on the first render so it also fills after a plugin reload.
  • Shows - until rtk gain has answered.

Requirements

rtk and claude on PATH.

Similar projects