Squeez tool compresses bash output 90%+ to extend Claude Code context window

Squeez is a background hook that automatically compresses raw bash output before it reaches Claude Code, addressing context window overflow during longer tasks.
Problem and solution
When using Claude Code for extended tasks, raw bash output from commands like ps aux, docker logs, and git log can fill the context window with thousands of tokens of unnecessary noise. This causes the model to lose track of ongoing work mid-session. Squeez compresses this output automatically without changing your workflow.
Performance and installation
The tool achieves an average reduction of 92.8% across 19 common commands. This compression helps sessions last longer and maintains response coherence further into tasks.
Installation options:
- One-line install:
curl -fsSL https://raw.githubusercontent.com/claudioemmanuel/squeez/main/install.sh | sh - Available on npm and crates.io
How it works
Squeez runs as a background hook that intercepts bash output before it reaches Claude Code. It identifies verbose command output and applies compression algorithms to reduce token usage while preserving essential information. The tool specifically targets common development commands known to generate excessive output.
📖 Read the full source: r/ClaudeAI
👀 See Also

ClawProxy: Self-Hosted AI Routing Proxy with Dashboard
ClawProxy is an open-source, self-hosted proxy that centralizes management of multiple AI API keys and models. It provides a unified endpoint, smart key rotation, provider fallback, and real-time logging via a React dashboard.

Mandala v0.3: Open-Source Async Runtime to Unify Logistics Telemetry as OpenTelemetry Spans for Agent Reasoning
Mandala v0.3 provides an open-source async runtime that ingests telemetry from Samsara, Descartes, Vizion, and FMCSA via webhooks, emits events as OpenTelemetry spans, and exposes data via MCP tools for LLM agents.

Benchmark Results for Small Local and OpenRouter Models on Agentic Text-to-SQL Task
A developer tested multiple small local and OpenRouter models using a custom agentic text-to-SQL benchmark that converts English queries to SQL with debugging rounds. The benchmark includes 25 questions, runs in under 5 minutes, and reveals top performers like kimi-k2.5 and Qwen 3.5 variants.
Voker Launches Agent Analytics Platform with Intent/Correction/Resolution Primitives
YC S24 startup Voker launches an agent analytics platform with a lightweight SDK that automatically annotates user intents, corrections, and resolutions — providing self-service dashboards without relying on LLMs for data engineering.