Home / Claude Code mods / Cost & usage / session-meter

session-meter

session-meter is a Claude Code mod by swchooi that coloured band above the prompt: context, room before auto-compact, 5h and 7d limits, estimated cost in MYR.

Updated 2026-10-09

What is session-meter?

session-meter is a Claude Code mod by swchooi that coloured band above the prompt: context, room before auto-compact, 5h and 7d limits, estimated cost in MYR. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorswchooi
Repositoryswchooi/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (84/100)
Rank#4,746 of 5,272 Claude Code mods; #933 in Cost & usage
Last commit2026-10-09
Hooks3 events
Seesonly the events it hooks
Draws onAbovePrompt

Is session-meter safe to install?

session-meter scores 84/100 on the MCPMods security check: Low risk. Things to review: sends data over the network. It passed 6 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.

CheckResult
Sends data over the networkReview
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.http.fetchnetwork requests
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install session-meter?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/swchooi/claude-mods
    claude plugin validate ./claude-mods/plugins/session-meter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add swchooi/claude-mods && claude plugin install session-meter@chooi-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs session-meter for you:

Install the "session-meter" Claude Code mod from https://github.com/swchooi/claude-mods/tree/main/plugins/session-meter. Run claude plugin validate on it first and show me what it can access before you enable it.