rtk-ai/rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 99
- Release rhythm 87
- Longevity 15
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 223
- days_rel: 7
- days_push: 7
- n_releases_24m: 81
Adoption not part of the score
77533 stars · 4875 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
RTK (Rust Token Killer) is a CLI proxy that intercepts shell commands and compresses their output before it reaches an LLM agent's context window, cutting bash output tokens by 60-90%. It ships as a single zero-dependency Rust binary supporting 100+ common commands like git, cargo test, pytest, grep, and ls.
Use cases
- reduce token costs when using AI coding agents like Claude Code or Cursor
- prevent context window overflow during long agent coding sessions
- compress git diff and git status output for LLM consumption
- trim test runner output to failures only for AI agents
- lower API bills on pay-per-token coding assistants
- make CLI output more compact for human reading too
When to choose
- you use AI coding agents (Claude Code, Aider, Cursor, Gemini CLI) that read lots of shell output
- you hit context limits or rate limits during agent sessions
- you pay per token and want to cut CLI noise from your bill
- you want a fast, zero-dependency single-binary tool with <10ms overhead
When to avoid
- you need full, unabridged command output for debugging or auditing
- your workflow depends on parsing exact raw output formats from commands
- you don't use LLM agents and aren't bothered by verbose CLI output
- you need guaranteed identical output semantics from wrapped commands
Facets
cli-tool · maturity active
cli developer-tools llm-inference compression middleware developer-tools large-language-models cli cross-platform windows token-optimization agentic-coding claude-code cost-reduction rust-binary cli-proxy command-line ai-agents macos linux
5 sources
- readme: https://github.com/rtk-ai/rtk · fetched 2026-08-28 · 088c508d172e
- homepage: https://www.rtk-ai.app · fetched 2026-08-28 · 5615da3daf6e
- site_page: https://www.rtk-ai.app/guide/ · fetched 2026-08-28 · af37812a8752
- site_page: https://www.rtk-ai.app/guide/getting-started/installation/ · fetched 2026-08-28 · 34b4331aceee
- site_page: https://www.rtk-ai.app/guide/getting-started/quick-start/ · fetched 2026-08-28 · b379610d89d5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rtk-ai/rtk | main | 78 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem