← Back to Skills Marketplace
125
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install slash-tokens
Description
CLI proxy that reduces LLM token consumption by 60-90%. Prefix any dev command with 'rtk' to get filtered, compact output. Use for all Bash commands to save...
Usage Guidance
Do not pipe the remote install script to bash without verification. Before installing: 1) Verify the canonical repository and install URL (Cargo.toml repository vs SKILL.md curl URL mismatch). 2) Inspect install.sh in that authoritative repo (or build from source) instead of running it directly. 3) Check telemetry & analytics code (src/core/telemetry.rs, scripts) and determine whether you can opt out; verify what endpoints it calls. 4) Be aware rtk stores a global history DB at ~/.local/share/rtk/history.db (contains raw outputs/estimates) and has commands to export/publish that data — treat it as potentially sensitive. 5) Note the hook auto-rewrite behavior: if you need guarantees the original command runs, use verbose/proxy modes or disable hooks; confirm defaults before using in CI or on machines with sensitive commands. If you want to proceed, prefer building/installing from a verified source (git clone the trusted repo and cargo build / inspect scripts) and audit the install.sh and telemetry endpoints first.
Capability Analysis
Type: OpenClaw Skill
Name: slash-tokens
Version: 0.34.3
The slash-tokens skill bundle is a CLI proxy utility designed to optimize LLM token usage by filtering and compacting command outputs. The code demonstrates strong security awareness, including a hook integrity verification system (src/hooks/integrity.rs) to detect tampering and a trust-gated model for project-local filter configurations (src/hooks/trust.rs) to prevent malicious repositories from manipulating what the AI agent sees. It also includes logic to specifically mask sensitive environment variables (src/cmds/system/env_cmd.rs). The telemetry is anonymized via salted hashing and is user-configurable. All behaviors are transparent and strictly aligned with the tool's stated purpose of cost reduction.
Capability Assessment
Purpose & Capability
The name/description (CLI proxy to reduce LLM tokens) matches the included source: many command filter modules, tracking/analytics, and a hook system. HOWEVER there are incoherences: the SKILL.md and registry say 'instruction-only / no install spec' while the package contains 100+ source files (Rust, scripts, an openclaw plugin). The SKILL.md's recommended install curl URL points at raw.githubusercontent.com/2233admin/rtk whereas Cargo.toml points to github.com/rtk-ai/rtk — this repository/URL mismatch is unexplained and suspicious.
Instruction Scope
SKILL.md tells users to run curl -fsSL https://raw.githubusercontent.com/2233admin/rtk/main/install.sh | bash (pipe-to-shell). The runtime docs also describe auto-rewrite hooks that can silently intercept and rewrite commands (Auto-Rewrite default). The skill documents writing/reading a SQLite DB at ~/.local/share/rtk/history.db and includes commands to export and publish those stats. While filtering output is expected, the instructions encourage executing an external install script and enable behavior (automatic command rewriting, global history collection) that can affect many commands and leak local outputs if telemetry/export is enabled.
Install Mechanism
No formal install spec is present in the registry entry but SKILL.md instructs users to curl|bash an install.sh hosted on raw.githubusercontent.com under a different username (2233admin). Running an arbitrary raw GitHub script is high-risk. The repo also contains an install.sh, Homebrew formula, and packaging metadata — but the mismatch in authoritative repository/URL should be resolved before trusting an automated install.
Credentials
The skill declares no required environment variables or credentials, which is consistent for a local CLI proxy. However source files and docs show persistent tracking (SQLite history at ~/.local/share/rtk/history.db), telemetry modules (src/core/telemetry.rs) and analytics (src/analytics/*) with HTTP dependency (ureq). That implies device identifiers/hashed salts and command outputs could be collected and (potentially) transmitted; the skill does not request credentials but it does collect command output and metadata globally across projects.
Persistence & Privilege
always:false (good), but the code and docs show persistent local state (history.db, salt files with 0600 perms) and a hook system that can auto-rewrite commands before execution. Auto-Rewrite is documented as the default with '100% adoption' (silent interception). Silent rewriting of user commands and persistent tracking raise the blast radius if telemetry/networking or malicious install sources are involved.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install slash-tokens - After installation, invoke the skill by name or use
/slash-tokens - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.34.3
Add origin story — how one dev cut their Claude Code bill from $200 to $40/month
v0.34.2
CLI proxy that slashes LLM token consumption by 60-90%. Prefix any command with rtk. 61 filters, single Rust binary, zero deps.
Metadata
Frequently Asked Questions
What is Slash Tokens?
CLI proxy that reduces LLM token consumption by 60-90%. Prefix any dev command with 'rtk' to get filtered, compact output. Use for all Bash commands to save... It is an AI Agent Skill for Claude Code / OpenClaw, with 125 downloads so far.
How do I install Slash Tokens?
Run "/install slash-tokens" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Slash Tokens free?
Yes, Slash Tokens is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Slash Tokens support?
Slash Tokens is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Slash Tokens?
It is built and maintained by 2233admin (@2233admin); the current version is v0.34.3.
More Skills