{"repo":"AgusRdz/chop","free":true,"listed":false,"github":"https://github.com/AgusRdz/chop","clone":"git clone https://github.com/AgusRdz/chop.git","description":"CLI output compressor for Claude Code. Reduces token consumption by 50–90% by compressing verbose command output before it enters the context window. Supports 52+ commands — git, docker, kubectl, npm, terraform, and more.","language":"Go","stars":42,"topics":["claude","claude-ai","claude-code","cli","context-window","developer-tools","golang","llm","productivity","token-optimization"],"license":"MIT","category":"cli-tools","readme_excerpt":"chop CLI output compressor for Claude Code, Gemini CLI, Codex CLI, and Antigravity IDE. Claude Code and other AI agents waste 50-90% of their context window on verbose CLI output — build logs, test results, container listings, git diffs. chop compresses that output before Claude sees it, saving tokens and keeping conversations focused. The name comes from chop chop : the sound of something eating through all that verbosity before it ever reaches the context window. --- How It Works When Claude Code runs a Bash command, the raw output is fed back into the conversation as a tool result — part of the input of the next API call. chop intercepts that result and compresses it before it enters the context. The Cascade Effect The savings aren't one-time. Every tool result that enters the context stays there for the rest of the session — included in the input of every subsequent API call. A bloated command result compounds across turns. Why Output Tokens Also Benefit API output tokens cost 5× more than input tokens and are slower to generate (higher TTFB). A larger, noisier context causes the model to produce longer, more verbose responses — more recapitulation, more hedging. Keeping the context lean produces tighter, faster output naturally. ⚠️ 200K threshold : Once input exceeds 200K tokens, pricing jumps to $6.00 input / $22.50 output — applied to the entire request, not just the excess. Staying compressed avoids crossing that threshold. --- Before & After --- Install macOS / Linux","default_branch":null,"files":null,"tree":[],"storefront":"/r/AgusRdz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AgusRdz/chop/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}