dsh-rtk
Run the following command in DeepSeek Harness:
dsh plugin install robbin810130/dsh-rtk
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install robbin810130/dsh-rtk in your terminal to install the plugin; the source code is available at https://github.com/robbin810130/dsh-rtk .
About this plugin
The bash tools in DSH pipe raw terminal output -- build logs, git diffs, verbose error traces -- straight into the LLM context. That content easily runs into tens of thousands of tokens, inflating API costs and crowding out the reasoning window that actually matters. dsh-rtk tackles exactly this problem: it compresses terminal output before it ever reaches the model.
Under the hood, dsh-rtk applies content-anchored patches to dsh-tool-bash and dsh-tool-bash-persistent so that matched bash commands are first run through a user-specified RTK rewrite binary. The output is compressed before entering the context window. Patches use atomic writes, refuse to modify files when upstream anchors do not match, and keep pre-patch copies under ~/.dsh/dsh-rtk/ for easy rollback. The plugin makes no network requests, collects no telemetry, and all transformation stays inside the local RTK process.
dsh-rtk is built for developers on macOS or Linux who rely on DSH bash workflows and routinely hit token budgets with verbose terminal output. Point RTK_BIN at a trusted local RTK binary and you get output compression across standard, code, cordis, and minimal presets. A global or per-command kill switch (DSH_RTK_DISABLE) is always available.
Use Cases
- Verbose build logs and git diffs keep blowing up the token budget
- You want output compression without any extra network service or remote API
- Apply consistent output compression across multiple DSH presets such as standard, code, cordis, and minimal
Best For
- Developers running DSH bash workflows on macOS or Linux
- Users whose API costs spike from verbose terminal output
- Privacy-minded users who prefer local, telemetry-free, network-free plugins
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.