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.
| Type | Claude code mod |
|---|---|
| Author | MWEJ |
| Repository | MWEJ/claude-code-headroom |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (48/100) |
| Rank | #4,058 of 5,272 Claude Code mods; #776 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-07 |
| Hooks | 15 events |
| Sees | /"^mcp__headroom__compaction$"/ calls, classic hooks, compaction, every tool call |
| Draws on | AbovePrompt |
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.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.config.list | |
$.env.get | reads env vars |
$.env.set | sets env vars |
$.fs.read | reads files |
$.fs.stat | reads files |
$.http.fetch | network requests |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.session.append | |
$.session.authorize | reads the transcript |
$.session.compact | drives Claude |
$.session.id | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
How do I install headroom?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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/.
- 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.