Claude Code mod
usage
Live context-window bar in the status line: fill, tokens/window, cache share, auto-compact headroom, cost
Install
git clone https://github.com/bitcars/ctx-bar.git
claude --plugin-dir ./ctx-bar/.The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.
What it can access
- Reach
- L1Reads: reads files, reads mod state, draws
- Sees
- compaction
- Hooks
session.startturn.stepsession.measureturn.completesession.compactsession.end
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.
Details
- Repository
- bitcars/ctx-bar
- Folder
.- Author
- bitcars
- License
- MIT
- Last updated
- 21 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is usage?
Live context-window bar in the status line: fill, tokens/window, cache share, auto-compact headroom, cost It is a mod for Claude Code, from bitcars/ctx-bar on GitHub.
What can the usage mod access?
Its widest reach is "reads" (reads files, reads mod state, draws). It sees compaction. Like any mod, it runs with your permissions.
How do I install usage?
Clone bitcars/ctx-bar and start Claude Code with --plugin-dir pointing at the mod's folder (.).
More context & usage mods
tycoon
barisdemirhan/claude-tycoon
Token Tycoon, an idle game in a pane: Claude's tool calls earn tokens, tokens buy generators and upgrades, and everything is kept between sessions. /tycoon opens it
usage
jaaaackieLai/claude-mods
Model, folder, git branch/worktree, context and rate-limit band above the prompt, with threshold toasts, /limits and a /ctx pane
turn-telemetry
MiguelMachado-dev/miguel-mods
Band above the prompt with per-turn telemetry: duration, TTFT, tok/s sparkline, tokens, requests and stalls
usage
kkatsuyoshi/claude-mods
Pins context window, current session and weekly usage as a status line under the prompt in Claude Desktop
turn-receipt
roaringsoul404/cc-mods
At the end of every turn Claude prints a receipt: files touched, commands run, tokens and what the turn cost
usage
technologiestiftung/claude-code-usage-mod
Live session/weekly usage meters, reset times and a per-turn token sparkline above the prompt
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.