What is fuel-gauge?
fuel-gauge is a Claude Code mod by LuisPCFialho that unofficial fuel gauge for Claude: it knows its own 5-hour and weekly limits, shows them next to your prompt and hard-stops at 95% so you never get cut off mid-task. It is listed under Interface and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | LuisPCFialho |
| Repository | LuisPCFialho/claude-fuel-gauge |
| Popularity | 1 GitHub stars |
| Category | Interface |
| Security | High risk (48/100) |
| Rank | #3,853 of 9,397 Claude Code mods; #1,630 in Interface |
| License | MIT |
| Last commit | 2026-10-20 |
| Hooks | 8 events |
| Sees | every prompt, every tool call, mcp__fuel-gauge__limits calls |
| Draws on | AbovePrompt, Pane |
Is fuel-gauge safe to install?
fuel-gauge scores 48/100 on the MCPMods security check: High risk. Things to review: sends data over the network; writes files or config; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.write | writes files |
$.http.fetch | network requests |
$.session.append | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.call | drives Claude |
$.tool.register | drives Claude |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install fuel-gauge?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/LuisPCFialho/claude-fuel-gauge claude plugin validate ./claude-fuel-gauge/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add LuisPCFialho/claude-fuel-gauge && claude plugin install fuel-gauge@luispcfialho
Or ask Claude to set it up
Paste this into Claude Code and it installs fuel-gauge for you:
Install the "fuel-gauge" Claude Code mod from https://github.com/LuisPCFialho/claude-fuel-gauge. Run claude plugin validate on it first and show me what it can access before you enable it.