nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:xuviga/dsh-plugin-mnemosyne
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
"Don't step on the same rake twice. And if you do — at least make sure it doesn't happen a third time."
Mnemosyne is a plugin for DeepSeek Harness that remembers your agent's mistakes and refuses to let it repeat them. It learns from your own screw-ups: catches an error → remembers it → comes up with a fix → simply won't let it happen again.
Agents are people too — they trip over the same things. Wrong path, forgotten argument, a drive that doesn't exist. Mnemosyne watches over this and turns every stumble into a lesson: it records the error, writes the remedy and — the important part — suggests the actual fix, so the agent can just keep going.
This is not "yet another logger". This is a guard dog that actually steps in: a repeated failing call simply never executes.
tools/result) and agent errors (agent/error). A call fails — it already knows.tool :: category :: message) with a repeat counter.M:\ drive? It offers D:\ and shows you the corrected command, ready to copy.fixed ("the remedy worked").| Feature | What it does |
|---|---|
| 🎯 Auto-learning | catches, remembers, classifies (fs / schema / parse / timeout / guard / runtime) |
| 🩹 Auto-remedy | a recipe for every repeat + a concrete fix (a ready-to-use command) |
| 🛡️ Guard | a repeated failing call is blocked before it runs |
| ⏱️ Time window | only blocks recent repeats (5 minutes by default) |
| 🕊️ Amnesty | after 3 blocks the guard backs off — it won't choke a tool forever |
| 🤖 LLM remedies | the model writes the fix (when a provider is configured), otherwise a template |
| 💾 Persistence | lessons survive Harness restarts |
| 🧹 Rules | /mnemosyne forbid <tool> / allow — manual bans |
| 📊 Reports | /mnemosyne status and /mnemosyne report — stats and top lessons |
| 🖥️ Live panel | a card in the Run view: counters, categories, recent blocks |
Drop src/host.js and src/client.js into your project and wire them in via an overlay:
# cordis.yml
- insert:
- id: mnemosyne
name: './src/host.js'
config: {}
pnpm dsh web --patch ./cordis.yml
The panel shows up in the Run card and the /mnemosyne command becomes available in chat.
/mnemosyne status — list lessons (error + remedy + fix)
/mnemosyne report — summary: categories, top lessons, blocks, timeline
/mnemosyne forbid <tool> — ban a tool entirely
/mnemosyne allow <tool> — lift the ban
/mnemosyne clear — wipe the memory
The model also gets mnemosyne_status and mnemosyne_learn tools.
$ Get-Content "M:\autofix\data.txt"
→ Cannot find drive. A drive with the name 'M' does not exist.
$ Get-Content "M:\autofix\data.txt" # again
→ Mnemosyne remembered the lesson: recurring + remedy
$ Get-Content "M:\autofix\data.txt" # third time
→ ⛔ Mnemosyne: blocked — the same failing call to 'pwsh' recurs (2x).
Suggested fix: Replace M:\ with D:\ in the command — e.g. Get-Content "D:\autofix\data.txt"
The agent copies the fix, runs it successfully — and the lesson closes as fixed.
src/host.js) — the brain: lesson registry, classifier, autofix, guard, persistence, command, RPC.src/client.js) — a live browser panel (React, no JSX).MIT — take it, tweak it, share it. If you build something cool on top of it, tell us!
Made for DeepSeek Harness. Questions, ideas, bugs — Issues are welcome.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent。