rtk-optimizer

Solid

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.

AI & Automation 4,608 stars 615 forks Updated 2 days ago CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
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
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
4 months ago
Last Updated
2 days ago
Language
TypeScript
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category