HarnessUp / Alternatives / RTK

Honest question

Thinking about RTK to save tokens?

Good 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.

First, the compliment

RTK is really good at its job.

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.

GitHub · RTK

★ 87.5k

stars · 18 agents

respect.

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.

Single binary

Written in Rust, zero dependencies. Install with brew, winget or a curl script, then run rtk init -g.

Free CLI

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.

18 agents

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.

The catch

Filtered commands aren't the whole bill.

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:

  • Re-sent contextEvery message, the whole history goes out again. And you pay again.
  • Sessions that should have endedNobody tells you when starting fresh costs less than carrying on.
  • Builds and commits burning turnsStuff that didn't even need AI, burning an expensive model.
  • Long answersNothing in a command filter shortens what the model says.
  • Command outputThis is the faucet RTK shuts off. One of many.

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.

Confession

We filter commands too. Then we kept going.

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.

The verdict

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.

Why Command Ceiling

Command Ceiling: one cap for any command, nothing lost.

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

Now we're talking

The RTK alternative for anyone who wants to see the bill go down.

HarnessUp has an engine for every leak. Each number was measured on the tasks that engine covers.

0 tokens

Build Now and Smart Commit

Builds and commits at the end of the task, without spending a model turn.

light model

Cheap Swarm

The expensive model only decides. Tests, search and reading go to a cheap model.

Renew Session

Flags the exact turn where starting fresh costs less than continuing.

−73%

Response Diet

Straight to the point. No walls of text, no intro.

−64%

Code Finder

Big file? It returns a map of functions and lines, not the whole file.

−59%

Command Ceiling

A 40K-line log shrinks to the part that matters.

−56%

First Pass

Builds on your machine and shows the error before the next turn.

−35%

Reduction measured per engine, on the tasks it covers. 26 tools are savings-only.

Comparison

RTK and HarnessUp, side by side.

No beating around the bush. Where RTK doesn't show up, it's not a flaw: it's just not its job.

What you wantRTKHarnessUp
Main focusCompress command output before it reaches the agentSavings, control and security for the agent
Find things in the codeGroups 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 fluffNot its thing✓Response Diet, −64%
Know when to start a fresh sessionNot its thing✓Renew Session, −73%
Build and commit without spending a turnNot its thing✓Build Now, Smart Commit, First Pass
Send grunt work to a cheap modelNot its thing✓Cheap Swarm
Remember the project's decisions and pitfallsNot its thing✓Context Graph and Fresh Context
Measure how much you spend and where it leaksrtk gain, with tokens estimated from bytes✓Deep Scan, free on Basic
Protect passwords, history and filesNot its thing✓Secret Lock, Git Shield, No Delete, Checkpoint
Installbrew, winget or a script, then rtk init -gOne command, about 1 minute
Does your code leave the machine?The CLI filters locally; the optional rtk-proxy sits in the API pathNo. 0 bytes leave your machine
AgentsClaude Code, Codex, Cursor, Gemini CLI and 14 moreClaude Code and Codex
PriceFree CLI; paid RTK Pro plansBasic 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.

Fair questions

Before you decide. . .

Nobody here is trashing a good tool.

Can I use RTK and HarnessUp together?

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.

Does RTK lose my output?

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.

Why doesn't HarnessUp use a proxy?

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.

What does HarnessUp measure that RTK doesn't?

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.

Deal?

Keep the filter. Add the ruler.

7 days with everything on. No card. No signup. Installs in about 1 minute.

irm https://harnessup.dev/install.ps1 | iex

Paste it into your agent and ask it to install. That's it.

Turn it on.

Same plan, way more mileage.

Start my 7 free days
Command filtering is a start. HarnessUp is the ruler.7 days free