Filters 100+ commands
Tests show only failures, git status, diff and log get compact, ls, tree and grep come grouped, linters group by rule, docker and kubectl keep the essential fields.
HarnessUp / Alternatives / RTK
Honest questionGood instinct, mostly. If your agent keeps pulling walls of git, test and linter output into context, it's a great pick. But command output is only one slice of the bill, and cutting 90% of it isn't cutting 90% of the bill.
youI installed RTK. My git and test output shrank a lot. Bill solved, right?
HarnessUpNoisy commands, quiet now. And the raw output is still recoverable.
youSo... solved?
HarnessUpOne faucet closed. Let me show you the others still leaking.
About 87.5 thousand stars on GitHub agree. Its pitch is the cost reduction engine for AI coding agents: a single Rust binary with zero dependencies that filters the output of 100+ dev commands before the model sees it. Its README claims 60-90% fewer tokens on common ones.
★ 87.5k
stars · 18 agents
respect.
Tests show only failures, git status, diff and log get compact, ls, tree and grep come grouped, linters group by rule, docker and kubectl keep the essential fields.
Written in Rust, zero dependencies. Install with brew, winget or a curl script, then run rtk init -g.
The CLI is Apache-2.0. The bundled engine and the optional proxy daemon are BUSL-1.1 (source-available), and paid RTK Pro tiers exist.
Claude Code, Codex, Cursor, Gemini CLI, Copilot, OpenCode, Windsurf, Cline and more, through a hook, a plugin or a rules file.
Tired of a whole test run landing in context for one failure? Install it, seriously.
RTK trims what commands print. Its own README is upfront: cutting 90% of output does not cut 90% of total cost, and the agent's native Read, Grep and Glob tools pass through uncompressed by default. Most of the bill is what the agent reads, again and again:
The savings shown by rtk gain estimate tokens as bytes divided by 4, not real counts from your transcripts. And the optional rtk-proxy daemon compresses provider API traffic, which puts it in the request path.
RTK shuts one faucet hard. Others are still leaking.
HarnessUp's Command Ceiling also cuts a 40K-line log down to the part that matters, so on this one faucet the two do the same job. The difference is everything else: sessions, builds, answers and a real count of what you spent.
And when a parser isn't sure, the output passes through untouched: better to save nothing than to hand the model the wrong thing. The original always stays recoverable. RTK also passes raw output through when a filter fails.
Both filter commands. Only one covers the whole bill.
RTK is excellent at command output and can run next to HarnessUp. Just keep one command-output filter on, and let HarnessUp take the rest of the bill.
No rule per command: RTK writes a filter for each of 100+ commands, and its own Read, Grep and Glob pass untouched. Command Ceiling caps any oversized output at the tool-call boundary, whatever the command.
The original stays on disk: the full output is kept recoverable, and the agent opens it only if the cut part matters.
It's measured: on real transcripts. On the tasks it covers, Command Ceiling cut 56%.
That's why HarnessUp caps by size, not by command name.
# Command Ceiling, a real cut from our own session, 11/22/2026
output 114 lines, 2 KB
delivered first 15 + last 25 lines
cut 74 lines (−65%)
original ~/.harnessup/command-output/b5edb06f09.txt
# the original stays on disk:
# the agent opens it only if it needs to
HarnessUp has an engine for every leak. Each number was measured on the tasks that engine covers.
Builds and commits at the end of the task, without spending a model turn.
The expensive model only decides. Tests, search and reading go to a cheap model.
Flags the exact turn where starting fresh costs less than continuing.
Straight to the point. No walls of text, no intro.
Big file? It returns a map of functions and lines, not the whole file.
A 40K-line log shrinks to the part that matters.
Builds on your machine and shows the error before the next turn.
Reduction measured per engine, on the tasks it covers. 26 tools are savings-only.
No beating around the bush. Where RTK doesn't show up, it's not a flaw: it's just not its job.
| What you want | RTK | HarnessUp |
|---|---|---|
| Main focus | Compress command output before it reaches the agent | Savings, control and security for the agent |
| Find things in the code | Groups ls, tree and grep output; the agent's own Read, Grep and Glob pass uncompressed | ✓Code Finder: file map, −59% |
| Cut huge logs and output | ✓100+ commands filtered, up to 90% by its own numbers | ✓Command Ceiling, −56% |
| Answers without fluff | Not its thing | ✓Response Diet, −64% |
| Know when to start a fresh session | Not its thing | ✓Renew Session, −73% |
| Build and commit without spending a turn | Not its thing | ✓Build Now, Smart Commit, First Pass |
| Send grunt work to a cheap model | Not its thing | ✓Cheap Swarm |
| Remember the project's decisions and pitfalls | Not its thing | ✓Context Graph and Fresh Context |
| Measure how much you spend and where it leaks | rtk gain, with tokens estimated from bytes | ✓Deep Scan, free on Basic |
| Protect passwords, history and files | Not its thing | ✓Secret Lock, Git Shield, No Delete, Checkpoint |
| Install | brew, winget or a script, then rtk init -g | One command, about 1 minute |
| Does your code leave the machine? | The CLI filters locally; the optional rtk-proxy sits in the API path | No. 0 bytes leave your machine |
| Agents | Claude Code, Codex, Cursor, Gemini CLI and 14 more | Claude Code and Codex |
| Price | Free CLI; paid RTK Pro plans | Basic free forever. Pro from US$ 6/mo billed yearly |
RTK details taken from the official repository in November 2026. Spotted something outdated? Write to help@harnessup.dev and we'll fix it.
Nobody here is trashing a good tool.
Yes. RTK plugs in through a hook that rewrites commands, a plugin or a rules file; HarnessUp plugs in through the agent's hooks. Just don't stack two command-output filters: pick RTK or HarnessUp's Command Ceiling for command output, and let HarnessUp handle the rest of the bill: sessions, builds, answers and re-sent context.
According to its README, not for good: truncated output can be recovered with rtk recall, rtk bypass runs a command unfiltered, and if a filter fails the raw output passes through.
RTK's CLI works through a hook, but its optional rtk-proxy daemon compresses provider API traffic, which puts a proxy in the request path. HarnessUp works only through the agent's documented hooks, never sits in the credential path and never reads your token. If it goes down, the agent just keeps working.
Real token counts from your own transcripts. RTK's rtk gain estimates tokens as bytes divided by 4, and its README says cutting 90% of output doesn't cut 90% of total cost. HarnessUp measures the real count on your own sessions, and Deep Scan shows how much you spent and where it leaked.
7 days with everything on. No card. No signup. Installs in about 1 minute.
irm https://harnessup.dev/install.ps1 | iexPaste it into your agent and ask it to install. That's it.