ChatGPTClaudeGrok / X / CursorGemini

dsh-memory-meow: A Cross-Session Memory Plugin for DeepSeek Harness

phant0meow/dsh-memory-meow

Memory & ContextVerified
Listed on 2026-08-17
Page last updated 2026-11-23

A cross-session memory plugin for DeepSeek Harness with a seven-layer SQLite store (soul/user/project/fact/lesson/topic/rules), BM25 retrieval, and per-window dream consolidation.

dsh-memory-meow is a cross-session memory plugin for DeepSeek Harness that maintains a structured SQLite database per workspace, solving the problem of context loss between sessions. It offers seven-layer memory classification (soul, user, project, fact, lesson, topic, rules), with first-turn injection and per-message keyword matching so the model can recall relevant memories on demand, plus per-window dream consolidation, manual /dream command, and skip-dream options. Its cache-friendly design preserves KV/context caches, ideal for DSH users needing persistent memory.

How to Install

install
npmdsh plugin --profile web add meow-memory

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Memory & Context
Platform
DSH Plugin
Author
phant0meow
Distribution
Plugin

dsh-memory-meow Key Features

Seven-layer memoryBM25 retrievalFirst-turn injectionPer-window dreamCache-friendly design
Listed on dsh-plugin.org

dsh-memory-meow Repo Summary

What Does It Do?

meow-memory is a DSH plugin for DeepSeek Harness that provides cross-session memory with a structured SQLite database per workspace. It solves the problem of losing context between sessions, letting you maintain persistent memory directly inside the harness without manual organization. Core capabilities include seven-layer memory classification, keyword-based retrieval, per-window dream consolidation, and cache-friendly injection design.

Core Features

  • Seven-layer memory: soul/user/project/fact/lesson/topic/rules each in a SQLite table, with time-prefixed UUIDs preserving creation order.
  • First-turn injection: a fixed-format long-term memory block (full soul, full user, design principles, memory guide) is injected before the first user message; keyword matching is skipped on the first turn.
  • Per-message keyword matching: from the second user message onward, fact/lesson/rules/topic are searched based on entry keywords (LLM-extracted or automatic bigrams), with top-2 hits injected under a "possibly relevant memories" prefix.
  • Tool suite: memory_remember, memory_search, memory_project, memory_find_similar, memory_read, memory_update, and memory_dream, supporting project anchoring, filtering, and status management.
  • Per-window dream: triggers when a window is idle for at least idleMinutes (default 180 minutes), processing in rounds, with peak-hour suppression and skip-dream options.
  • Cache-friendly: a static guide section is registered once in the system prompt, keeping text constant and preserving KV/context caches.

How to Use This Plugin?

After enabling it in DSH, the plugin automatically injects long-term memory and keyword matches. You can directly use memory_remember to write memories, memory_search to retrieve, or memory_project to view project overviews. To trigger consolidation without waiting, type /dream in the input box; to adjust behavior, modify parameters like idleMinutes and suppressWindows in the configuration.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: phant0meow/dsh-memory-meow. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ