Who it is forA developer returning to a project after several days who needs the reasoning from an earlier session.
The problemEarlier decisions are scattered across old sessions, and reading full logs takes too long.
The outcomeA short list of relevant snippets from recent sessions, capped by the configured limits.
What you need first
- Node ^22.19.0 or >=24.0.0
- DeepSeek Harness with the dsh CLI installed
- A dsh profile, such as the web profile used in the examples
Steps
- Run
dsh plugin --profile web add dsh-mementoto install the plugin. - Call the memory_recall tool with a short query about the topic you need. (inferred, check the README)
- Check that each session shows no more than recall.snippetCap snippets.
- Adjust recall.windowDays or recall.snippetChars in the memento config if results are too narrow or too wide. (inferred, check the README)
Prompt for your agent
In the dsh-memento repo, call memory_recall with the query "<topic>" and list the matched snippets. Expected output: bounded memory matches and recent session-history matches. Verify that no session returns more snippets than the recall.snippetCap setting.
Caveat. Vector recall is off by default and uses a fake hash embedding, so keyword-style queries are the more reliable choice.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for PerryLink/dsh-memento and "Find earlier session discussions with memory_recall"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer