Use `rust-token-killer` (`rtk`) as the default shell-output optimization layer for noisy command-line workflows.
Use rust-token-killer (rtk) as the default shell-output optimization layer for noisy command-line workflows.
Repository:
RTK reduces token-heavy command output before it reaches the agent.
Use it by default for:
rtk is installed, prefer it for relevant shell commands.rtk explicitly.rtk is unavailable, fall back to the normal command instead of blocking the task.rtk init -gExamples:
rtk read <file>rtk grep <pattern>rtk find <glob> <path>rtk lsrtk git status, rtk git diff, rtk git logrtk gh pr view, rtk gh issue listrtk read, rtk grep, rtk find, rtk lsrtk vitest run, rtk test npm test, rtk playwright testrtk tscrtk lint, rtk prettier --check .rtk next buildrtk prisma ...rtk curl, rtk docker ..., rtk kubectl ...When validating work, prefer RTK-wrapped versions of noisy commands when available:
rtk lintrtk tscrtk test npm testrtk next build