rtk-optimizer
SolidOptimize command outputs with RTK (Rust Token Killer) for 70% token reduction
Data & Documents 183 stars
39 forks Updated 1 months ago MIT
Install
Quality Score: 91/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# RTK Optimizer Skill
**Purpose**: Automatically suggest RTK wrappers for high-verbosity commands to reduce token consumption.
## How It Works
1. **Detect high-verbosity commands** in user requests
2. **Suggest RTK wrapper** if applicable
3. **Execute with RTK** when user confirms
4. **Track savings** over session
## Supported Commands
### Git (>70% reduction)
- `git log` → `rtk git log` (92.3% reduction)
- `git status` → `rtk git status` (76.0% reduction)
- `find` → `rtk find` (76.3% reduction)
### Medium-Value (50-70% reduction)
- `git diff` → `rtk git diff` (55.9% reduction)
- `cat <large-file>` → `rtk read <file>` (62.5% reduction)
### JS/TS Stack (70-90% reduction)
- `pnpm list` → `rtk pnpm list` (82% reduction)
- `pnpm test` / `vitest run` → `rtk vitest run` (90% reduction)
### Rust Toolchain (80-90% reduction)
- `cargo test` → `rtk cargo test` (90% reduction)
- `cargo build` → `rtk cargo build` (80% reduction)
- `cargo clippy` → `rtk cargo clippy` (80% reduction)
### Python & Go (90% reduction)
- `pytest` → `rtk python pytest` (90% reduction)
- `go test` → `rtk go test` (90% reduction)
### GitHub CLI (79-87% reduction)
- `gh pr view` → `rtk gh pr view` (87% reduction)
- `gh pr checks` → `rtk gh pr checks` (79% reduction)
### File Operations
- `ls` → `rtk ls` (condensed output)
- `grep` → `rtk grep` (filtered output)
## Activation Examples
**User**: "Show me the git history"
**Skill**: Detects `git log` → Suggests `rtk git log` → Explains 92.3% token saving...
Details
- Author
- majiayu000
- Repository
- majiayu000/claude-skill-registry
- Created
- 5 months ago
- Last Updated
- 1 months ago
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Data & Documents Listed
rtk-optimizer
Optimize command outputs with RTK (Rust Token Killer) for 70% token reduction
43 Updated 3 months ago
diegosouzapw Data & Documents Listed
rtk-optimizer
Optimize command outputs with RTK (Rust Token Killer) for 70% token reduction
3 Updated 1 months ago
majiayu000 AI & Automation Solid
rtk-optimizer
Wrap high-verbosity shell commands with RTK to reduce token consumption. Use when running git log, git diff, cargo test, pytest, or other verbose CLI output that wastes context window tokens.
4,608 Updated 2 days ago
FlorianBruniaux DevOps & Infrastructure Listed
claws-rtk-eval
Evaluation and integration design for the rtk token-compression CLI in Claws workers — ADOPT decision, v0.8.4 integration plan, and re-evaluation triggers.
9 Updated 2 days ago
neunaha AI & Automation Solid
performance
CLI performance optimization - startup time, memory usage, token savings benchmarking
57,145 Updated yesterday
rtk-ai