claudemods

All Claude Code modsjonirafael/claude-code-mods

context-brake

A Claude Code mod in jonirafael/claude-code-mods

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.

context-brake reaches L1 (reads) and passed claude plugin validate.

Install hint

/plugin install context-brake --marketplace jonirafael/claude-code-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Readsreads mod state, persists state, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt
Hooks
session.start, turn.complete, prompt.submit, command.run {command=brake}
API calls
$.command.register, $.session.usage, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.toast
Validation
Passed
Scanned revision
c33686a9b549
Marketplace passed
claude-code-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from jonirafael/claude-code-mods

Badge for your README

Reach badge for context-brake Validation badge for context-brake

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/jonirafael--claude-code-mods--context-brake-reach.svg)](https://mods.aidojo.si/mods/jonirafael--claude-code-mods--context-brake/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/jonirafael--claude-code-mods--context-brake-validates.svg)](https://mods.aidojo.si/mods/jonirafael--claude-code-mods--context-brake/)