add-rtk
仓库创建 2026年1月31日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由
显著降低调用成本,适合频繁运行命令的开发场景
▸ 风险提示
会在宿主与容器间注入二进制并修改执行路径
这个 Skill 做什么
在代理容器中安装 rtk 代理,为常见开发命令节省 60–90% token。
在代理容器里安装 rtk 代理,把像 git、cargo、pytest、docker、kubectl 这样的命令通过 rtk 转发,从而节省约 60–90% 的 token。开发调试或频繁运行这些命令时特别有用,能显著降低模型调用成本。安装后会透明挂载在容器里并通过 Claude 的 PreToolUse 钩子生效。
▸ 展开 SKILL.md 英文原文
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.).
3.0w
Stars
1.3w
Forks
40
仓库内 Skill
+241
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/nanocoai/nanoclaw/main/.claude/skills/add-rtk/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/nanocoai/nanoclaw/main/.claude/skills/add-rtk/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Add rtk Install [rtk](https://github.com/rtk-ai/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. ## What this sets up - `rtk` binary at `~/.local/bin/rtk` on the host - `~/.local/bin/rtk` mounted read-only at `/usr/local/bin/rtk` inside the target agent group's containers - `PreToolUse` hook in the agent group's `settings.json` so every Bash call is automatically filtered through rtk — no CLAUDE.md instructions needed ## Integration tests This skill has **no in-tree integration test** by design. Its only functional reach-ins are
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有