sderosiaux

Rtk Lite Cc — AI skill for Claude Code

AI community

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 ★
  • Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
  • Browserwing — BrowserWing turns your browser actions into MCP commands Or Claude Skill, allowing AI agents to control browse 1.2k ★

README

rtk-lite-cc

CLI proxy that compresses command outputs before they eat your Claude Code context window.

crates.io CI License: MIT


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:

  1. Installs ~/.claude/hooks/rtk-rewrite.sh
  2. 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