Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By crenshawdev Verifiedv0.2.0MITIn 2 marketplaces
Suggests a /clear with a toast as the context fills, and can clear for you at the safe points a tool like Cadence marks.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Step between remindersstep
Points the fill must rise after a reminder before the next one shows.
number1–100default 10
Clear pointclearAt
Context fill, in percent, at or above which auto-clear clears at a safe point.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads files; reads environment variables (HEADROOM_PROCESS); sets environment variables; changes your /config settings; runs commands; reads or rewrites your prompts.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
number1–100default 20
Auto-clearautoClear
At a safe point a tool marks: off (reminders only), pause (clear past the clear point, then wait) or continue (clear past the clear point, then run the next step).
One of off, pause, continue
stringdefault off
First reminder pointfirstPoint
Context fill, in percent, at which the first /clear reminder shows.
number1–100default 33
Toast secondstoastSeconds
How long each reminder toast stays up, in seconds.
number1–300default 15

Headroom is a Claude Code mod that reminds you to /clear when your session's context fills past a point you choose, and can clear for you at the points a tool like Cadence marks as safe.
A long session fills the context a little at a time, and it's easy to miss the moment a /clear would help. Claude Code's own toasts stay up for 4 seconds, which is easy to miss too. Headroom checks the fill after each turn. When it reaches the first reminder point, 33% unless you set another, a toast suggests a /clear and stays up for 15 seconds. You get the next reminder only after the fill rises another 10 points.
The toast stays out of the transcript and never reaches the model, so a reminder costs no tokens. Out of the box that's all Headroom does: it never runs /clear for you until you turn on auto-clear.
Headroom is listed in the Foundation marketplace, beside Cadence and burnrate. At the prompt of a Claude Code terminal session:
/plugin marketplace add crenshawdev/foundation
/plugin install headroom@foundation
This repository is also its own marketplace, if you'd rather install straight from it:
/plugin marketplace add crenshawdev/headroom
/plugin install headroom@headroom
Install it from one of the two, not both. Pick a scope when the install asks. Headroom runs in that session right away, and at the user scope it loads in every session you start after. The install also shows a screen where you can set the options below.
In the desktop app, click + next to the prompt box, then Plugins, add the marketplace crenshawdev/foundation, then add the plugin.
There's nothing to run. Once it's installed, Headroom checks the context fill after each turn and shows a toast when it reaches the first reminder point. The points and the toast time are under Settings.
/clear, starts the reminders over.A /clear is only safe when nothing the session still needs lives in the conversation alone. Headroom can't tell when that is, so it leaves the call to the tool doing the work. Cadence marks a safe point at the end of each command, once its work is on disk, along with the command that picks up from there. At a safe point, Headroom checks the fill and does what the autoClear setting says:
autoClear | Fill at or above the clear point | Fill below it |
|---|---|---|
off (the default) | Nothing; the reminders still show | Nothing |
pause | Clears, then waits for you, with a toast naming the next command | Nothing |
continue | Clears, then runs the next command | Runs the next command without a clear |
The clear point is clearAt, 20% unless you set another. It's separate from the reminder points, so you can have reminders at 33% and clears at 20%, or the other way round.
If you type something while a step is finishing, Headroom leaves the clear for you, since that exchange isn't on disk. With continue, a run goes from step to step on its own until a step asks you something. Press Esc to stop it: after an interrupt, Headroom drops that turn's safe point and Claude Code holds back every mod's calls until you type again.
After a safe point Headroom runs only Cadence's commands, never your own, another plugin's, a built-in or an MCP prompt. A safe point can be planted by anything that can write a file in your session, a prompt-injected instruction included, so the command it names is held to the one tool Headroom was built with.
While auto-clear is on, Headroom sets HEADROOM_CLEAR_POINT in the session's environment to a file beside the session's transcript. To mark a safe point, write JSON there before the turn ends:
{ "next": "/cadence:cad-agile" }
next is optional. Headroom reads the file once the turn ends and deletes it, and it ignores a file left from an earlier turn. Any tool's safe point gets the clear, but continue runs next only when it's one of Cadence's commands; for anything else Headroom names it in a toast and waits. With auto-clear off the variable is unset, so a tool that checks it first writes nothing.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub crenshawdev/headroom --plugin headroom