How They Use AI  |  Newest

<< Home  |  Tech

Cuts token usage 60-90% on common dev commands

AreaTech
AI usedRTK (Rust Token Killer)
Sourcer/BuildWithClaude
Posted2026-05-23

The move

Install and use the RTK CLI proxy to filter and compress command output before it reaches Claude's context window.

Steps

  1. Install the RTK CLI tool from the official repository
  2. Configure your development environment to route commands through the RTK proxy
  3. Run standard development commands like git status or npm install through RTK
  4. Monitor your token usage to verify the reduction

Prompt for your AI

Act as a technical filter. I am going to provide the output of [insert command, e.g., 'npm install']. Summarize the output to include only the essential information required for a developer to understand the status, removing all redundant logs, timestamps, and unnecessary metadata to minimize token count.

What happened

Developers using Claude Code often face high token usage when running standard commands like git status or npm install. RTK acts as a CLI proxy that filters and compresses this output. This reduces the amount of data sent to the model, cutting token usage by 60-90%.

Watch out

Aggressive filtering might remove error messages or warnings necessary for debugging. Always verify the output if a command fails unexpectedly.

Give it to your agent

Read https://howtheyuse.ai/p/cuts-token-usage-60-90-on-common-dev-commands.md and help me do this.

Sources



Last updated November 26, 2026.