AI Agent Hub
Back to plugins
🤖

dsh-bash-rtk

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install DeepTrial/dsh-bash-rtk

Paste the following prompt into your AI chat to install this plugin:

To install this plugin in DeepSeek Harness, run dsh plugin install DeepTrial/dsh-bash-rtk; the full source repository is at https://github.com/DeepTrial/dsh-bash-rtk.

About this plugin

In LLM agent development, verbose tool outputs such as git logs or build trails consume excessive tokens, increasing costs and reducing efficiency. The dsh-bash-rtk plugin addresses this by automatically routing eligible shell commands through rtk (Rust Token Killer) to compress outputs and save tokens without altering execution semantics. Its core capability lies in intelligent filtering: it only handles simple, whitelisted commands while bypassing complex shell structures with pipes or redirects, and gracefully falls back to native execution if rtk is unavailable. This plugin is ideal for developers using DeepSeek Harness for model inference, especially those seeking to optimize token usage while maintaining stable shell execution.

Use Cases

  • Automatically compress output when LLM agents run git or cargo commands
  • Process build logs or test outputs to reduce token usage
  • Optimize tool responses while preserving execution semantics

Best For

  • LLM agent developers using DeepSeek Harness
  • Data scientists focused on inference cost optimization
  • AI engineers needing to streamline tool outputs