DJPalefaceSD/rostech-mods/tree/main/plugins/oil
DJPalefaceSD@DJPalefaceSD
この mod について
Oil は Claude Code プラグインで、プロンプト上に帯を追加し、今週の Fable token 使用量を表示します。Fable が回答した各モデル応答(メインスレッドとサブエージェント、キャッシュ読み取りを除く)を数えます。週はプランの週間補充ウィンドウ、つまり Gas Gauge が読むものと揃います。Claude のプランには別の週間 Fable 上限がありますが、Claude Code はまだプラグインに公開していないため、Oil は推測せずこの数値を報告します。/oil は数値を表示し、/oil hide はステータス行へ移し、/oil show は帯を戻します。すべてのデータはプラグイン固有のローカルストアに残り、どこにも送信されません。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add DJPalefaceSD/rostech-mods claude plugin install oil
原文 / README
🛢️ Oil
Gas Gauge's neighbour. A band above the prompt that shows this week's Fable use.
What it shows
- Fable's token count this week. Oil counts every model response itself, the main thread and subagents alike, and adds up the ones Fable answered. Cache reads are left out.
- The week runs to your plan's weekly refill, read off the same window Gas Gauge reads.
- Your Fable limit, when it can. Claude plans have a separate weekly limit for Fable. Claude Code does not yet give that window to plugins, so Oil says so instead of guessing. If it ever arrives, Oil draws it as a gauge, like Gas Gauge.
Commands
/oilprints the numbers./oil hidemoves it to the status line./oil showbrings the band back.
Privacy
Everything stays on your machine: a count in the plugin's own store. Nothing is sent anywhere.
