All Claude Code modsMWEJ/claude-code-headroom
headroom
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, and keeps the prompt cache warm
headroom reaches L3 (network) and passed claude plugin validate with warnings.
- Events hooked: 15
- API methods referenced: 28
- Access from classified calls: L3, network: network, runs processes, sets env vars, drives Claude, reads files, reads env vars, reads settings, reads mod state, requests an Anthropic credential handle, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install headroom --marketplace MWEJ/claude-code-headroomFrom 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
L3 Uses the networknetwork, runs processes, sets env vars, drives Claude, reads files, reads env vars, reads settings, reads mod state, requests an Anthropic credential handle, persists state, drawsValidation
Passed with warningsListed under Prompt cache mods for Claude Code, Context and usage meters for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- /"^mcp__headroom__compaction$"/ calls, every tool call, compaction, classic hooks
- Hooks
tool.check {tool=/"^mcp__headroom__compaction$"/}, tool.call {tool=/"^mcp__headroom__compaction$"/}, tool.call, session.compact, session.start, session.measure, ui.focus {component=AbovePrompt}, ui.press {component=AbovePrompt}, prompt.edit, turn.start, turn.complete, session.end, classic.PostModelSwitch, config.set {key="headroom.cacheTtl"}, config.set {key="headroom.idle5m"}, config.set {key="headroom.idle1h"}, config.set {key="headroom.warmUntil"}, command.run {command=headroom}, ui.render {component=AbovePrompt}- API calls
$.agent.list, $.clock.after, $.clock.every, $.clock.now, $.command.register, $.command.run, $.config.list, $.env.get, $.env.set, $.fs.read, $.fs.stat, $.http.fetch, $.model.fork, $.process.run, $.session.append, $.session.authorize, $.session.compact, $.session.id, $.session.usage, $.state.get, $.state.set, $.store.get, $.store.set, $.tool.register, $.ui.log, $.ui.resolve, $.ui.status, $.ui.toast- Validation
- Passed with warnings
- Scanned revision
055c9af0b846- Marketplace passed
- claude-code-headroom
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.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/MWEJ--claude-code-headroom--headroom/)
[](https://mods.aidojo.si/mods/MWEJ--claude-code-headroom--headroom/)