AI Agent Hub
Back to plugins
⚙️

dsh-error-improvement

Workflow Updated 2026.09.15

Run the following command in DeepSeek Harness:

dsh plugin install wbushihenshuai-design/dsh-error-improvement

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

Run dsh plugin install wbushihenshuai-design/dsh-error-improvement in the DeepSeek Harness terminal; the plugin repository is at https://github.com/wbushihenshuai-design/dsh-error-improvement, then restart DSH Desktop to access the settings under Settings → Error Improvement.

About this plugin

Agents that repeat the same mistake are the most common source of broken trust and wasted tokens in multi-turn tasks. dsh-error-improvement turns user-confirmed lessons into bounded pre-task checks that are injected before every LLM call within a turn, so prevention rules stay visible not just at the first step but also across follow-up tool calls the model makes in the same turn.

Version 0.2.0 closes the loop automatically: the plugin watches tool post-execute hooks, counts failures that share the same tool and normalized error signature, and once a configurable threshold is crossed it intercepts matching pre-execute calls with a one-shot warn reminder or a hard deny. No model or tool capability is ever expanded. For non-trivial solutions, the improve_record_recipe tool persists a verified fix as a success recipe; recipes flagged with asSkill graduate into standalone SKILL.md files, turning raw experience into reusable capability. A built-in context-compaction layer handles overflow recovery with primary and fallback summarization routes, keeping long conversations alive.

If you are running multi-turn tasks in DeepSeek Harness and want your agent to remember where it fell last time and stop falling the same way, this plugin provides a complete pipeline from manual lesson entry to automatic interception—zero external dependencies, zero network calls, and all state kept in the local DSH settings file.

Use Cases

  • Multi-turn tasks where the agent keeps hitting the same tool failure and needs pre-execute interception
  • Persisting verified solutions into injectable recipes that can graduate into standalone skill files
  • Long conversations approaching the context window limit, needing auto-compaction with fallback summarization routes

Best For

  • Developers running multi-turn DSH agent workloads
  • Teams who want agents to learn from repeated failures and stop repeating the same mistakes
  • AI engineers managing long-context windows and preventing overflow interruptions