What problem does it solve? Verbose output from commands like git status, pytest, grep, and find consumes excessive context tokens when working with an AI assistant, leaving less room for actual reasoning and code. ## Core Features & Use Cases - Output Compression: Routes supported verbose commands (git, rg, grep, find, ls, tree, pytest, linters, builds) through the project-local scripts/agent/rtk wrapper to produce compact summaries. - Raw Output Preservation: Keeps exact, unfiltered output for byte-sensitive data, patches, and protocol output, and stores raw failure output under .tools/rtk/state/tee/ for later inspection. - Savings Reporting: The scripts/agent/rtk gain command shows local token savings from compressed output. - Use Case: While debugging a failing test suite, run pytest through RTK to get a compact failure summary in context, then inspect the tee path for the full raw traceback only when needed. ## Quick Start Run the bootstrap script once per checkout with scripts/agent/bootstrap-rtk, then invoke supported shell commands through scripts/agent/rtk instead of the native command.