Claude Code mod
context-brake
When the context window crosses your threshold, Claude gets one quiet note to reach a clean stopping point before auto-compaction, and you get a toast. /brake to configure.
Install
/plugin marketplace add jonirafael/claude-code-mods
/plugin install context-brake@claude-code-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: reads mod state, persists state, draws
- Sees
- every prompt
- Hooks
session.startturn.completeprompt.submitcommand.run
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
- jonirafael/claude-code-mods
- Folder
plugins/context-brake- Marketplace
claude-code-mods- Author
- biqpro SH
- License
- MIT
- Last updated
- 16 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is context-brake?
When the context window crosses your threshold, Claude gets one quiet note to reach a clean stopping point before auto-compaction, and you get a toast. /brake to configure. It is a mod for Claude Code, from jonirafael/claude-code-mods on GitHub.
What can the context-brake mod access?
Its widest reach is "reads" (reads mod state, persists state, draws). It sees every prompt. Like any mod, it runs with your permissions.
How do I install context-brake?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add jonirafael/claude-code-mods and then /plugin install context-brake@claude-code-mods.
Is context-brake popular?
jonirafael/claude-code-mods has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 16 October 2026.
More context & usage mods
context-bar
1Vihat-Software/claude-mod-context-bar
Always-on stacked context-window bar at the right of the prompt footer, one colour per /context category; toggle with /context-bar
context-cache
1Lunik/gmz-claude-marketplace
Bottom-grid row: context fill and prompt cache (hit rate, countdown from the TTL the API reports). Toasts when context is full or the cache expired.
context-bar
1RenegadeRocks/claude-mods
A side panel beside the conversation (or a card above the prompt): context, limits, cache and API cost, model and effort, a quote, and an animated pet (cat or dog) that grows with your context.
context-canary
1Nachx639/context-canary
A pixel-art canary above the prompt that dies when a reply forgets a rule from CLAUDE.md, compacts the session keeping your instructions, and revives.
context-bar
1fredrikbonde/claude-context-bar
Draws the context window as a stacked bar above the prompt, one color per /context category; toggle with /context-bar
context-control
1AweGuider/Claude-Context-Control
See what fills Claude Code's context window, how many turns until auto-compact, and compact with a focus. Live band above the prompt, breakdown pane, optional pre-compact snapshots.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.