dsh-rtk
Compresses shell output before the model sees it via the local `rtk` CLI: the master switch follows rtk readiness unless set, `prefix` shadows `bash` per agent and asks `rtk rewrite` for an equivalent command, and the opt-in `pipe` form filters a finished result through `rtk pipe`; compound commands are rewritten segment by segment, small or low-gain output passes through, and a guard refuses an empty result, success claimed over failures, a dropped commit hash and `+N more` folded listings, with stderr and the exit marker reattached; every failure falls back to the original command and output, and a settings card reports command counts, saved tokens and a per-filter chart via the official Typert Remote namespace. Requires `rtk` 1.0+ on `PATH`; without it the plugin loads and compresses nothing.
Overview
Compresses shell output before the model sees it via the local `rtk` CLI: the master switch follows rtk readiness unless set, `prefix` shadows `bash` per agent and asks `rtk rewrite` for an equivalent command, and the opt-in `pipe` form filters a finished result through `rtk pipe`; compound commands are rewritten segment by segment, small or low-gain output passes through, and a guard refuses an empty result, success claimed over failures, a dropped commit hash and `+N more` folded listings, with stderr and the exit marker reattached; every failure falls back to the original command and output, and a settings card reports command counts, saved tokens and a per-filter chart via the official Typert Remote namespace. Requires `rtk` 1.0+ on `PATH`; without it the plugin loads and compresses nothing.
Installation
Version compatibility
Compatibility is unconfirmed. Check the project documentation for supported versions.
Installation notes
- May run terminal commands