Claude Code mod

usage-meter

A row above the prompt with your 5-hour, weekly and Fable weekly plan limits and the session's context.

Context & usage modsValidates on Claude Code 2.1.325 Source

Install

From source
git clone https://github.com/cprentice9/ccmods.git
claude --plugin-dir ./ccmods/usage-meter

The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.

What it can access

Reach
L3Network: network, drives Claude, reads mod state, requests an Anthropic credential handle, draws
Sees
compaction
Draws in
AbovePrompt
Hooks
session.startsession.measuresession.compactui.render

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
usage-meter
Author
cprentice9
Last updated
15 November 2026

FAQ

What is usage-meter?

A row above the prompt with your 5-hour, weekly and Fable weekly plan limits and the session's context. It is a mod for Claude Code, from cprentice9/ccmods on GitHub.

What can the usage-meter mod access?

Its widest reach is "network" (network, drives Claude, reads mod state, requests an Anthropic credential handle, draws). It sees compaction. It draws in AbovePrompt. Like any mod, it runs with your permissions.

How do I install usage-meter?

Clone cprentice9/ccmods and start Claude Code with --plugin-dir pointing at the mod's folder (usage-meter).

More context & usage mods

usage

julian-passebecq/claude-mod

Consommation : tokens et coût équivalent par jour, heure, projet, modèle, session, type d'agent, surface, skill et MCP ; prévision des limites 5 h et semaine ; débit des scénarios S1-S5 et suggestion Plein régime. Onglet Classement : qui consomme le plus sur 1 h, 4 h, aujourd'hui, 2 j, 7 j ou 30 j, par conversation, projet, modèle, type d'agent, fonction ou Claude/Codex, avec tendance et part. Onglet Codex : tokens Codex du jour et de la semaine par modèle et % de limite lus dans ~/.codex/sessions. Ligne Quotas en tête et dans la réponse de /conso : 5 h et semaine de Claude et de Codex, date d'épuisement, lues par lib/core/usage.mjs comme band et Cockpit (mêmes chiffres). Onglet Historique : un total par jour gardé dans history.json au-delà des 30 jours de transcripts. Onglet Débit : tokens/s par modèle (pondéré, médiane, plage) et derniers flux, Claude et Codex. Claude seul par défaut, bouton « + Codex ». Chaque réponse comptée une fois (message.id + requestId). Lecture seule. /conso

Context & usage mods

usage-stats

japan-da-man/claude-code

[mod] Usage stats pane: sessions, messages, tokens, active days, streak, favorite model and a daily heatmap

Context & usage mods/plugin install

tps

aidan-nunn-sys/claude-config

Tokens per second: live reading in the status line, and /tps for averages and history per model.

Context & usage mods

you-should-know

Isaacg1000/isaac-mods

A side agent reads each long reply and surfaces what you should not miss (costs, risks, actions needed).

Context & usage mods/plugin install

pulcinella

pompeitech/affreschi

Pulcinella lives above the prompt: he cheers green tests, frets over failures, naps when you're away and his hat grows with the tokens you spend

Context & usage mods/plugin install

mission-control

6

Plagemes/claude-mods

One dashboard for every Claude session on your machine: what each is doing, cost, blockers, with pause and priorities.

Context & usage mods/plugin install

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.