squeeze
github.com/cauebraz/squeeze- Category
- Developer Tools
- Rank
- No. 2137Tools index
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Data Processing
- Interfaces
- CLI
- GitHub
- 5 stars
- Date
About
squeeze is a Go command-line filter that reads a tool's output on stdin and prints the smallest text that still carries every change, failure or decision. It parses formats such as Terraform plan JSON instead of truncating, omits values marked sensitive, and reports what it cut and how to see it. In the README example, a 3,774-byte plan becomes 485 bytes, which reduces the tokens a coding agent spends reading output.
At a glance
Squeeze is a shell filter that condenses tool output before a coding agent reads it. It is worth testing on long, repetitive reports where the agent needs a handful of actionable details.
Good fit
Teams whose agents repeatedly read large Terraform plans, test results or structured security reports.
Consider something else when
Skip it for short output, exact log capture or decisions that require reviewing every field.
Start here
Save a synthetic test report with one known failure. Compare the original and filtered output, check that the diagnostic survives, and rerun with the detail flag suggested by the cut notice.
Cost and requirements
The command-line filter is MIT-licensed and the repository lists Go 1.27. It reads from standard input and needs no agent plugin.
Limits to know
Format-aware filters omit detail by design. Generic text uses heuristics, and sensitivity markers are no substitute for scrubbing arbitrary secrets. Preserve the original tool’s exit status separately or configure the filter’s failure behavior. Maintainer benchmarks include small tasks that consumed more tokens.
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Intel on squeeze
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.