ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 Lunik

rtk-quota

一個 Claude Code 狀態列外掛,使用 rtk gain --quota 顯示 rtk 節省的 token,以及這些節省相當於訂閱配額的多少。

Lunik@Lunik

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

已翻譯

關於這個 mod

rtk-quota 是 gmz-claude-marketplace 的外掛,會在右下角狀態列網格加入一列,顯示兩個儲存格:Tokens saved(rtk 累計節省的 token)和 Quota preserved(這些節省占訂閱配額的比例)。它會在工作階段開始、每回合結束後,以及第一次繪製時各刷新一次,讓外掛重新載入後能填入資料。tier 選項預設為 20x,也可選 pro、5x 或 20x,會傳給 rtk gain --tier;pro 會從 claude auth status 自動偵測(Max 方案無法區分 5x 和 20x)。需要 PATH 中有 rtk 和 claude,在 rtk gain 回應前顯示 -。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add Lunik/gmz-claude-marketplace
claude plugin install rtk-quota
原文 / 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.

更多類似作品