Fetching from the wire…
Public story · 2026-06-28 · source-backed
This is the single highest-leverage spend cut I've found for daily Claude Code users, and it's one command.
Run rtk init --global (or rtk init -g) and it installs a PreToolUse hook in Claude Code that transparently rewrites your Bash calls to their rtk equivalents at the proxy layer, before execution (RTK Docs). So git status quietly becomes rtk git status, your test runner's wall of output gets compressed, grep stops dumping 400 lines into the context window. The agent keeps the same signal. You pay a fraction of the tokens. The claimed range is 60 to 90 percent savings on noisy commands, and zero code changes on your side.
Why this matters more than it sounds: if you run a CLI-driven pipeline that fires hundreds of commands per session, the test output and git noise are a huge chunk of your token spend, and almost none of it carries information the model needs. You're paying full price to feed an agent the same "All checks passed" formatting 50 times a day. I run a daily research pipeline on the Claude CLI and the command output is genuinely a meaningful line item.
This connects to the bigger pattern everyone's circling. CNBC reported enterprise AI spend is rotating away from maximizing token throughput toward cost-efficiency, the "tokenmaxxing to efficiency" shift (CNBC). OpenAI is reportedly weighing drastic token price cuts to win developers back from Claude Code. The whole market is repricing around efficiency rather than raw size, and rtk-ai/rtk trending is the bottom-up version of the same move.
One honest caveat. A transparent rewrite layer between your agent and the shell is a thing you should understand before you trust it globally. Read what it rewrites. But the leverage here is real, and "compress the Bash output the agent never needed in full" is the kind of free win that's been sitting in plain sight.
Each link below shares sources, entities, or timing with this story.
Claude Code criticizes Windows / Shared entities / Same source domain / Shared topic / What happened next
Linked by a graph relationship (Claude Code criticizes Windows); both cover Bash, Claude Code, CLI, PreToolUse; reported by the same outlet (github.com).
Codex competes with Claude Code / Shared entities / Same source domain / Shared topic / Earlier coverage / Tension
Linked by a graph relationship (Codex competes with Claude Code); both cover CLAUDE, Claude Code, CLI, OpenAI; reported by the same outlet (github.com).
Uber uses Claude Code / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Uber uses Claude Code); both cover Claude Code, CLI, Install RTK; reported by the same outlet (github.com).
Codex competes with Claude Code / Shared entities / Same source domain / Shared topic / What happened next
Linked by a graph relationship (Codex competes with Claude Code); both cover CLAUDE, Claude Code, CNBC, OpenAI; reported by the same outlet (cnbc.com).
Claude Code competes with Cursor / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Claude Code competes with Cursor); both cover Bash, Claude Code, CLI; reported by the same outlet (github.com).
Anthropic released Claude Code / Shared entities / Shared topic / Earlier coverage
Linked by a graph relationship (Anthropic released Claude Code); both cover Claude, Claude Code, CLI, OpenAI; overlapping topics (agent, claude, code, same).
Anthropic released Claude Code / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Anthropic released Claude Code); both cover Claude, Claude Code, CNBC, OpenAI; reported by the same outlet (cnbc.com).
Codex competes with Claude Code / Shared entities / Same source domain / Shared topic / What happened next
Linked by a graph relationship (Codex competes with Claude Code); both cover Claude Code, CLI, OpenAI; reported by the same outlet (github.com).