Who it is forA developer whose agent burns context on long test and git output.
The problemVerbose command output fills the context window.
The outcomeSmaller command outputs and a dashboard of savings.
What you need first
- macOS, Linux or Windows
- A supported coding agent
Steps
- Install with
brew install rtk(orwinget install rtk-ai.rtk) - Hook it into Claude Code with
rtk init -g - Check with
rtk --versionandrtk gain - Work as usual and watch the savings
Prompt for your agent
Install rtk-ai/rtk, run `rtk init -g` for Claude Code, do a session with tests and git commands, then report `rtk gain` savings.
Caveat. The full and OSS editions install a binary with the same name, so install only one.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for rtk-ai/rtk and "Cut your coding agent's token use from command output"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer