RTK - Rust Token Killer
2026Internal toolInternal / private
Token-optimized CLI proxy for Claude Code. Intercepts common dev commands via Claude Code hooks and rewrites their output before it hits the model context — 60-90% token savings on routine dev operations like git, ls, find, and grep without changing the developer's muscle memory. Written in Rust for fast startup; ships analytics so you can see exactly how many tokens (and dollars) you saved per session.
Highlights
- Transparent rewrite via Claude Code hooks — zero workflow change
- 60-90% token savings on git, ls, find, grep, and other read-only commands
- Built-in analytics: rtk gain shows savings per session and historically
- Discovery mode mines Claude Code history for missed-savings opportunities
- Fast startup — Rust binary, no runtime
Run it
$ rtk --version$ rtk gain$ rtk gain --history$ rtk discover$ rtk proxy <cmd>Tech
RustClaude Code HooksCLI