Loading...
Loading...
Optimize command outputs with RTK (Rust Token Killer) for 70% token reduction
npx skill4agent add florianbruniaux/claude-code-ultimate-guide rtk-optimizergit logrtk git loggit statusrtk git statusfindrtk findgit diffrtk git diffcat <large-file>rtk read <file>pnpm listrtk pnpm listpnpm testvitest runrtk vitest runcargo testrtk cargo testcargo buildrtk cargo buildcargo clippyrtk cargo clippypytestrtk python pytestgo testrtk go testgh pr viewrtk gh pr viewgh pr checksrtk gh pr checkslsrtk lsgreprtk grepgit logrtk git logfindrtk find "*.md" .rtk --version # Should output: rtk 0.16.0+# Homebrew (macOS/Linux)
brew install rtk-ai/tap/rtk
# Cargo (all platforms)
cargo install rtk# When user requests high-verbosity command:
1. Acknowledge request
2. Suggest RTK optimization:
"I'll use `rtk git log` to reduce token usage by ~92%"
3. Execute RTK command
4. Track savings (optional):
"Saved ~13K tokens (baseline: 14K, RTK: 1K)"# At session end
rtk gain # Shows total token savings for session (SQLite-backed)## Token Optimization
Use RTK (Rust Token Killer) for high-verbosity commands:
- git operations (log, status, diff)
- package managers (pnpm, npm)
- build tools (cargo, go)
- test frameworks (vitest, pytest)
- file finding and readinggit loggit statusfindgit diffread filedocs/resource-evaluations/rtk-evaluation.mdexamples/claude-md/rtk-optimized.md