context-bar

by Ty · ★ 0 · updated 15 Oct 2026

BandsCommandsvalidates

0

Your context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. /context-bar shows or hides it. Fork of context-bar by Hamza Zafar, with shorter category labels.

install context-bar

Install

/plugin marketplace add Ty-Stev/ty-mods
/plugin install context-bar@ty-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.compactcommand.runui.render
API calls
$.command.register$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
AbovePrompt
Can see
compaction
Reach
level 1 of 3 reads mod statepersists 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/Ty-Stev/ty-mods
Path in repo
context-bar
Source commit
090f08f the exact code the scan read
Author
Ty @Ty-Stev
License
No license declared — ask the author before reusing code.
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 Ty-Stev/ty-mods

speaker-colours-rosepine

Ty-Stev/ty-mods

Rosé Pine speaker colours: a foam bar for your messages, rose for Claude's replies. Fork of speaker-colours by Herman Chan, recoloured for the Rosé Pine terminal theme.

★ 0Reskins