compress

Monitor Headroom proxy health and report compression statistics for Claude Code sessions.

412|45|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/cwinvestments/memstack --skill compress-cwinvestments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compress
Source: https://github.com/cwinvestments/memstack/tree/main/skills/compress
Command: npx skills add https://github.com/cwinvestments/memstack --skill compress-cwinvestments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of managing Claude Code's context window limitations by compressing tool outputs, thereby extending effective session length and reducing token usage.

Core Features & Use Cases

  • Monitor Headroom Proxy: Checks the status and health of the Headroom proxy.
  • Report Compression Stats: Provides details on compression ratios and tokens saved.
  • Troubleshoot Connection Issues: Guides users through diagnosing and resolving proxy connectivity problems.
  • Use Case: When a user is concerned about token limits or session costs, this skill provides a clear report on how much context is being saved by the Headroom proxy.

Quick Start

Run the headroom proxy command to start the compression service.

Frequently Asked Questions about compress

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor context compression stats for Claude Code sessions?

To monitor context compression stats for Claude Code sessions, this Skill checks the Headroom proxy health and reports compression ratios alongside total tokens saved. It provides a clear diagnostic view of your session optimization metrics.

Why does my Headroom proxy connection fail during a Claude Code session?

If your Headroom proxy connection fails during a Claude Code session, this Skill provides troubleshooting diagnostics to identify the issue. It requires the proxy service to be running and properly configured with the Anthropic API base URL.

How can I reduce token usage and extend the context window in Claude Code?

To reduce token usage and extend the context window in Claude Code, this Skill manages Headroom context compression. It compresses tool outputs to increase effective session length and lower overall token costs.

Do I need a specific environment setup to use Headroom context compression?

Yes, using Headroom context compression requires a specific environment setup. You must have Headroom installed and a running proxy service configured with the Anthropic API base URL before monitoring session optimization.

What is Headroom context compression and when should I use it?

Headroom context compression is a technique that compresses tool outputs to manage Claude Code's context window limitations. You should use it when you are concerned about hitting token limits or escalating session costs.

Can I diagnose proxy connectivity issues affecting my context window optimization?

Yes, you can diagnose proxy connectivity issues affecting context window optimization using this Skill. It guides users through resolving connection problems by checking proxy health and verifying the Anthropic API base URL configuration.