easy-headroom

Stop hand-rolling your rtk init and headroom wrap claude setup.
easy-headroom is a VS Code extension that installs and configures
RTK and
Headroom for you, so
your CLI coding agent burns far fewer tokens on every shell command
and API call.
What it does
- Installs RTK and/or Headroom automatically — no manual binary
download, no PATH wrangling.
- RTK works across agents — Claude Code, Gemini CLI, and Codex
CLI, pick which ones via
easy-headroom.rtk.agents. Headroom (the
API proxy) is Claude-Code-only, since it works by pointing
ANTHROPIC_BASE_URL at itself.
- Wires up the hooks (
rtk init --global --auto-patch, headroom wrap claude)
safely — won't re-patch your config on every restart.
- Works solo or as a team. Use it standalone on your laptop, or
point it at a shared, centralized Headroom instance your team
already runs — see
easy-headroom-docker
below for a ready-made way to deploy that shared instance.
- One click to your dashboard, right from the status bar.
- Stays out of your way. Don't want Headroom? Enable RTK only —
zero network config touched.
Install
Search for easy-headroom in the VS Code Extensions view, or:
code --install-extension easy-headroom
Quick start
- Install the extension.
- Open the settings and pick what you want:
easy-headroom.rtk.enabled — shell output compression (on by
default).
easy-headroom.rtk.agents — which agents RTK sets up
(claude by default; add gemini/codex as needed).
easy-headroom.headroom.enabled — API compression, caching, and
output shaping (Claude Code only).
- If you enable Headroom, choose a mode:
- local — the extension runs the proxy for you, right on your
machine. Nothing else to set up.
- remote — already have a Headroom instance running for your
team? Just point
remoteUrl at it.
- Click the status bar item any time to jump to your savings
dashboard.
Running Headroom for a team?
See easy-headroom-docker —
a logically separate project that self-hosts Headroom plus a small
aggregation service, so everyone's RTK savings roll up into one shared
dashboard, even across several machines.
Why this exists
I was tired of installing and wiring up RTK and Headroom by hand on
every project, and on every container/host I worked on — rtk init --global, headroom wrap claude, PATH management, env vars, repeated
every single time. Both are excellent, independent tools, but
neither ships a one-click setup, and neither is designed for a Headroom
instance shared across multiple machines. This extension automates the
former and enables the latter, so I stop doing this by hand.
If this project is useful to you, consider sponsoring on GitHub.
License
AGPL-3.0-or-later — see LICENSE.