# rtk-rewrite

Community (non-official) plugin that rewrites Ulpi terminal commands through RTK (rtk-ai/rtk, Apache-2.0) before execution.

- Type: Plugin
- Version: 1.0.1
- Updated: 22 Nov 2026
- Publisher: kerrz2020
- Category: Tools
- Licence: Apache-2.0

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Community (non-official) plugin that rewrites Ulpi terminal commands through RTK (rtk-ai/rtk, Apache-2.0) before execution, so the model sees compact output instead of raw command spam — cutting tokens on common dev commands. Adds a fail-open pre_tool_call hook (2s timeout, unexpected exits leave the command untouched), an optional desktop pane, and update scripts.

Disclosure — every terminal tool command is passed to the rtk binary found on PATH (rtk-ai/rtk, installed separately) and replaced with rtk's rewrite before approval and execution; fail-open when rtk is missing or errors.

## More in Tools

- [rtk-rewrite-docker](https://www.ulpi.io/en/marketplace/plugins/rtk-rewrite-docker): Community plugin that rewrites Ulpi terminal commands through RTK (rtk-ai/rtk, Apache-2.0) so the model sees compact output.
- [rubal-oracle](https://www.ulpi.io/en/marketplace/plugins/rubal-oracle): Say a goal in Ulpi chat with a deadline.
- [Runa](https://www.ulpi.io/en/marketplace/plugins/runa): Bring your Runa meetings into Ulpi: prep for what's next, recap decisions and who owes what, draft the follow-up, and find the exact words behind a claim.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
