context-bar

by Lauren Nodonly · ★ 0 · updated 3 days ago

Automationvalidates

0

Shows the context window as a stacked bar (with its percentage) and a legend, drawn by modbar; hide or show with /modbar hide|show context-bar

install context-bar

Install

/plugin marketplace add lnodonly/claude-mods
/plugin install context-bar@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.completesession.compactmodbar.blocks
API calls
$.session.usage$.state.get$.state.set$.ui.invalidate
Can see
compaction
Reach
level 1 of 3 reads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/lnodonly/claude-mods
Path in repo
context-bar
Source commit
22069a7 the exact code the scan read
Author
Lauren Nodonly @lnodonly
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from lnodonly/claude-mods

context-diet

lnodonly/claude-mods

Removes escape codes, progress redraws and identical-line runs from Bash output (lossless), and lists the biggest items in context; shows the tokens saved above the prompt through modbar

★ 0GuardsCommandsAutomation

handoff

lnodonly/claude-mods

A note per project folder for the next session: /handoff writes a full one, and with /handoff auto on exit saves a quick one when work happened; the next session gives Claude the note

★ 0ToastsGuardsCommands

modbar

lnodonly/claude-mods

Draws the area above the prompt for other mods: their blocks, packed into configurable rows

★ 0BandsCommands

rules-enforcer

lnodonly/claude-mods

Enforces a project's .claude/rules.json: required skills before edits, and doc updates in the same turn

★ 0Status lineGuardsCommands