DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-cc-auto-memory

j

dsh-cc-auto-memory

Manifest valid★ 1

Claude Code-compatible persistent memory: the host injects the MEMORY.md index at session start, the model maintains memory files with plain read/write/edit tools, and a Settings page lists saved memo

UI (client)hasBundlePatch
dsh-cc-auto-memory icon

dsh-cc-auto-memory

Claude Code's auto memory, packaged as a lightweight plugin for DeepSeek Harness (DSH): persistent, file-based memory.

npm license English 简体中文

At the start of each session, memory-usage instructions and the MEMORY.md index are injected automatically; the model manages memory files with the plain read / write / edit tools — no dedicated memory tools are registered. The on-disk format is identical to Claude Code's, so memories are directly interoperable between the two (claude mode even shares the exact same directory).

Installation

Web (CLI):

dsh plugin --profile web add dsh-cc-auto-memory

Desktop: open the in-app Plugins page and search for dsh-cc-auto-memory.

Mechanism

A faithful port of Claude Code's native auto memory — see the official docs for the original mechanism. Per session it works like this:

session start
    │
    ▼
host injects into the system prompt:
  • Memory usage instructions (with the memory dir path)
  • MEMORY.md index — first 200 lines / 25 KB
    │
    │   the model manages memory with the
    ▼   plain read / write / edit tools
memory dir — one per git repo
  MEMORY.md     ← index: one line per memory
  <topic>.md    ← one memory per file
    │
    │   after each write/edit, the host backstops:
    ▼   `modified` timestamp · index size limits
next session recalls the refreshed index … loop
  • Subagent sessions get no main-session memory injected (same as Claude Code).
  • Project resolution: git repository root (cwd when outside a repo), / → - in the slug; one shared memory per repository.

Viewer panel

Settings → Auto Memory (read-only viewing; editing/creating/deleting is left to the agent's file tools during a session):

  • Storage mode: two mode cards (dsh standalone directory / claude reuse) plus an "Apply switch" button — switching only takes effect for new sessions:

    • dsh (default): $DSH_HOME/projects/<slug>/memory/
    • claude: ~/.claude/projects/<slug>/memory/ (CLAUDE_CONFIG_DIR respected) — shares the same memory with Claude Code, interoperable both ways

    In claude mode, the model's write/edit calls into ~/.claude/ fall outside the session workspace and trigger approvals per the session sandbox policy — this is expected.

  • Project list filtered by the active mode: dsh mode shows only projects under $DSH_HOME; claude mode shows only projects under ~/.claude

  • Memory table: click any row to open a floating card showing the raw file content (plain text, Markdown not rendered); Esc or clicking the overlay closes it

Auto Memory settings panel

Configuration

cordis.patch.yml can be overridden at the user layer:

FieldDefaultDescription
modedshStorage mode dsh / claude
claudeConfigDir''Claude Code config root for claude mode; empty = $CLAUDE_CONFIG_DIR or ~/.claude
maxIndexLines200Line limit when reading MEMORY.md
maxIndexBytes25600Byte limit when reading MEMORY.md

License

MIT

Comments

Loading…

Similar plugins

dsh-memory

by hr98w

融合 Claude Code 的 Auto Memory 与 Codex 的 Session 记忆整理,为 DeepSeek Harness 提供简单、透明、上下文友好的长期记忆。Claude Code-inspired Auto Memory meets Codex-inspired Session consolidation, bringing simple, transparent, and

Memory & ContextManifest valid

★ 32

↓ 129/wk

MIT

TypeScript

Nov 1, 2026

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

by AskTheWay

Claude Code-style auto-memory plugin for DeepSeek Harness (dsh): typed memory files + MEMORY.md index auto-injected into the system prompt. File-only, no external services.

Memory & ContextManifest valid

★ 121

↓ 4k/wk

MIT

TypeScript

Oct 29, 2026

dsh plugin --profile web add dsh-auto-memory

by zhang-guo-wen

Claude-compatible memory for DeepSeek Harness: a user-chosen memory directory with MEMORY.md index and topic files, the memory tool, and a settings page

Manifest valid

★ 0

Apache-2.0

TypeScript

Oct 17, 2026

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

by annkun

Deepseek harness memory

Memory & ContextManifest valid

★ 4

↓ 1.7k/wk

MIT

TypeScript

Oct 20, 2026

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

by yihefeikong-rgb

Persistent memory for DeepSeek Harness: memory read/write/retrieve tools, per-turn auto-recording, project-scoped recall injection and a management UI, with non-destructive Claude Code memory import.

Development & InfrastructureMemory & ContextManifest valid

★ 1

↓ 462/wk

MIT

TypeScript

Sep 13, 2026

dsh plugin --profile web add dsh-memory

by gezi-wen

File-based cross-session memory: plain Markdown memory files with automatic retrieval injection, format-compatible with Claude Code's CLAUDE.md and memory files, so migrating is a manual file copy.

Memory & ContextManifest valid

★ 26

↓ 3.7k/wk

Apache-2.0

JavaScript

Nov 2, 2026

dsh plugin --profile web add sage-mem