Back to directory

dsh-plastic-memory

In a curated listMaintenance: Active

kkl08/dsh-plastic-memory

Automatically saves, injects and curates project/global memories in Markdown, with a health-checkup UI, settings page and side panel.

View on GitHub
$ dsh plugin --profile web add dsh-plastic-memory

30

stars

3

forks

TypeScript

Language

MIT

License

2026-09-04

Created

2026-11-21

Last push

MIT-licensed long-term memory plugin for DeepSeek Harness: worth-keeping details become per-project Markdown files, injected on demand, and a human-approved health checkup keeps conflicts and stale entries in check.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-11-23

License

MIT

01What can it help you accomplish?

  • Capture what is worth keeping from normal DSH conversations

    One Markdown memory file per entry, filed by project, each tagged as user-stated or model-inferred, with cross-project entries suggested for promotion to global memory

    DSH users who keep re-explaining preferences, lessons learned and project background to the agent

  • Bring the right context back at session start and mid-task

    Core memories plus an index injected when a new conversation opens; further memories retrieved on demand and drillable back to the original exchange

    People running one project for months who do not want to restate earlier decisions and dead ends

  • Keep the memory base healthy instead of letting it drift

    A health score plus a prioritized list of duplicate, conflicting, expired and verbose memories with rewrite suggestions you approve or reject; manual or scheduled checkups

    Users whose project memories, global memories and AGENTS.md have started to contradict each other

02How to install into DeepSeek Harness

Prerequisites

  • DeepSeek Harness v0.2.2-rc.1 or newer — the floor that plugin 0.2.0 declares; desktop and web builds are both supported and desktop has the better experience
  • Node.js `^22.19.0 || >=24` in the runtime the plugin loads into
  • pnpm installed locally when you add the plugin through the web build

Installation steps

  1. 01

    Desktop (recommended): open the Plugins page in the sidebar, click Add plugin, enter `dsh-plastic-memory` and confirm to install

  2. 02

    Web: add the same plugin from the Plugins page — this lane needs pnpm on the machine

  3. 03

    CLI: run `dsh plugin --profile web add dsh-plastic-memory`, replacing `web` with the profile you are installing into, then restart DSH

    $ dsh plugin --profile web add dsh-plastic-memory

  4. 04

    Installing into the desktop app over the CLI (`--profile desktop`): launch the desktop app once, quit it fully, run the command, then reopen it

Verify the integration

  • Open a new conversation and click the whale-tail icon under the input box: it reports how many memories were injected this round and how many were newly written

03DSH integration and capability boundaries

DSH integrationNative runtime

Native DeepSeek Harness plugin: added from the Plugins page or with `dsh plugin --profile web add dsh-plastic-memory`, it writes, injects and curates memories inside DSH sessions, with its own settings page and side panel

  • Automatic memory capture

    conversations and task context inside DSH→per-project Markdown memory files, each marked as user-stated or model-inferred, plus promotion suggestions for global memory

    one Markdown file is written per memory under the memory directory
  • Memory injection and retrieval

    a new or ongoing conversation→core memories plus an index at session start, on-demand retrieval of related memories, and drill-down to the original exchange

    memories brought into a session are sent to the model service configured in DeepSeek Harness
  • Memory health checkup

    project memories, global memories and `AGENTS.md`→a health score and a prioritized list of duplicate, conflicting, expired and verbose memories with rewrite suggestions

    cleanups and rewrites run only after you confirm the suggestion
  • Secret interception and masking

    memory text about to be written→secret-like strings such as `sk-…` are intercepted, unconfirmed ones are not saved, and existing ones are masked in injection and in the UI

04Who is it for? When not to use it?

Good for

  • DSH users who keep re-explaining preferences, lessons learned and project background to the agent
  • People running one project for months who do not want to restate earlier decisions and dead ends
  • Users whose project memories, global memories and AGENTS.md have started to contradict each other

Not for

  • Only DeepSeek Harness v0.2.2-rc.1 and newer is supported. DSH is still pre-release, so re-check the supported range documented here and in the changelog before upgrading the host.
  • Requires Node.js `^22.19.0 || >=24`; installing through the web build additionally needs pnpm on the machine.
  • Memories are local files, `~/.dsh/memories` by default, but memories injected into a session or inspected by a checkup are sent to the model service you use inside DeepSeek Harness.

05Compatibility, maintenance and safety notes

  • Only DeepSeek Harness v0.2.2-rc.1 and newer is supported. DSH is still pre-release, so re-check the supported range documented here and in the changelog before upgrading the host.
  • Requires Node.js `^22.19.0 || >=24`; installing through the web build additionally needs pnpm on the machine.
  • Memories are local files, `~/.dsh/memories` by default, but memories injected into a session or inspected by a checkup are sent to the model service you use inside DeepSeek Harness.
  • Profiles that share one memory directory have to be upgraded together: older versions cannot read the memories with an expiry date that 0.2.0 writes, while an existing 0.1.x store and its pending items carry over.
2026-09-042026-11-20v0.2.0

MIT · actively maintained, last push 2026-11-20, latest release v0.2.0

06Frequently asked questions

How do I install it in DeepSeek Harness?

Desktop: open the Plugins page in the sidebar, click Add plugin, enter `dsh-plastic-memory` and confirm. CLI: run `dsh plugin --profile web add dsh-plastic-memory` with your own profile name instead of `web`, then restart DSH. The web build installs the same way but needs pnpm on the machine.

Which DeepSeek Harness and Node.js versions does it need?

Version 0.2.0 requires DeepSeek Harness v0.2.2-rc.1 or newer, and the runtime needs Node.js `^22.19.0 || >=24`. DeepSeek Harness is still pre-release, so check this README and the changelog for the supported range before upgrading the host.

Where do my memories live, and what leaves the machine?

Memories are local files, `~/.dsh/memories` by default. Memories brought into a conversation and memories inspected by a checkup are sent to the model service you use inside DeepSeek Harness. Secret-like content is intercepted on write, and existing secrets are masked in injection and in the UI.

Do I have to approve memory changes myself?

Yes. The plugin proposes rewrites and cleanup for duplicate, conflicting or expired memories and applies them only after you confirm, and a deleted memory can be recovered within 14 days. Checkups can run on a schedule, but the decisions stay with you.

What does it add for the agent itself?

The how-it-works guide documents nine tools the model uses to write, inject and govern memories, and built-in general, coding and office modes plus custom scenes and memory types decide what is recorded and how it is injected.

08Data and sources

  • Author-claimedgithub.comd9341e7e95b7…

    **可塑性记忆 · DeepSeek Harness 的长期记忆插件**

  • Author-claimedgithub.comd9341e7e95b7…

    dsh plugin --profile web add dsh-plastic-memory

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-23. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.