ClaudeModsClaude Code 模組目錄
☰
● 0 人在線上 · 瀏覽 0 次
+ 提交作品
← 返回作品集
GitHub 儲存庫 · 用量與成本

burn-meter — Claude Code 插件/外掛 · ClaudeMods

回報這個作品這是你的作品?認領

在 ClaudeMods 了解這款 Claude Code 插件/外掛,查看原始來源與所需權限。 以火焰進度條顯示對話費用,並提供方案額度與每回合費用面板。

OOneWave-AI@OneWave-AI
原貼文圖片1
已翻譯

關於這個 mod

以火焰進度條顯示對話費用,並提供方案額度與每回合費用面板。

本作品由社群作者維護。功能、版本需求與設定方式,請查看下方原始 README。本站提供權限掃描結果;安裝前請檢查原始碼與外部相依套件。

安裝

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

claude plugin marketplace add OneWave-AI/claude-code-mods
claude plugin install burn-meter
原文 / README

burn-meter

Live session cost odometer above the prompt: a burning fuse, real-world comparisons, threshold alerts.

burn-meter

A band above the prompt with a growing fire bar for session spend, 5-hour and weekly plan-limit bars with reset times, and the cost converted into burritos and McDoubles. /burn opens the full panel with per-turn cost. Alerts fire when you cross a threshold.

What the hooks do

Everything burn-meter shows comes from the session's own usage numbers, which Claude Code reports to the mod. It never reads your files, your environment variables or your credentials, never runs a process, and never sends anything off your machine. "Tokens" on this page always means model token counts, not login tokens.

  • session.start: draws the band and registers /burn.
  • prompt.submit: notes the session's cost at the moment you send a prompt, so it can show what that turn cost. It does not read or change the prompt, and passes it through untouched.
  • turn.complete: adds the finished turn's token counts and cost to the per-turn chart, and shows a toast when spend crosses a threshold.
  • command.run for /burn: opens the pane or toggles the band.
  • ui.render: draws the band above the prompt and the /burn pane.

It stores two small values with Claude Code's own plugin storage: your running lifetime spend, and the last cost reading for the current session so a restart does not count the same spend twice.

In a Claude Code session (2.1.287 or later):

/plugin marketplace add OneWave-AI/claude-code-mods
/plugin install burn-meter@claude-code-mods

Or load this folder for one session: claude --plugin-dir ./burn-meter

What it reaches

| Mod | Network | Runs processes | Files | Calls a model | Sends data anywhere | | --- | --- | --- | --- | --- | --- | | burn-meter | No | No | No | No | No |

Run claude plugin validate ./burn-meter to list every event it hooks and every call it makes. See the repository README for the full security notes.

Part of claude-code-mods by OneWave AI. MIT licensed.

查看原始來源 ↗

更多類似作品