← All comparisons
Workspaces · LemonCrow and rtk

rtk trims shell output. LemonCrow works alongside it.

rtk is an open-source CLI proxy: a hook rewrites the agent's shell commands, such as git status, cat and pytest, into compact versions so the agent reads less output. LemonCrow Workspaces gives the agent code search and its own tools to read, edit and run code. They work on different layers, so you can use both.

What rtk says
“CLI proxy that reduces LLM token consumption by 60-90% on common dev commands.”
“Estimates based on medium-sized TypeScript/Rust projects. Actual savings vary by project size.”

rtk's hook acts on the agent's Bash tool. Read, Grep and Glob calls pass through it unless the agent calls rtk read or rtk grep.

How LemonCrow uses rtk

LemonCrow's own bash tool sends cat, grep and find to its read and search tools. LemonCrow's full engine also detects rtk on the PATH and hands it a fixed list of read-only commands: git status, log, diff and show, test runners, linters and type checkers. Nothing that changes state goes through rtk.

It is on by default and needs no setup; set LEMONCROW_BASH_EXTERNAL_COMPACTORS=0 to turn it off. Workspaces Lite bounds shell output itself and does not call rtk.

rtk's estimates, tokens
CommandPlainrtkChange
ls / tree2,000400-80%
cat / read40,00012,000-70%
grep / rg16,0003,200-80%
git status3,000600-80%
cargo test / npm test25,0002,500-90%
Total, 12 operation types~118,000~23,900-80%

Five of the twelve rows in rtk's README, estimated for a medium-sized TypeScript or Rust project. No task is run and no answer is checked. Checked 8 July 2026; full table.

What LemonCrow measured

LemonCrow has not benchmarked rtk. The nearest thing it measures is Terminal-Bench 2.1: 89 real terminal tasks, 5 runs each, Claude Code with LemonCrow against the official Claude Code leaderboard run, Opus 4.8 on both sides, every answer checked.

Resolved
351/445 both sides
78.9%, tied
Fresh input tokens
98.6% fewer
182K vs 12.87M
Cost
16.0% cheaper
Same cache-write rate both sides

Run with LemonCrow's full engine. Method and raw trials: BENCHMARKS.md, Terminal-Bench.

Try LemonCrow

Workspaces Lite is free and open source, needs no LemonCrow account and uploads no source. One command installs it and gives Claude Code its tools; keep rtk installed as it is.

Install Workspaces
$ curl -fsSL https://lemoncrow.com/install.sh | bash -s -- --product workspaces --agent claude