headroom
01Plugin Claude Code
Headroom startup hooks for Claude Code and GitHub Copilot CLI.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Headroom is a library, proxy, and MCP server that compresses tool outputs, logs, files, retrieval chunks, and conversation history before they reach a language model. It helps coding agents use fewer context tokens while keeping the original content available locally when needed. Its catalogue add-ons support using Headroom with agent workflows.
This repository also configures its own agents. See what headroom tells them →
Plugin Claude Code
Headroom startup hooks for Claude Code and GitHub Copilot CLI.
Plugin Claude Code
Bundles 1 skill · 76 tokens together
Skill: add headroom-ai compress() to a Python or TypeScript app to cut LLM input tokens (tool outputs, logs, JSON, chat history). No API key.