prime-ctbar
by settanun-prime (Prime Studio) · ★ 0 · updated 24 days ago
Context window breakdown and prompt-cache countdown above the prompt with interactive compact button; /prime-ctbar (or /ctbar) toggles it.
Install
/plugin marketplace add settanun-prime/prime-studio-mods/plugin install prime-ctbar@prime-studio-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.compactsession.appendsession.startprompt.submitturn.completecommand.runui.render- API calls
$.clock.after$.clock.every$.clock.now$.clock.sleep$.command.register$.command.run$.session.compact$.session.usage$.state.get$.state.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
compactionevery prompt- Reach
- level 2 of 3 drives Claudereads 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/settanun-prime/prime-studio-mods
- Path in repo
prime-ctbar- Source commit
385ebf8the exact code the scan read- Author
- settanun-prime (Prime Studio) @settanun-prime
- 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 settanun-prime/prime-studio-mods
prime-agents-panel
settanun-prime/prime-studio-mods
Side pane listing project, user and plugin agents with a run button each; /prime-agents-panel toggles it.
prime-guard
settanun-prime/prime-studio-mods
Helps reduce personal data sent to Claude: redacts detected Thai and international personal data before sending and masks it on screen. Detection runs locally and the mod makes no network calls of its own; the redacted conversation is still sent to your configured model provider (Anthropic by default). Also keeps secret files (.env, keys) closed to the file tools and shell, and refuses a tool...