dsh-truncate
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-truncate
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install uckkk/dsh-truncate in your terminal to install this plugin (source: https://github.com/uckkk/dsh-truncate).
About this plugin
In agent workflows, long documents, logs, or code snippets routinely exceed context windows or token budgets and must be trimmed to a manageable length before the next processing step. dsh-truncate fills exactly that gap: a lightweight, pure-Node text truncation tool that performs all work locally with zero network calls, keeping latency negligible and external dependencies at zero.
Once installed, the plugin registers its truncation capability as a session tool you can invoke directly in conversation. There is no API key to configure and no remote round-trip to wait for, making it well suited for deterministic pipeline stages where speed and isolation matter.
If you are assembling multi-step agent pipelines in dsh and need a simple, dependable text-truncation node without pulling in extra services, dsh-truncate is a plug-and-play option that simply works out of the box.
Use Cases
- Controlling context or token length inside agent pipelines
- Trimming logs or long documents to a target length before further processing
- Quickly truncating text in deterministic nodes without pulling in external services
Best For
- Developers building multi-step agent pipelines with dsh
- Automation teams that need local, network-free text processing
- Pipeline engineers who prioritize low latency and zero external dependencies
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.