rtk-ai/rtk

CLI proxy that compresses shell output (git, tests, ls) before the agent reads it

What

Single-binary CLI proxy. A hook rewrites agent shell commands (git status → rtk git status) and returns compact summaries of test runs, diffs, logs and builds, cutting tokens 60–90%.

How to use

bash
brew install rtk
rtk init -g     # register the Claude Code hook, then restart the agent
rtk gain        # see tokens saved

Reach for it when

your coding agent burns context on noisy command output.