prime-ctbar

prime-ctbar is a Claude Code mod by settanun-prime that context window breakdown and prompt-cache countdown above the prompt with interactive compact button; /prime-ctbar (or /ctbar) toggles it.

Updated 2026-10-29

What is prime-ctbar?

prime-ctbar is a Claude Code mod by settanun-prime that context window breakdown and prompt-cache countdown above the prompt with interactive compact button; /prime-ctbar (or /ctbar) toggles it. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorsettanun-prime
Repositorysettanun-prime/prime-studio-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (84/100)
Rank#8,321 of 9,397 Claude Code mods; #1,644 in Cost & usage
LicenseMIT
Last commit2026-10-29
Hooks7 events
Seescompaction, every prompt
Draws onAbovePrompt

Is prime-ctbar safe to install?

prime-ctbar scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.clock.sleep
$.command.register
$.command.rundrives Claude
$.session.compactdrives Claude
$.session.usage
$.state.get
$.state.set
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install prime-ctbar?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/settanun-prime/prime-studio-mods
    claude plugin validate ./prime-studio-mods/prime-ctbar
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add settanun-prime/prime-studio-mods && claude plugin install prime-ctbar@prime-studio-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs prime-ctbar for you:

Install the "prime-ctbar" Claude Code mod from https://github.com/settanun-prime/prime-studio-mods/tree/main/prime-ctbar. Run claude plugin validate on it first and show me what it can access before you enable it.

More from settanun-prime/prime-studio-mods

This repository has 3 Claude Code mods on MCPMods.

  • prime-agents-panel: Side pane listing project, user and plugin agents with a run button each; /prime-agents-panel toggles it. (Low risk)
  • prime-guard: Helps reduce personal data sent to Claude: redacts detected Thai and international personal data before sending and mask (Review before installing)