DSH Hub

863683348/dsh-memory-setup

dsh-memory-setup

BundleMemory1 GitHub stars· updated 2026-08-18

dsh-memory-setup is a community DeepSeek Harness plugin. Read the repository README before installing.

Install

npx @deepseek-ai/dsh plugin --profile <profile> add dsh-memory-setup

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-memory-setup DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-memory-setup.svg)](https://dshhub.dev/plugins/dsh-memory-setup)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from 863683348/dsh-memory-setup, cleaned of badges and images.

dsh-memory-setup

Solve the AI goldfish brain 🐠 — a local, auditable personal memory layer for DeepSeek Harness. Remembers your preferences, project conventions, workflows, and error lessons, and injects them back into every session.

解决 AI 的"金鱼脑":本地、可审计的个人记忆层——偏好、项目约定、工作方式、纠错教训,会话间自动继承。

Install

dsh plugin --profile <profile> add dsh-memory-setup

Tools

ToolWhat it does
memory_setupOne-time onboarding: language, code style, tools, conventions, workflows
memory_statusRead current memory + changelog (also auto-injected guidance at boot)
memory_updateUpdate one memory path (e.g. preferences.codeStyle) with a changelog entry
memory_projectAuto-extract project conventions from workspace files (README / package.json / configs), preview or apply
memory_lessonRecord an error lesson (error → fix → evidence) so the same mistake is not repeated
memory_reviewv0.2 — formalize an incident into a lesson with root cause; similar lessons are auto-merged (dedupe + hit counter)
memory_exportv0.2 — export the full memory + changelog to a Markdown file for review/backup
knowledge_addv0.3 — add a knowledge entry (title/content/tags/source); similar titles auto-merge
knowledge_searchv0.3 — keyword retrieval (title ×3 / tags ×2 / content ×1 scoring)
knowledge_list / knowledge_removev0.3 — browse / delete knowledge entries
memory_diffv0.4 — diff current memory against memory.json.bak, optionally written to memory-diff.md
memory_review_sessionv0.5 — bulk incident review: submit many failures at once, dedupe per item
memory_snapshot / memory_list_snapshots / memory_restorev0.6 — snapshot the memory (keeps N), list, and restore with auto-backup of the current state
memory_troubleshootv0.6 — given an error, search past lessons + knowledge base for a known fix
memory_statsv0.7 — aggregate stats across memory, knowledge base and snapshots
memory_promotev0.7 — promote recurring lessons (hits ≥ threshold) into standing conventions; auto-runs on save
memory_import / memory_mergev0.8 — import memory from JSON (auto-migrate) / merge two memories (newer or both)
kb_export / kb_importv0.8 — knowledge base JSON round-trip
memory_focusv0.9 — relevance-based injection: only memory matching a topic is injected
memory_tierv1.0 — hot/warm/cold tiers (hot is injected, cold is archived)
memory_auditv1.0 — sha256 integrity check + changelog audit report
memory_import_claudev1.1 — import conventions from CLAUDE.md
memory_export_all / memory_import_allv1.2 — full backup bundle (memory + KB + snapshots)
memory_annotatev1.2 — owner/purpose annotations on entries
knowledge_embedv0.5 — backfill embeddings for KB entries (needs embeddingEndpoint); enables semantic search

Storage & auditability

  • Location: <workspace>/.dsh-memory-setup/memory.json — plain JSON, easy to read/back up
  • Every mutation appends to changelog (when / what / why) — memory is auditable by design
  • Lessons carry an optional evidence field (file/command/observation) — no evidence, no lesson
  • Local-first: nothing leaves your machine

Config (optional)

Related plugins