pi-rtk-optimizer
RTK rewriting and output compaction for Pi
What it is
A Pi extension that rewrites bash commands to their RTK equivalents and compacts noisy bash, read and grep output, aiming to save context window while keeping the useful parts. It can also run in suggestion-only mode.
Good for
- Cut tokens
- Preview rewrites in suggestion mode
Install or run
pi install npm:pi-rtk-optimizerCommand as given in the project README. Read the repository before you run anything on your machine.
What you need
RTK CLI
Sources
- https://github.com/MasuRii/pi-rtk-optimizer (project README, read 13 Nov 2026)
- https://api.github.com/repos/MasuRii/pi-rtk-optimizer (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.