Claude Code mod
ctx-bar
Claude's 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.
Install
git clone https://github.com/Shaurya-Sethi/ctx-bar.git
claude --plugin-dir ./ctx-bar/.The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.
What it can access
- Reach
- L1Reads: reads mod state, persists state, draws
- Sees
- compaction
- Draws in
AbovePrompt- Hooks
session.startsession.appendturn.completecommand.runsession.compactui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- Shaurya-Sethi/ctx-bar
- Folder
.- Author
- Shaurya Sethi
- Last updated
- 15 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is ctx-bar?
Claude's 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. It is a mod for Claude Code, from Shaurya-Sethi/ctx-bar on GitHub.
What can the ctx-bar mod access?
Its widest reach is "reads" (reads mod state, persists state, draws). It sees compaction. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install ctx-bar?
Clone Shaurya-Sethi/ctx-bar and start Claude Code with --plugin-dir pointing at the mod's folder (.).
More context & usage mods
crosstalk
omarrx14/crosstalk-mod
Connects your Claude chats: they share context, leave each other questions and answers, and follow the same recorded decisions.
ctx-usage-dock
seanmars/my-agent-plugins
A docked pane and a status line that break the context window down by category: messages, skills, MCP tools, memory files, rules and agents
credits-bar
jbug0x/credits-bar
A live usage panel for Claude Code with a little pet: limit bars, pace warning, daily goal, context, tokens, cost per project, history and CSV export. English and Portuguese.
cubeman
eunille/Claude-mod
Cubeman for Claude Code: a live pane of skills, tools, subagents, context, tokens and activity, a pixel mascot that acts out what Claude is doing (classic, or Arbitrage with guns and zombie waves), and a plan-first workflow that waits for your approval.
crab-crew
AllarKalina/crab-crew
Follow your subagents at a glance: a status strip over the input box and a /crew panel where every subagent is a costumed pixel crab, with its model, steps, context, cost and runtime.
cyclops-fresheye
CyclopsEyeTeam/cyclops-fresheye
Fresh eyes on your work: the same model reviews it in a fresh context, without CLAUDE.md, memory or hook context, then you switch back with nothing lost.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.