rtk-optimizer

Solid

Optimize command outputs with RTK (Rust Token Killer) for 70% token reduction

Data & Documents 183 stars 39 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
75
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

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