Stackmark › Prompts

Cut Claude Code's token usage by 70% with rtk

Most context is noise — passing tests, progress bars, verbose logs. `rtk` is a CLI proxy that compresses command output before it hits the window.

  • Type: Prompt
  • Tags: Coding Agent Hacks, Intermediate, Claude Code
  • Updated: 2026-10-01

Prompt

Most context is noise — passing tests, progress bars, verbose logs. `rtk` is a CLI proxy that compresses command output before it hits the window. Every command Claude runs dumps its full output into context. Half-hour sessions hit 150K tokens, mostly noise. `rtk` is a Rust CLI proxy that intercepts every command Claude executes and compresses the output before it lands. Sessions that peaked at 150K tokens now sit around 45K. Run `rtk gain` to see your savings. Implementation example: # Requires Rust cargo install --git https://github.com/rtk-ai/rtk # Wire into Claude Code rtk init --global # Check savings any time: rtk gain

More prompts

Privacy · Terms · llms.txt