DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to keep context fill and plan usage above the prompt with Claude Code Mods

Track how full your context is and how much of your plan you have used, in bars above the prompt.

Who it is forA developer on a Claude plan who runs long sessions and wants to know when to compact or when a usage limit is near.

The problemLong sessions fill the context window and plan limits reset on a schedule, and neither is visible while you type.

The outcomeA stacked context bar and a usage meter sit above the prompt, showing fill, token counts, the 5-hour and 7-day usage and the reset countdown.

What you need first

  • Claude Code 2.1.287 or newer
  • npx available on your computer (the README installs with npx claude-code-mods@latest)
  • Chrome, a terminal that shows images, and the Spotify app only for the mods that need them (md-preview, now-playing)
  • An OpenAI organization Admin key only for openai-balance

Steps

  1. Run npx claude-code-mods@latest.
  2. Tick context-bar and usage-meter in the checklist and press Enter.
  3. Restart Claude Code.
  4. Type /context-bar to see the context window by category and where it compacts.
  5. Press o in the checklist if you want to reorder the bands above the prompt.

Prompt for your agent

In the hamzafer/claude-code-mods repo, install the context-bar and usage-meter mods. Run /context-bar in Claude Code on <session> and expect a stacked bar with token counts and the compact point; verify the usage meter shows the 5-hour and 7-day usage.

Caveat. The usage meter reports plan usage as the README describes it, so its numbers depend on what Claude Code exposes on your plan.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page