ClaudeCodeMod

All shelves / Mods / Usage

am-context-bar

By romnycristopher

am-context-bar is a Claude Code usage mod by romnycristopher.

Draws 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.

Draws

Install

The marketplace name is claude-am-mods.

In Claude Code
/plugin install am-context-bar --marketplace romnycristopher/claude-am-mods
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.5.1
License
MIT
Repo stars
4
Last change
2026-10-18

What it can reach

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

Claude Code 2.1.289 or later, in the terminal. Answer y to add the marketplace, then pick a scope. The card starts hidden: run /am-context-bar once to show it. The session and weekly limits need a Claude subscription; with an API key the card has no limits to show. git on your PATH gives the git status. From a shell, the same install is claude plugin install am-context-bar --marketplace romnycristopher/claude-am-mods. The layout, the zone cut-offs, and Plan progress are in /config.

The marketplace name is claude-am-mods, and it holds only this plugin. The context figures are why this page files it under usage. context-budget, by melodic-software, draws the session's context by category in a pane or a band. session-hud-bradtraversy, by bradtraversy, draws a strip with the git branch, context against a target you set, and weekly usage. This one marks where the dumb zone starts, at 50% of the window or by 250k tokens, and where to compact or clear, at 70% or by 400k, and counts the turns left at the recent pace. With Plan progress on, it follows a plan's phases through Claude's task list and adds a line about phase tags to the TaskCreate and TodoWrite tool descriptions; /am-context-bar plan off stops both. The README says it makes no network requests.

Demo

The author's picture of the collapsed card above the prompt, layout v1, three rows: 109k of 1M, 11%, Plenty of room; Opus 5.5, thinking high, resets in 1h 5m; a bar split into tools, skills, system, and messages, with marks where the dumb zone starts and where to compact; the branch with 4 uncommitted changes and 3 to push; and the plan at phase 2 of 3, Cart and discounts, 3 open, with P1: 1 left. The figures are the author's.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • classic.SessionStartA Claude Code event
  • tool.describeA Claude Code event
  • tool.callAround a tool call, where it can hold oneExitPlanModeTaskCreateTaskUpdateTodoWrite
  • prompt.submitWhen you send a prompt
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command
  • session.measureWhen usage is measured
  • turn.stepAt each step of a turn
  • session.compactWhen the context is compacted
  • 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 source, 3 files. They load when you open them.

Facts

Author
romnycristopher
Category
Usage
Marketplace
claude-am-mods
Repo
romnycristopher/claude-am-mods
Folder
mods/am-context-bar
Version
0.5.1
License
MIT
Repo stars
4
Last change
2026-10-18
Language
TypeScript
Files
8

Other mods in Usage

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.cache-meterT-AI-LabsDraws one row above the prompt with how much of the last turn the prompt cache served, how long it stays warm, and a Keep warm switch that refreshes it.context-meterT-AI-LabsDraws one row above the prompt with the context fill against an auto-compact threshold you pick, and Compact and Clear buttons.usage-limitsT-AI-LabsDraws one row above the prompt with how much of the 5-hour and weekly limits is used, with the time until each resets.context-usageT-AI-LabsDraws the context fill with an auto-compact threshold, Compact and Clear buttons, and the 5-hour and weekly limits in two rows above the prompt.rich-statuslineTheBabaYagaDraws one line above the prompt with the directory, git branch and changes, model and effort, and bars for context and the 5-hour and 7-day limits.cachebeat404MayankKeeps the prompt cache warm while you are away with a small background request, and draws a beating heart under the prompt and a beat count under your turn.tokensaverAGregDevPuts Clawd in a pane and a band above the prompt, trims noisy shell output before Claude reads it, warns as the context fills, and routes subagents by tier.colorwheelAlexeyHRDesignDraws a band in the desktop app with your 5-hour and 7-day limits on its edges and the context as weather, and redraws replies with full-width diagrams.model-pickeralfredtmDraws a band above the prompt when a session opens that lists the models by digit, and runs /model for the one you press; 0 keeps the current one.context-meterAndrewDongminYooDraws the measured context fill above the prompt past 50%, and skips an auto-compact set off when an advisor request makes the session read twice as full.effort-cycleAnercoSteps the effort level of the agent in view with Ctrl+↑ and Ctrl+↓, and draws it as a colored meter in the footer and in each subagent's tasks list row.
All 183 in Usage