ClaudeCodeMod

All shelves / Mods / Usage

ccbar

By emaballarin

ccbar is a Claude Code usage mod by emaballarin.

Draws a quiet band above the prompt: model and effort, the GitHub repo and branch with lines changed, a context bar split as /context, tokens, and plan limits.

Draws

Install

The marketplace name is ccplugins.

In Claude Code
/plugin marketplace add emaballarin/ccplugins
/plugin install ccbar@ccplugins
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.3.1
License
MIT
Repo stars
4
Last change
2026-10-19

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Calls another program on this machine

Claude Code with function hooks enabled; built against 2.1.288 and checked on 2.1.289 and 2.1.295. Where the rollout switch is off, it doesn't load. The terminal or the desktop app. git, sh, tail, head, wc, and tr, on Linux or macOS; without git the repository group is absent, and without the others the token total. It sits beside a statusLine command such as ccstatusline. Two settings in /config: how the token total counts, and clickable repository links, off by default.

The marketplace, ccplugins, holds seven of emaballarin's plugins, and this is the one that draws in the session. The context bar and plan limits are why this page files it under usage. hud-hoobnn draws model, context, and plan-usage gauges with git and the running tools. session-hud-bradtraversy draws the git branch, warned on main, context against a target, and weekly usage. This one splits the used context into the /context categories in their own colours, to an eighth of a cell, with the auto-compaction reserve, and counts each response's new tokens once, subagents included. Nothing runs outside the session. In the source, the band is an AbovePrompt render.

Demo

The top of the ccbar README: a quiet status band above the prompt, drawn by function hooks, shown as text: Opus 5.5 xhigh, emaballarin/ccplugins on main (+12 −3), a context bar at 246k/1M (25%), and the token count; then how the band packs its groups into rows and wraps on a narrow terminal.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • turn.completeWhen a turn ends
  • classic.StopA Claude Code event
  • ui.renderDraws into the sessionAbovePrompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
emaballarin
Category
Usage
Marketplace
ccplugins
Repo
emaballarin/ccplugins
Folder
plugins/ccbar
Version
0.3.1
License
MIT
Repo stars
4
Last change
2026-10-19
Language
Python
Files
12

Other mods in Usage

token-monitor-hudfractal-manifoldDraws the 5-hour and 7-day windows above the prompt with reset times and where each lands at this pace, plus Codex and Antigravity quotas if they're signed in.cost-ledgerFynnXlandKeeps a ledger of what every chat cost, plus other mods' model calls, and draws /ledger: today, 7 and 30 days, projects, top chats, models, and plan limits.limit-barsFynnXlandDraws the 5-hour and weekly limits as two slim bars above the prompt, a ring for how long the prompt cache stays warm, and asks before a costly cold send.claude-loadGerruxOpens a /load pane of CPU and memory per Claude Code session, with orphaned dev servers you can end, and draws a load line above the prompt under high load.smart-compacthellosverreOffers /compact in a dialog above the prompt at good moments: after a commit, when tests go green, before the prompt cache expires, or when Claude asks.tideHula-Hoop-AIDraws the context window as a tide above the prompt: a fill bar by phase, a sparkline of recent turns, the rise per turn, and turns left before compaction.cache-ttl-statuslineJerrettDavisDraws session, plan-limit, and Headroom lines with model, cost, context, and a cache TTL that turns yellow then red, below the prompt or, in mod mode, above it.usage-meterLeeHigma0201Shows context fill, the 5-hour and 7-day plan windows, and session cost on the status line, and toasts when a plan window crosses 80% and 95%.subagent-meterNarenDawarShows on the status line how many subagents ran, their share of output tokens and of all tokens, and the agent type that used the most.usage-weatherptpmediabrDraws one line above the prompt with the context as a weather icon, the 5-hour and weekly limits with resets, cache warmth, and a Clear & continue button.am-context-barromnycristopherDraws a card above the prompt with context use against where quality drops, what fills it, turns left, limits, git status, and the phase of a plan you're on.compactlyswapnildahiphaleOpens a cost and cache pane with each turn's cost and when the cache goes cold, and compacts at a natural break a Sonnet judge picks, with a handoff summary.
All 183 in Usage