Automatically routes bash commands through rtk, reducing token consumption by 60–90% for 100+ commands: git, ls, cat, grep, cargo, pytest, docker, kubectl, aws, and many more.
- Bash interception — when the LLM calls
bashwith a command,rtkdecides viartk rewritewhether to rewrite the invocation. If yes — the command is automatically replaced withrtk <command>. Unsupported commands pass through unchanged. rtktool — the LLM can explicitly callrtkfor compact output./rtkcommand — manual invocation from chat.- Auto-install — if
rtkis not on the system, the latest release is downloaded from GitHub for the system architecture.
zot ext install https://github.com/vorons/zot-rtkLocal install:
zot ext install ./zot-rtkOr run ad-hoc:
zot --ext ./zot-rtkzot-rtk/
├── extension.json # manifest
├── main.go # source code
├── go.mod # Go module
└── README.md
cd zot-rtk && go build -o zot-rtk .- Go 1.22+ (to build)
- zot 0.2.x
- Linux/macOS/Windows