headroom

headroom is a Claude Code mod by MWEJ that your Claude plan limits, a forecast of when you'll run out, and your context window, live in a band above the prompt. Compacts in one click, automatically, or when Claude picks the moment,.

Updated 2026-10-07

What is headroom?

headroom is a Claude Code mod by MWEJ that your Claude plan limits, a forecast of when you'll run out, and your context window, live in a band above the prompt. Compacts in one click, automatically, or when Claude picks the moment,. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
AuthorMWEJ
RepositoryMWEJ/claude-code-headroom
Popularityno public popularity data yet
CategoryCost & usage
SecurityHigh risk (48/100)
Rank#4,058 of 5,272 Claude Code mods; #776 in Cost & usage
LicenseMIT
Last commit2026-10-07
Hooks15 events
Sees/"^mcp__headroom__compaction$"/ calls, classic hooks, compaction, every tool call
Draws onAbovePrompt

Is headroom safe to install?

headroom scores 48/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.config.list
$.env.getreads env vars
$.env.setsets env vars
$.fs.readreads files
$.fs.statreads files
$.http.fetchnetwork requests
$.model.forkdrives Claude
$.process.runruns processes
$.session.append
$.session.authorizereads the transcript
$.session.compactdrives Claude
$.session.id
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.registerdrives Claude
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install headroom?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/MWEJ/claude-code-headroom
    claude plugin validate ./claude-code-headroom/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add MWEJ/claude-code-headroom && claude plugin install headroom@claude-code-headroom

Or ask Claude to set it up

Paste this into Claude Code and it installs headroom for you:

Install the "headroom" Claude Code mod from https://github.com/MWEJ/claude-code-headroom. Run claude plugin validate on it first and show me what it can access before you enable it.