Show HN: Tokf – Stop wasting LLM context on verbose build output

Hacker News Show AI
Generative AI AI Tools

If you use Claude Code (or similar AI coding tools), you've probably noticed that a single `cargo test` or `npm run build` can dump thousands of tokens of noise into your context window. Passing tests, repetitive warnings, full stack traces - stuff that's useful for humans scrolling through a terminal, but wasteful for an LLM that just needs to know what failed and why. tokf is a Rust CLI that intercepts command output and compresses it using TOML-defined filters. You can strip passing tests, collapse repetitive errors, trim stack traces, etc.