---
title: "oil"
url: "https://claudemods.dev/zh-cn/builds/oil-9c3c13"
source: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/oil"
source_type: "github"
repo: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/oil"
author: "DJPalefaceSD"
author_handle: "DJPalefaceSD"
stars: 0
category: "仪表盘与 HUD"
categories: ["hud"]
tags: ["claude-code", "hooks", "hud", "plugin", "statusline", "usage-tracking"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add DJPalefaceSD/rostech-mods\nclaude plugin install oil"
added: "2026-10-05T01:45:12.972Z"
updated: "2026-11-14T01:19:37Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# oil

Gas Gauge 的邻居。提示符上方的显示条，用来显示本周的 Fable 使用量。

## Description

Oil 是一个 Claude Code 插件，在提示符上方添加显示条，展示本周的 Fable token 使用量，统计 Fable 回答的每次模型响应（主线程和子代理，排除缓存读取）。这一周与计划的每周补充窗口一致，也是 Gas Gauge 读取的窗口。Claude 计划有单独的每周 Fable 限额，但 Claude Code 尚未向插件公开，因此 Oil 报告实际统计而不猜测。命令包括 /oil（输出数字）、/oil hide（将显示移到状态行）和 /oil show（恢复显示条）。所有数据都保存在插件自己的本地存储中，不会向任何地方发送。

## Install

```
claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install oil
```

## Original 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

- `/oil` prints the numbers.
- `/oil hide` moves it to the status line. `/oil show` brings the band back.

## Privacy

Everything stays on your machine: a count in the plugin's own store. Nothing is sent anywhere.
