am-context-bar

by romnycristopher · ★ 3 · updated 6 days ago

BandsCommandsvalidates

0

A context card above the prompt with a collapsed and an expanded view: zone-coloured token count (dumb zone from 50%), context bar with the dumb zone and auto-compact marked, breakdown by category, limits, model, thinking, compactions, git. Three layouts. /am-context-bar on | off | layout v1|v2|v3.

install am-context-bar

Install

/plugin marketplace add romnycristopher/claude-am-mods
/plugin install am-context-bar@claude-am-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.startclassic.SessionStartcommand.runsession.measureturn.stepsession.compactui.render
API calls
$.clock.every$.clock.now$.command.register$.config.set$.process.run$.session.model$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
AbovePrompt
Can see
classic hookscompaction
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processeschanges configpersists 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/romnycristopher/claude-am-mods
Path in repo
mods/am-context-bar
Source commit
43d1375 the exact code the scan read
Author
@romnycristopher
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.