usage-rail

usage-rail is a Claude Code mod by ImTotem that adds a usage card to the session pane: session limit, weekly limit and cloud session credit, as the app's usage card shows them.

Updated 2026-11-16

What is usage-rail?

usage-rail is a Claude Code mod by ImTotem that adds a usage card to the session pane: session limit, weekly limit and cloud session credit, as the app's usage card shows them. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
AuthorImTotem
RepositoryImTotem/claude-code-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (60/100)
Rank#6,399 of 9,397 Claude Code mods; #1,201 in Cost & usage
Last commit2026-11-16
Hooks6 events
Seesevery prompt
Draws onPane

Is usage-rail safe to install?

usage-rail scores 60/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; reads environment variables; watches every prompt or event. It passed 4 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
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.clock.sleep
$.command.register
$.env.getreads env vars
$.http.fetchnetwork requests
$.session.authorizereads the transcript
$.session.usage
$.state.get
$.state.set
$.store.setkeeps its own state
$.ui.resolvedraws interface

How do I install usage-rail?

  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/ImTotem/claude-code-mods
    claude plugin validate ./claude-code-mods/plugins/usage-rail
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add ImTotem/claude-code-mods && claude plugin install usage-rail@claude-code-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs usage-rail for you:

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

More from ImTotem/claude-code-mods

This repository has 3 Claude Code mods on MCPMods.

  • session-rail: One session pane that other mods add cards to, with a button at the right of the prompt footer to open and close it. (Low risk)
  • todo-stack: Adds a todo card to the session pane that keeps every todo the model creates on one stack shared by every session, newes (Low risk)