What is cost-meter?
cost-meter is a Claude Code mod by mako-code that spend tracking across sessions: session and today's cost in the readout, daily and weekly budgets with toasts and an optional hard stop, and a /spend pane. It is listed under Cost & usage and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | mako-code |
| Repository | mako-code/gobworks |
| Popularity | 2 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (72/100) |
| Rank | #1,313 of 5,272 Claude Code mods; #236 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-04 |
| Hooks | 10 events |
| Sees | every prompt |
| Draws on | AbovePrompt, PromptHint, SessionMode, Pane |
Is cost-meter safe to install?
cost-meter scores 72/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables; watches every prompt or event. It passed 5 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 |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.env.get | reads env vars |
$.session.id | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install cost-meter?
- 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/mako-code/gobworks claude plugin validate ./gobworks/mods/telemetry/cost-meter
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add mako-code/gobworks && claude plugin install cost-meter@gobworks
Or ask Claude to set it up
Paste this into Claude Code and it installs cost-meter for you:
Install the "cost-meter" Claude Code mod from https://github.com/mako-code/gobworks/tree/main/mods/telemetry/cost-meter. Run claude plugin validate on it first and show me what it can access before you enable it.
More from mako-code/gobworks
This repository has at least 9 Claude Code mods on MCPMods.
- bench: Measures a command: warmup and timed runs, median/p95/stddev and outliers, two commands compared or a saved baseline per (Review before installing)
- best-of-n: Runs 2-4 attempts at a task in parallel git worktrees, each with a different approach; compare their diffs and adopt the (Review before installing)
- bisect: Finds the commit that broke something: git bisect with your test command in a temporary worktree (your working tree is n (High risk)
- canvas: Gives Claude a screen to draw on: SVG diagrams and Markdown reports in a Canvas pane with history. (Review before installing)
- council: More than one mind: ask several models at once and get a synthesis, critique the last answer, and let Claude consult ano (High risk)
- data-peek: Look into CSV, TSV, JSON and JSON Lines files without dumping them into context: schema, stats, rows, filters, group cou (Low risk)
- gh-inbox: GitHub issues and pull requests in a pane — one press to have Claude work on an issue or review a PR — plus the current (Review before installing)
- http-lab: An HTTP tool for API work: status, timing, trimmed headers and a body shaped to fit; localhost runs freely, other hosts (High risk)