Overview
add-rtk is an open-source testing skill for Claude Code and compatible agents, published by nanocoai. Its author describes it as: “Install rtk token-compression proxy into agent containers. Routes Bash tool calls through rtk for 60–90% token savings on dev commands (git, cargo, pytest, docker, kubectl, etc.).”. The project has 31k stars on GitHub and is available under the MIT license. Add it to your setup with `git clone https://github.com/nanocoai/nanoclaw ~/.claude/skills/add-rtk`.
What add-rtk does
Install rtk — a CLI proxy delivering 60–90% token savings on common dev commands (git, cargo, pytest, docker, kubectl, etc.) — and wire it transparently into agent containers via the Claude Code `PreToolUse` hook.
Best for
What’s inside
The SKILL.md for add-rtk is organised into these sections:
- What this sets up
- Integration tests
- Step 1 — Install rtk on the host
- Step 2 — Identify the target agent group
- Step 3 — Mount rtk into the container config
- Step 4 — Add the PreToolUse hook to settings.json
- Step 5 — Restart the container
- Verify
- Troubleshooting
- rtk: command not found inside the container
- Hook not firing
- Binary won't execute — permission denied
Installation
Add add-rtk to your agent with:
git clone https://github.com/nanocoai/nanoclaw ~/.claude/skills/add-rtk Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — declared in the repository topics
License
add-rtk is published under the MIT license.
Strengths
- Clear MIT license — safe to read and adapt within its terms
- Ships in nanocoai/nanoclaw, an established project with 30,542 GitHub stars
- Works with Claude Code
- Actively maintained — repository updated in the last 90 days
Author
Topics
Frequently asked questions
- What does add-rtk do?
- Install rtk token-compression proxy into agent containers. Routes Bash tool calls through rtk for 60–90% token savings on dev commands (git, cargo, pytest, docker, kubectl, etc.).
- How do I install add-rtk?
- Run git clone https://github.com/nanocoai/nanoclaw ~/.claude/skills/add-rtk in your agent, then reload your skills. Review the source at https://github.com/nanocoai/nanoclaw before installing.
- Is add-rtk free to use?
- Yes. add-rtk is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Which agents does add-rtk work with?
- add-rtk lists Claude Code — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does add-rtk come from?
- add-rtk ships inside nanocoai/nanoclaw, a repository that contains 41 catalogued skills in total. The repository's 30,542 GitHub stars apply to that whole collection, not to this skill on its own.