claudemods

All Claude Code modsMWEJ/claude-code-headroom

headroom

A Claude Code mod in MWEJ/claude-code-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.

Install hint

/plugin install headroom --marketplace MWEJ/claude-code-headroom

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

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, draws

Validation

Passed with warnings

Listed 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

Reach badge for headroom Validation badge for headroom

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/MWEJ--claude-code-headroom--headroom-reach.svg)](https://mods.aidojo.si/mods/MWEJ--claude-code-headroom--headroom/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/MWEJ--claude-code-headroom--headroom-validates.svg)](https://mods.aidojo.si/mods/MWEJ--claude-code-headroom--headroom/)