← 返回 Skills 市场
266
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install rtk-integration
功能描述
Integrate RTK (Rust Token Killer) to reduce LLM token consumption by 60-90% on shell commands. Use when setting up RTK for the first time, checking token sav...
安全使用建议
This skill appears to do what it says, but exercise caution before installing: 1) Inspect the remote installer before running it — avoid blindly piping curl to sh. Open https://github.com/rtk-ai/rtk and review the install.sh content and repository ownership. 2) Prefer installing via trusted package managers (Homebrew, pinned GitHub release, or cargo) rather than the branch raw curl. 3) Back up your shell profile (~/.bashrc, ~/.zshrc) before allowing the script to append PATH lines. 4) Consider testing in a sandbox or VM first; don't install on sensitive production machines until you verify the upstream project. 5) Be aware that always using RTK will suppress raw command outputs by design — keep the ability to run raw commands when full output is needed for debugging or security checks. If you cannot verify the upstream repository or installer, treat this as high-risk and do not run the installer.
功能分析
Type: OpenClaw Skill
Name: rtk-integration
Version: 1.1.0
The skill installs a third-party utility called 'RTK' (Rust Token Killer) via a remote shell script (curl | sh from github.com/rtk-ai/rtk) and aggressively instructs the agent to wrap nearly all shell commands (git, npm, docker, etc.) with this binary. While the stated goal of reducing token consumption is plausible, this pattern creates a high-risk interception point for all agent activity and command output. The setup script (scripts/rtk-setup.sh) also modifies user shell profiles (.bashrc/.zshrc) for persistence, and the SKILL.md contains instructions for the agent to execute the installation immediately upon skill activation.
能力评估
Purpose & Capability
The skill's declared purpose (install and use an RTK wrapper to compress shell output) matches the files and instructions: it ships a setup script, docs mapping raw commands to rtk-prefixed equivalents, and guidance to prefer rtk. Nothing requested is unrelated to installing or using an output-filtering CLI.
Instruction Scope
SKILL.md instructs the agent to run the included setup script immediately on install and to always prefer rtk-prefixed commands. The guide also encourages automatic use across many command classes (git, docker, tests) which will suppress raw outputs by design. The install instruction (curl ... | sh) is the main scope concern because it grants broad runtime discretion (execute remote code) and the skill will add PATH lines to user profile files.
Install Mechanism
There is no formal install spec; the provided script uses curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh which executes a remote script directly. Pulling and piping a branch's raw installer is higher risk (content can change) compared with pinned releases or package-managed installs. The script also writes PATH exports into user dotfiles, which is persistent system modification.
Credentials
The skill requests no credentials or environment variables. The only system changes are adding rtk to PATH and running the installer; those are consistent with installing a CLI. No unrelated secrets or config paths are requested.
Persistence & Privilege
The skill does not request always:true and does not request agent-wide privileges, but the setup script persists a PATH export to the user's shell profile (modifies dotfiles) and installs a binary. This is expected for a CLI integration but is a persistent change the user should approve.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install rtk-integration - 安装完成后,直接呼叫该 Skill 的名称或使用
/rtk-integration触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
v1.1.0: Auto-install RTK on skill setup. Script now handles PATH, detects shell profile (.zshrc/.bashrc/.profile), works on Linux and macOS.
v1.0.0
Initial release: RTK token optimization for any LLM agent. Includes full command reference, config guide, setup script, and rtk gain reporting.
元数据
常见问题
RTK Integration 是什么?
Integrate RTK (Rust Token Killer) to reduce LLM token consumption by 60-90% on shell commands. Use when setting up RTK for the first time, checking token sav... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 266 次。
如何安装 RTK Integration?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install rtk-integration」即可一键安装,无需额外配置。
RTK Integration 是免费的吗?
是的,RTK Integration 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
RTK Integration 支持哪些平台?
RTK Integration 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 RTK Integration?
由 Mikhail(@davydenkovm)开发并维护,当前版本 v1.1.0。
推荐 Skills