by rtk-ai
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
# Add to your Claude Code skills
git clone https://github.com/rtk-ai/rtkGuides for using ai agents skills like rtk.
Last scanned: 4/16/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-04-16T06:02:25.649Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}See how rtk compares with popular alternatives.
① Install & forget: up to 90% less command output.
Test runs, diffs, logs and builds are compressed before your agent reads them. 100+ commands, under 25 ms per command, no config, nothing changes in how you work. rtk gain shows what you saved.
② Go further with pipelines, as far as you take it. Hand heavy reads to a cheaper model, compress more than bash, clean the API traffic without breaking the prompt cache. One agent-agnostic file: start from a built-in, install one someone shared, or write and share your own. The community built the bash compressor 85k developers starred. Now it is building pipelines: the best one listed today cuts total cost by 20.2% in its author's benchmark.
Agents across the whole company? RTK Pro is the control layer for every AI agent: one gateway for every AI call, costs, secrets and personal data, policies, team catalog, audit. Discover RTK Pro ↓
macOS, and Linux with Homebrew
brew install rtk
Windows, with winget
winget install rtk-ai.rtk
Linux, macOS, WSL, or Git Bash on Windows, with the install script
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh
Then plug it into your agent
rtk init -g # Claude Code; every other agent: see "Works in your agent"
Restart your agent. That's it: when it runs git status, RTK runs rtk git status and the agent reads a 3-line summary instead of 40 lines. Nothing to learn, nothing to call, and upgrading RTK never changes this.
Another project named "rtk" exists on crates.io. Check you have this one:
rtk gainmust show the savings dashboard, not "command not found".Cargo, pre-built binaries, native Windows, WSL and uninstall: Installation guide · per-agent setup and
--dry-run: Quick Start
rtk gainEvery command RTK touches is counted on your machine. One command shows what it saved, today and since you installed it.
rtk gain # Summary stats
rtk gain --graph # ASCII graph (last 30 days)
rtk gain --history # Recent command history
rtk gain --daily # Day-by-day breakdown
rtk gain --all --format json # JSON export for dashboards
rtk discover # Find missed savings opportunities
rtk discover --all --since 7 # All projects, last 7 days
rtk session # Show RTK adoption across recent sessions
What the numbers mean. The compressor reduces the command output your agent reads, which is one part of the input tokens, which are one part of the bill: a 90% cut in command output is not a 90% cut in cost. Token counts are estimated as bytes / 4, so the percentages are reliable and the absolute numbers are approximate.
After a week of data, rtk gain ends with one line about RTK Pro, at most once a day and only on a terminal. pro_hint = false under [display] in config.toml turns it off.
Full explanation: How RTK Savings Work · attribution, the live dashboard and export formats: Token Savings Analytics
The part 85k developers starred. Built by 200+ contributors, written against real command output, and every filter has to cut at least 20% to ship.
| Operation | What the agent reads |
|---|---|
cargo test / npm test / pytest / go test |
Failures only, with their assertion; passing tests collapsed to a count |
git status / git diff / git log |
Compact status, reduced diff context, one line per commit |
git add/commit/push |
A confirmation line instead of progress output |
ls / tree / grep / rg |
Trees with counts, matches grouped by file, long lines cut |
ruff check / eslint / cargo clippy |
Grouped by rule and file |
docker ps / kubectl |
Essential fields only |
100+ commands across Git, GitHub CLI, Cargo/Rust, JavaScript (npm, pnpm, vitest, jest, tsc, Next.js, Angular, Playwright, Prisma), Python (ruff, pytest, mypy, pip), Go (go test, golangci-lint), Ruby, .NET, JVM (Gradle, Maven), PHP, Docker, Kubernetes, AWS, Terraform, and the file/search builtins. Every command and its filter: What RTK Optimizes
Three promises
rtk bypass runs any command unfiltered, still tracked in rtk gain:rtk bypass git log --oneline -20 # full git log, no truncation
rtk bypass npm install express # raw npm output
The hook rewrites shell commands. Built-in tools such as Read, Grep and Glob pass through untouched out of the box; in Claude Code, a pipeline compresses them too (see Pipelines below).
Does RTK break the prompt cache? No: output is filtered once, before it enters the conversation. Details.
Out of the box, RTK compresses command output and stops there. A pipeline is how you ask it for more: one small file that tells RTK what to do with what your agent reads and sends. No file means the compressor above and nothing else; a pipeline adds one thing at a time, and you can take it back out.
rtk is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by rtk-ai. CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies. It has 87,775 GitHub stars.
Yes. rtk passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/rtk-ai/rtk" and add it to your Claude Code skills directory (see the Installation section above).
rtk is primarily written in Rust. It is open-source under rtk-ai on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh rtk against similar tools.
No comments yet. Be the first to share your thoughts!
Based on votes and bookmarks from developers who liked this skill