dsh-stream-rules
Run the following command in DeepSeek Harness:
dsh plugin install jiesou/dsh-stream-rules
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, install this plugin using the command `dsh plugin install jiesou/dsh-stream-rules`, with the source code at https://github.com/jiesou/dsh-stream-rules.
About this plugin
In AI agent workflows, frequent tool calls can consume excessive context resources, leading to inefficiency or loss of control. The dsh-stream-rules plugin addresses this by injecting rules dynamically upon pattern matches, steering agents to retry without wasting context. Its core capabilities include custom streaming rules: developers can define match conditions to inject system notices or reject initial tool calls, offering flexible control. Rules fire at most once per session to prevent redundancy. This plugin is ideal for AI engineers, plugin developers, or users seeking to fine-tune agent behavior, enabling workflow optimization through simple code extensions without core modifications.
Screenshots
Use Cases
- Inject rules to steer behavior when the agent performs unnecessary tool calls, saving context.
- Control execution boundaries in custom agent workflows through pattern matching, avoiding over-restriction.
- Optimize context resource usage to prevent redundant operations from consuming extra processing power.
Best For
- AI agent developers requiring fine-grained control over workflow behavior.
- Plugin engineers aiming to extend agent functionality without modifying core code.
- Efficiency optimizers focused on context resource management and workflow performance improvement.
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.