rtk — сжатие токенов для Bash-команд
★ 7.5 · general
add-rtk is a Claude Code skill that installs rtk — a CLI token-compression proxy — and wires it into agent containers to deliver 60–90% token savings on common dev commands such as git, cargo, pytest, docker, and kubectl. The skill places the rtk binary at `~/.local/bin/rtk` on the host, mounts it read-only into the target agent group's containers, and inserts a `PreToolUse` hook into the group's `settings.json` so every Bash call is silently intercepted and filtered through rtk with no CLAUDE.md changes required. Setup follows four idempotent steps: binary installation via the official install script, mounting via `ncl groups config add-mount`, hook injection using `jq`, and a container restart. It's the right tool for teams looking to cut token costs and latency in agentic sessions where tooling output dominates context.
- #rtk
- #token-compression
- #bash
- #optimization
- #dev-tools