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.
“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.
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.
| Command | Plain | rtk | Change |
|---|---|---|---|
| ls / tree | 2,000 | 400 | -80% |
| cat / read | 40,000 | 12,000 | -70% |
| grep / rg | 16,000 | 3,200 | -80% |
| git status | 3,000 | 600 | -80% |
| cargo test / npm test | 25,000 | 2,500 | -90% |
| Total, 12 operation types | ~118,000 | ~23,900 | -80% |
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
- Fresh input tokens
- 98.6% fewer
- Cost
- 16.0% cheaper
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.
$ curl -fsSL https://lemoncrow.com/install.sh | bash -s -- --product workspaces --agent claude