add-rtk
Install rtk in NanoClaw containers to compress Bash output and cut agent tokens.
Install
See setup instructions on nanoclaw.devWhat it does
This skill installs rtk, a command-line proxy that compresses the output of common developer commands, into NanoClaw agent containers. It runs the rtk installer on the host, then mounts the resulting binary read-only into a chosen agent group's container so it appears at /usr/local/bin/rtk. A Claude Code PreToolUse hook, written into the group's shared settings.json, routes every Bash tool call through rtk, so filtering happens automatically rather than through project instructions.
It is intended for NanoClaw operators who run agents against git, cargo, pytest, docker, kubectl and similar commands and want fewer tokens spent on verbose output. Setup is manual: you list groups, add the mount with a host-only config command, confirm the host binary directory is in the external mount allowlist, edit settings.json with jq, and restart the container. Verification checks that the binary executes inside the container and that rtk gain reports savings.
The skill notes it has no in-tree integration test, since its effects are runtime mount and hook writes. Mounts are rejected from inside containers, and the hook only covers Bash calls in Claude Code, so other clients or non-Bash tools are unaffected.
Skill files
- REMOVE.md
- SKILL.md
Repository data
- Stars
- 31,150
- Last push
- Nov 24, 2026
- License
- MIT
- Archived
- No
Tools similar to add-rtk
FAQ
- What license does add-rtk use?
- MIT
- What files are included with add-rtk?
- REMOVE.md, SKILL.md
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/skills/add-rtk"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.