rtk-compress
Installation
SKILL.md
Save 60-90% of LLM tokens on shell commands, file reads, and test outputs.
This skill wraps rtk (Rust Token Killer) — a CLI proxy that filters and compresses command outputs before they reach your LLM context.
Commands Reference
Smart File Operations
rtk ls . # Token-optimized directory tree
rtk read file.rs # Smart file reading (compressed output)
rtk read file.rs -l aggressive # Signatures only (strips bodies)
rtk smart file.rs # 2-line heuristic code summary
Search & Diff
rtk find "*.rs" . # Compact find results
rtk grep "pattern" . # Grouped search results
rtk diff file1 file2 # Condensed diff
Related skills