Rtk Lite Cc — AI skill for Claude Code
Lightweight CLI proxy that minimizes LLM token consumption — Claude Code only fork of rtk-ai/rtk.
How to install Rtk Lite Cc
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sderosiaux/rtk-lite-cc and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Rtk Lite Cc does
Lightweight CLI proxy that minimizes LLM token consumption — Claude Code only fork of rtk-ai/rtk.
Alternatives in AI
- Opencodex — Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama… 12.3k ★
- DontFeedTheAI — Transparent anonymization proxy for AI-assisted pentesting 654 ★
- Graymatter — 30 sec to give your AI agents persistent memory 460 ★
README
CLI proxy that compresses command outputs before they eat your Claude Code context window.
Stripped-down fork of [rtk-ai/rtk](https://github.com/rtk-ai/rtk). Same filters, none of the overhead.
Single Rust binary, ~3.8 MB, <10ms overhead. No database, no network calls, no telemetry.
How it works
Claude Code runs "git status"
|
v
Hook intercepts (PreToolUse)
|
v
"rtk rewrite" returns "rtk git status"
|
v
rtk executes, filters output, prints compressed version
|
v
Claude Code sees ~80% fewer tokens
Claude Code doesn't know RTK exists. The hook rewrites commands silently before execution.
Install
# Pre-built binary (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/sderosiaux/rtk-lite-cc/master/install.sh | sh
# From crates.io
cargo install rtk-lite-cc
# From source
cargo install --git https://github.com/sderosiaux/rtk-lite-cc
Then:
rtk init -g # install hook + patch settings.json
rtk init -g --auto-patch # same, skip the prompt
This does two things:
- Installs
~/.claude/hooks/rtk-rewrite.sh - Adds a PreToolUse entry in
~/.claude/settings.json
To undo: `rtk init -g --uninstall`
Usage
After `rtk init -g`, commands are transparently rewritten:
git status --> rtk git status (filtered)
cargo test --> rtk cargo test (only failures)
docker p
Related Skills
Snip
CLI proxy that reduces LLM token usage by 60-90%. Declarative YAML filters for Claude Code, Cursor, Copilot, G
Openclaw Snip
OpenClaw plugin - reduce LLM token consumption by 60-90% by filtering CLI output through snip
Crustoxy
Unlimited coding with Claude Code on ANY LLM. A Blazing-Fast Rust proxy featuring auto-routing and load balanc
Cc Go Proxy
Run Claude Code on ChatGPT Codex (OAuth), OpenAI-compatible APIs and z.ai GLM: a headless Go launcher + proxy
Openproxy
Smart AI proxy router that connects Claude Code, Cursor, Codex, Copilot, and 50+ coding tools to 40+ AI provid
SynapseCode
Ultra-fast Code Graph & AST Pruning MCP Server for LLMs. Reduces context token consumption by 75%-90% in Claud
Related Agents
Rust Rtk
Expert Rust developer for RTK - CLI proxy patterns, filter design, performance optimization
Context Memory Manager
Context Window & Token Optimization Specialist. Manages token budgets, compresses prompts (RTK/Caveman), imple
Observer Lite
Lightweight code quality observer. Runs 4 quick checks: secrets scan, test gaps, silent failures, debt markers