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.
# Add to your Claude Code skills
git clone https://github.com/AskTheWay/dsh-auto-memoryGuides for using ai agents skills like dsh-auto-memory.
Last scanned: 10/2/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-02T10:20:28.706Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how dsh-auto-memory compares with popular alternatives.
dsh-auto-memory is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built 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. It has 104 GitHub stars.
Yes. dsh-auto-memory passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/AskTheWay/dsh-auto-memory" and add it to your Claude Code skills directory (see the Installation section above).
dsh-auto-memory is primarily written in TypeScript. It is open-source under AskTheWay on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh dsh-auto-memory against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Your dsh agent forgets everything you tell it. Every. Single. Session.
Fix it with one command. Claude Code-style persistent memory for DeepSeek Harness — native, zero servers, zero embeddings, zero setup.
dsh plugin --profile demo add dsh-auto-memory
Say "Remember: I'm a Python backend engineer preparing for interviews" today — open a brand-new session tomorrow, ask "what do you know about me?", and it remembers.

ignore-err-x matches err-x-ignore) plus
description-echo matching now routes matched candidates to an in-place
UPDATE (reusing the existing name/scope and lifecycle) instead of skipping
or duplicating. The consolidation prompt also instructs the model to reuse
the existing name when updating.src/matching.ts): the
L3-validated mapping (name anchoring ∪ CJK-bigram coverage) is now the
single implementation used by both product and runner — evaluation
methodology feeding back into product, round three.evals/datasets/): synthetic
multi-session developer transcripts with gold-label facts — durable /
ephemeral-trap / updated labels, evidence sessions, abstention probes.
The coding-agent memory scenario no public benchmark covers./api/auto-memory/* routes over the existing locked
store, the browser half registers a sidebar entry and a management page
(grouped list with types/pins/read counts, per-scope capacity bars with
budget warnings, inline editing, pin toggle, delete-with-confirm). Works in
Web and desktop clients from one bundle; non-Web compositions stay no-op.--dsw-alias-*) instead of a hardcoded white — readable in dark mode.lib/client.js (17 kB) behind a
dsh.client manifest; total install stays ~32 kB with zero runtime deps.pinned: true on memory_write): pinned entries lead
the index, survive budget truncation, and are exempt from staleness
eviction — a trust anchor the user controls.autoSummarize: true): when a root session ends, a
background LLM pass extracts durable new facts from the session and files
them as memories — deduplicated, capped, fully silent on failure. Claude
Code doesn't do this automatically.memory_read counts references; staleAfterDays
soft-hides zero-reference stale memories from the injected index (files
kept); memory_prune lists (dry-run) or deletes aged memories.memory_read resolves [[name]] cross-links one
level and attaches linked summaries.memory_delete_all — guarded by tools/pre-execute human approval:
the model cannot self-confirm irreversible bulk deletes.clear
(no concurrent-write escape), conditional index rebuild on touch
(no O(N) amplification), session-start stale refresh, subagent capture
cleanup, abortable consolidation.Tools: memory_write / memory_read / memory_list / memory_delete /
memory_prune / memory_delete_all.
DeepSeek Harness is the hottest open agent harness on GitHub right now — models, tools, sandboxes, everything is a plugin. But it ships with no memory subsystem at all. The official answer is three default-off MCP configs to third-party servers, which the official docs themselves qualify: not auto-injected, no forgetting policy, substring-only search. Your agent has amnesia by design.
dsh-auto-memory closes that gap natively:
| MCP bridge approach | dsh-auto-memory | |
|---|---|---|
| Memories injected into every system prompt, automatically | ✗ | ✓ (zero tokens when empty) |
| Typed memories: user / feedback / project / reference | ✗ | ✓ |
| Workspace + user scope layers — no cross-project leakage | ✗ | ✓ |
| Crash & concurrency safety (cross-process locks, orphan recovery) | — | ✓ |
| External services / databases / embeddings required | ✓✓✓ | none — just plain Markdown files |
Memories are ordinary files under $DSH_HOME/memory/ — hand-editable,
grep-able, git-friendly, yours.
node scripts/demo.mjs # no API key, no browser: watch write → index → inject → recall → forget
Or for real, in a chat: tell your agent things worth remembering. The model
calls memory_write / memory_read / memory_list / memory_delete,
following Claude Code's write discipline: dedupe-and-update over piling up,
absolute dates only, [[name]] cross-links, feedback memories carry
Why: / How to apply: lines.
Every request, one system-prompt section (order 4000) carries the index — re-evaluated per step, byte-budgeted, and gone entirely when the store is empty:
# Persistent memory index
## Project memories
- [压测过 PostgreSQL](id-generator-benchmark.md) — psycopg2 连接池有踩坑经验 (2026-09)
- [用户是 Python 后端工程师](user-prefers-python.md) — 正在准备面试; 偏好中文交流
Chinese titles, YAML frontmatter, one file per memory — exactly the Claude
Code MEMORY.md model, rebuilt natively on dsh's prompt-assembly pipeline.
This plugin survived a 12-agent adversarial code review (680k tokens of source-level scrutiny) before v0.1.0. Five production-grade traps were caught and fixed — with regression tests — including two that would have been field incidents:
memory collides with
MEMORY.md o