Rtk Rewrite

Community (non-official) plugin that rewrites Hermes 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.

Good to know before installing

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. Community mirror of upstream's hooks/hermes/rtk-rewrite, not affiliated with rtk-ai. scripts/update.sh downloads the pinned RTK release binary (v0.49.0, checksum-verified).

From the plugin's catalog listing.

How to install

  1. Install it. Hermes asks for any API keys it needs, then asks whether to turn it on.
    hermes plugins install rtk-rewrite
  2. Said no? Turn it on later:
    hermes plugins enable rtk-rewrite
  3. Restart Hermes so it loads the plugin.

Some plugins also need a sign-in or settings: see Full setup & settings. Memory plugins ask whether to become your memory provider instead. Steps follow the official plugins guide (opens in a new tab).

Category
Cost, speed & monitoring
Maintained by
kerrz2020 (Community)
Needs
No API keys declared
Version
1.0.1
In the catalog
2026-09-26
GitHub stars
2

Full setup & settings ↗Source code ↗

More in cost, speed & monitoring

All cost, speed & monitoring plugins

New Hermes Agent updates every day on X. Follow @HermesWatcher

← All plugins