godcc6/dsh-claude-memory

Surfaces Claude Code's existing project memory inside DSH, so a task can continue here after a Claude Code quota runs out.

Bridges the two harnesses' memory instead of asking you to retype it. It resolves the current project, then injects that project's MEMORY.md index plus the user-global ~/.claude/CLAUDE.md — with @path imports inlined, since DSH's own instruction loader deliberately does not expand them — into the system prompt, after a confine → redact → byte-budget pipeline. Full memory bodies never enter the prompt by default: a single claude_memory tool opens any memory, lists projects with entry counts and marks the current one, or searches across a project's notes with file:line: text results, one file at a time under a 20 KB cap. Resolution uses the live session's own working directory rather than the directory the dsh server was launched from, and it files memory under the git repository root the way Claude Code does. Credential-shaped text is masked before anything reaches the provider, and the README frames memory text as data that must not be able to steer the agent.

Memory ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add dsh-claude-memory

The npm line. Restart the profile afterwards — a new bundle in dsh.profile.bundles is read at boot, not live. A checkout route is documented (dsh plugin --profile web add /path/to/dsh-claude-memory), and verification without starting anything is dsh --profile web --dump-config | grep -A 10 claude-memory. Defaults live in the package's own cordis.patch.yml.

Compatibility

Read-only by construction: no code path writes, moves or deletes anything under the Claude home, and the plugin imports only node:*, so there is no third-party code in the path that reads your memory files. It reads memory files, not transcripts, so it cannot answer "what was I doing" from a session history. Claude Code's own index cap is not enforced — this plugin loads up to maxIndexBytes and does not warn about the cap — and memory is injected only for the resolved project, with other projects reachable only through a tool call. Redaction is pattern-based, not a classifier, so it cannot catch a secret that does not look like one.

Details

Alternatives

ICCuse/dsh-file-memory · nuochan/dsh-core-memory · nmindz/dsh-supermemory

More plugins in Memory

Browse more in Memory

Guides for Memory plugins