dsh-rtk: Compressing Shell Output with Local rtk Before Feeding It to the Model

Introducing @jayyuen66/dsh-rtk (v0.1.2, MIT), a DSH plugin maintained by JayYuen666. It leverages the local rtk CLI to perform prefix rewriting and pipe-based fallback compression on bash/pwsh output before it reaches the model, and includes a settings card that tracks token savings. The article covers installation commands, environment requirements (Node >= 24.9, dsh ^0.2.2-rc.2, rtk >= 1.0.0), verification steps, key configuration options, fail-open behavior, and known boundaries around approval and privacy, making it straightforward to safely enable under a web profile.

Read More
dsh-rtk: Automatically Compress Shell Commands with RTK in DSH

dsh-rtk is a DSH workflow plugin published by maintainer xiao-hans. During the tools/pre-execute stage, it transparently rewrites commands such as ops_bash and pwsh to be routed through RTK, with optional secondary output compression via rtk pipe. The plugin does not modify the RTK core itself; all rewrite and rejection rules are governed by the rtk rewrite registry. If RTK is unavailable or its health probe fails, the plugin gracefully falls back to executing the original command. Based on the official README, this article covers the installation bundle, key configuration options, typical invocation comparisons, and how to coexist with dsh-ops. It is intended for DSH users who already have RTK 1.2.0 or later installed on their PATH.

Read More
dsh-rtk: Wrapping DSH for RTK command rewriting and output compression

dsh-rtk is a DeepSeek Harness plugin maintained by wings1848 (@wingsbutterfly/dsh-rtk, 0.1.2, MIT) that integrates RTK into the tool invocation path: it rewrites commands into semantically equivalent RTK commands before dispatch and runs a compression pipeline (ANSI stripping, build filtering, test aggregation, Git compression, Linter aggregation, search grouping, read compression, hard truncation) before tool outputs enter the model context. The rewrite covers bash/pwsh/ops_bash, while the compression covers bash/read/grep/ops_bash/ops_grep. Operating in three modes (off/rewrite/suggest), RTK always serves as the source of truth for rewriting, and external subprocess calls perform environment desensitization. The Web host includes a configuration page and a dashboard. Note that it is a thin layer on top of RTK: if RTK is not in the PATH, it will stop functioning silently. You must install RTK first using brew/winget/curl or cargo install --git, then install the plugin using `dsh plugin --profile web add @wingsbutterfly/dsh-rtk` and restart the host. It supports dsh 0.1.5/0.1.7/0.2.0/0.2.1, Node >= 22.18.

Read More
dsh-rtk: A Minimal Native DSH-RTK Connector

dsh-rtk (dsh-rtk-thin), maintained by Piracola, is categorized as a workflow. The plugin does not import the internal executor of the harness; it only calls rtk rewrite at the resolve() boundary of ctx.shell, rewriting simple commands into rtk form. Working directory, timeout, sandbox, and other settings are still inherited from the original executor. Installation: dsh plugin --profile web add github:Piracola/dsh-rtk. By default on Windows, some subcommands are not rewritten. Suitable for developers who already have RTK installed, want to automatically compress shell output in DSH, and wish to be decoupled from the DSH version. MIT licensed, Node ≥ 20.

Read More
dsh-rtk: DeepSeek Harness Plugin for Compressing Shell Command Output with RTK

`dsh-rtk` is a community-maintained DeepSeek Harness (DSH) plugin that compresses command output via local RTK tools before it enters the model context, reducing token consumption. It supports multiple platforms and shells, and provides `/rtk` commands for self-diagnosis and savings statistics. Before installation, the RTK binary must be installed separately, and configuration or environment variable changes require a full DSH restart to take effect.

Read More