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.


