Skip to content

zogzog26/rtk-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RTK (Reduced Token Killer) for Pi

Token-optimized CLI proxy hook for badlogic/pi-mono.

This extension doesn't re-implement RTK — it delegates to the RTK binary, making it lightweight and fast. You'll automatically benefit from RTK updates without needing to update this extension.

Automatically intercepts and rewrites bash commands using RTK, saving 60-90% tokens on common dev operations.

RTK Token Savings

Learn more at rtk-ai.app.

Installation

pi install https://github.com/zogzog26/rtk-pi

Prerequisites

Install the RTK binary:

brew install rtk

Make sure rtk is in your PATH.

Usage

When Pi executes bash commands, RTK will automatically intercept and optimize them.

Run rtk gain to check on your token savings.

Uninstall

pi uninstall https://github.com/zogzog26/rtk-pi

License

MIT

About

Lightweight Pi extension to the RTK CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Uses's RTK's single Rust binary with zero dependencies.

Topics

Resources

Stars

Watchers

Forks

Contributors