rtk-skill
Installation
SKILL.md
RTK Skill (Rust Token Killer)
RTK is a CLI proxy that filters and compresses command output before it reaches the LLM (typically 60–90% token savings).
Resolve the RTK command (read first)
Use conventional paths only — never machine-specific absolute paths like /Users/... or C:\Users\....
On Windows, tools deploy to %USERPROFILE%\.terrain\bin\ (also written as ~/.terrain/bin/ in Git Bash / PowerShell 7+). Binaries use .exe extensions; PATHEXT resolves rtk → rtk.exe.
| Priority | Command prefix | When |
|---|---|---|
| 1 | ~/.terrain/bin/rtk |
Terrain env integration or desktop app (see existence check below) |
| 2 | bunx @terrain-ai/rtk |
No Terrain install; needs network once |
| 3 | npx @terrain-ai/rtk |
Same as bunx if Bun unavailable |
Optional manifest (local, gitignored): .terrain/env/agent-tools.json — same ~/.terrain/bin/… conventions.
Existence check (cross-platform):