Claude Code mod
context
Context window bar above the prompt, green to orange to red as it fills, with a Compact button
Install
git clone https://github.com/korenka/claude-harness.git
claude --plugin-dir ./claude-harness/mods/contextThe repo has no marketplace file, so load the plugin folder directly with --plugin-dir.
What it can access
- Reach
- L2Writes or runs: drives Claude, reads mod state, draws
- Sees
- compaction
- Draws in
AbovePrompt- Hooks
session.startsession.compactturn.completeui.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
- korenka/claude-harness
- Folder
mods/context- Author
- Koren Kazoom
- License
- MIT
- Last updated
- 1 November 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is context?
Context window bar above the prompt, green to orange to red as it fills, with a Compact button It is a mod for Claude Code, from korenka/claude-harness on GitHub.
What can the context mod access?
Its widest reach is "writes or runs" (drives Claude, reads mod state, draws). It sees compaction. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install context?
Clone korenka/claude-harness and start Claude Code with --plugin-dir pointing at the mod's folder (mods/context).
More context & usage mods
pro-hud
12VedantAndhale/claude-pro-kit
Desktop heads-up display for the Pro plan: exact 5h/7d usage gauges, context gauge, turn receipts, usage in the spinner and compact tool cards. No estimates, no tokens spent.
context-bar
StanislavKozachenko/claude-mods
Shows the context window as a stacked bar above the prompt, one colour per /context category; /context-bar toggles it
cost-meter
5Singh-AP/awesome-claude-mods
Always know what a session costs: live $ / context / rate-limit status line, the cost of every turn, context warnings, and an optional budget that asks before spending more.
context-meter
wablevaibhav/claude-mods
Shows how full the context window is, warns at 70% and 90% so you can compact or start fresh before quality drops.
quota-watch
115whyashthakker/awesome-claude-code-mods
Inspect reported plan windows and their reset times.
dev-status
sonata39-star/claude-mod
Status line: git branch, context window, rate limits with reset times, session cost and RTK savings
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.