DSH Plugins Marketplace

DSH Plugins

Plugins

/

Memory & Context

/

dsh-error-lessons

d

dsh-error-lessons

Manifest valid

Cross-session error lessons for DSH agents: search past mistakes before handling errors and reuse their verified fixes.

hasBundlePatch

dsh-error-lessons

跨会话「错误教训库」插件:代理每次处理报错前检索教训库,看同样或相似的问题以前是否犯过,命中直接复用当时的解法——犯过的错不再犯。

功能

  • 自动工作流提示:常驻系统提示,代理报错前先查、修好后自动记录
  • 重复必记:同一错误第二次出现时强制更新记录(occurrences 计数 +1),不再新增重复条目
  • 存储:档案级共享 ~/.dsh/lessons/lessons.json,所有会话读同一份
  • 零依赖、纯本地、不碰 DSH 运行组件、不联网

工具

工具作用
error_lessons_search关键词检索教训(现象/根因/解法/结果),命中返回解法 + 是否重复
error_lessons_add记录一条已验证的新教训;相同症状自动更新计数

使用示例

报错: torch 2.8 合成输出满幅噪声
→ error_lessons_search("torch noise 满幅噪声")
→ 命中: torch 2.8 与 RVC 合成器不兼容 → 降级 2.7.1+cu126 解决
→ 修好后: error_lessons_add(symptom, cause, fix, result, tags) 记录

安装

dsh plugin add dsh-error-lessons

更新日志

见 CHANGELOG.md

Comments

Loading…

Similar plugins

dsh-experience-memory

by Marquez807

Cross-session experience memory for DSH: a lesson reaches the model only with a verifiable source, the relevant ones are injected each turn, and what nobody uses is retired.

Tools & CapabilitiesMemory & ContextManifest valid

★ 1

↓ 60/wk

MIT

TypeScript

Sep 22, 2026

dsh plugin --profile web add dsh-experience-memory

DSH cross-session self-improvement: memory, error/session retrospectives, SOP extraction and improvement proposals

Terminal & ClientsMemory & ContextManifest valid

★ 0

dsh plugin --profile web add dsh-self-improvement

by 1015677515

Captures the agent's own self-reported mistakes into a categorised lesson library that is re-injected into the system prompt every turn (each captured draft is confirmed or edited by the user before i

Memory & ContextManifest valid

★ 5

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add github:1015677515/dsh-prompt-ErrorNotes-desk

Cross-session memory for DeepSeek Harness: list earlier sessions and load one on demand, so a new session can see what was already done without polluting the current context.

Tools & CapabilitiesMemory & ContextManifest valid

★ 0

dsh plugin --profile web add dsh-recall

by guyuefangyuanl

Cross-session persistent memory for the DeepSeek Harness: a model-facing memory tool, an always-on index section, and a bundled maintenance skill.

Manifest valid

★ 3

↓ 1.5k/wk

MIT

JavaScript

Aug 21, 2026

dsh plugin --profile web add dsh-memory

Zero-dependency cross-session memory for AI coding agents - lessons on disk, evidence-enforced, auto-injected

Memory & ContextManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add @local/dsh-memory