What is fuel-gauge?
fuel-gauge is a Claude Code mod by davidcoulson that context and plan-limit meter: context fill, the 5-hour and weekly windows and session cost in the status line, a toast as a window crosses your thresholds, and /fuel for a pane with every. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | davidcoulson |
| Repository | davidcoulson/crab-workshop |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (88/100) |
| Rank | #5,564 of 9,397 Claude Code mods; #1,006 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-12 |
| Hooks | 4 events |
| Sees | only the events it hooks |
| Draws on | Pane, AbovePrompt |
Is fuel-gauge safe to install?
fuel-gauge scores 88/100 on the MCPMods security check: Low risk. Things to review: sends data over the network. It passed 7 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 no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.mcp.call | calls MCP servers |
$.session.id | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.status | 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/davidcoulson/crab-workshop claude plugin validate ./crab-workshop/plugins/fuel-gauge
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add davidcoulson/crab-workshop && claude plugin install fuel-gauge@crab-workshop
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/davidcoulson/crab-workshop/tree/main/plugins/fuel-gauge. Run claude plugin validate on it first and show me what it can access before you enable it.
More from davidcoulson/crab-workshop
This repository has at least 9 Claude Code mods on MCPMods.
- codex-corner: A boxing ring for Codex adversarial reviews: each review is a round, your crab against the Codex bot, with findings by s (Low risk)
- gatekeeper: Your open PRs and what each waits on (/gates): the template boxes only you can tick, CodeRabbit threads and change reque (Review before installing)
- gpu-crab: While a local-llm tool runs on your Ollama box, a crab on a treadmill shows the loaded model, VRAM, GPU/CPU split and el (Low risk)
- house-rules: Your homelab conventions as rules on Claude's tool calls: a note, an ask or a refusal when a call breaks one (Unraid app (Low risk)
- keymaster: Secret tripwire: masks API keys, tokens, passwords and private keys in tool output before Claude, the transcript or your (Low risk)
- reef: Your homelab as an aquarium (/reef): every Docker container is a fish coloured by its stack, unhealthy ones float belly- (Low risk)
- roll-call: A status roll-up of your side sessions (/rollcall): each crab holds a sign saying where its session stands, with a 'need (Low risk)
- trailer-guard: Per-repo commit attribution policy: refuses a git commit, gh pr create/edit or git push that would carry a Co-Authored-B (Low risk)