vibehacker

RTK

Compresses CLI output to reduce AI coding agent token usage

RTK cover
RTK screenshot 2RTK screenshot 3RTK screenshot 4

About RTK

RTK is an open-source Rust tool that compresses command-line output before it reaches an AI coding agent's context window. It is designed for developers using command-line workflows with tools such as Claude Code, Cursor, Aider, Gemini CLI, OpenAI Codex, Cline, Windsurf, and GitHub Copilot.

The tool includes output handling for commands such as cargo test, pytest, git diff, git status, git log, grep, find, and ls. The site reports measurements from more than 2,900 commands, including an average of 89% noise removed. RTK is licensed under Apache 2.0 and has a Pro offering for teams.

Highlights

  • Rust-based command-output compression
  • Reported 60–90% reduction in Claude Code token usage
  • Supports multiple AI coding agents and CLI commands
  • Includes rtk gain for viewing token savings
  • Open source under the Apache 2.0 license

Used RTK?

Log in to write a review.

No reviews yet

Used it? Write the first review.

Similar tools

View all

ECC

Open agent harness for coding workflows, GitHub automation, and security