← Back to Skills Marketplace
radicalgeek

cli output compression for token savings with rtk

by Mark Jones · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
276
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rtk
Description
RTK (Rust Token Kit) - CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Use rtk to wrap commands like git, ls, cat, grep, test...
Usage Guidance
This skill's core function (compressing CLI output) is reasonable, but exercise caution before relying on it: 1) The bundle contains no binary or install provenance — do not download or run an unknown 'rtk' binary without verifying its source (official repo, checksums, signatures). 2) Avoid running features that read environment variables or tee logs (e.g., 'rtk env -f AWS', reading ~/.local/share/rtk/tee/*) until you confirm the binary is trustworthy; these can leak credentials. 3) If you install rtk, review and disable tracking/analytics and the tee/DB paths in its config, or point them to a safe location. 4) Don’t enable any auto-rewrite shell hooks system-wide unless you’ve audited their installer and code. 5) Prefer running commands without rtk or with 'rtk proxy' in a controlled test environment first to observe what the binary does. If you want to proceed safely, obtain the binary from an authoritative source, verify signatures/checksums, and audit its behavior in an isolated container.
Capability Analysis
Type: OpenClaw Skill Name: rtk Version: 1.0.0 The skill bundle provides documentation and instructions for 'RTK (Rust Token Kit)', a CLI utility designed to reduce LLM token consumption by wrapping and filtering the output of common development commands (e.g., git, ls, docker, kubectl). The instructions in SKILL.md guide the AI agent to use the 'rtk' prefix for shell operations to optimize context usage. While the tool acts as a proxy for sensitive commands and includes features like environment variable filtering and command history tracking, these behaviors are consistent with its stated purpose of token management. No malicious code, exfiltration logic, or harmful prompt injections were found in the provided files.
Capability Assessment
Purpose & Capability
The name/description match the instructions: this is a CLI wrapper that compresses command output. However, the skill is instruction-only and assumes an external Rust binary is installed; no install or provenance is provided (homepage/source unknown). The documentation also lists analytics, tracking, and env-filter features that are not strictly necessary for output compression and increase the attack surface.
Instruction Scope
SKILL.md explicitly tells users/agents to read tee logs (e.g., ~/.local/share/rtk/tee/...), to run commands that show env vars (rtk env -f AWS), and to use tracking/analytics commands (rtk gain, rtk proxy). Those instructions direct the agent to access potentially sensitive files and environment variables that are unrelated to simply summarizing visible CLI output, and they could cause secrets to be read and forwarded into LLM context.
Install Mechanism
No install spec is included (instruction-only), which minimizes immediate disk-write risk from the skill bundle itself. But the skill repeatedly assumes a single Rust binary is present and recommends installing or verifying it; because provenance is unknown (no official homepage/source provided in the package), obtaining that binary from an external source could be risky.
Credentials
The skill declares no required environment variables, but the docs advertise commands that read/filter environment variables (e.g., 'rtk env -f AWS') and reference config files and a tracking database. Reading AWS env vars or arbitrary env values is not justified by the core compression feature and could expose credentials; tracking/database paths could store sensitive command outputs.
Persistence & Privilege
always:false and no install change in this bundle are good. However the docs mention optional auto-rewrite hooks (which, if installed elsewhere, would persistently rewrite commands) and tracking that writes tee logs and a DB under user home/config. Those are optional features but would increase persistence and data collection if enabled by the external binary or by a separate hook installer.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rtk
  3. After installation, invoke the skill by name or use /rtk
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
RTK 1.0.0 – initial release! - Launches RTK, a Rust-based CLI wrapper for dev commands, reducing LLM token consumption by 60–90% - Supports popular commands including git, ls, read, grep, test and lint runners, docker, kubectl, and more - Implements smart output filtering: grouping, truncation, deduplication, and aggressive compression modes - Saves raw output on failures for troubleshooting; includes stats and history tracking commands - Fully self-contained binary, zero dependencies, minimal runtime overhead - Reference docs and usage examples included in SKILL.md
Metadata
Slug rtk
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is cli output compression for token savings with rtk?

RTK (Rust Token Kit) - CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Use rtk to wrap commands like git, ls, cat, grep, test... It is an AI Agent Skill for Claude Code / OpenClaw, with 276 downloads so far.

How do I install cli output compression for token savings with rtk?

Run "/install rtk" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is cli output compression for token savings with rtk free?

Yes, cli output compression for token savings with rtk is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does cli output compression for token savings with rtk support?

cli output compression for token savings with rtk is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created cli output compression for token savings with rtk?

It is built and maintained by Mark Jones (@radicalgeek); the current version is v1.0.0.

💬 Comments