DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to carry Claude Code project context into new sessions with Claude Mem

Install the Claude Code plugin so earlier session context appears automatically when you start a new session.

Short answer: In Claude Code, run /plugin marketplace add thedotmack/claude-mem; then run /plugin install claude-mem; Restart Claude Code. All steps.

Credentials. Signing in through the installer provisions a memory key for your account, so review what the account and provider settings grant before you connect it.

Who it is forA developer working on the same codebase with Claude Code across many days, who keeps re-explaining past decisions at the start of each session.

The problemClaude Code sessions end and the agent forgets what was built, decided, and fixed in earlier sessions.

The outcomeNew Claude Code sessions open with summaries of prior work on the project, so the agent continues where the last session stopped.

What you need first

  • Node.js 20.0.0 or higher
  • Claude Code with plugin support, or a supported agent host such as OpenCode or T3 Code
  • A claude-mem sign-in or your own memory provider key, if you do not use the installer's local option
  • Bun and uv, which the README says are auto-installed if missing

Steps

  1. In Claude Code, run /plugin marketplace add thedotmack/claude-mem
  2. Run /plugin install claude-mem
  3. Restart Claude Code
  4. Start a new session in the same project and check that context from the previous session appears

Prompt for your agent

Install the claude-mem plugin in Claude Code for the repo at <project path> using `/plugin marketplace add thedotmack/claude-mem` and `/plugin install claude-mem`, then restart Claude Code. Report whether a new session in <project path> shows context from a previous session. Verify by checking that the injected context references work from the earlier session.

Caveat. The README says the npm package installs only the SDK, so the plugin must be installed through the /plugin commands or npx Claude Mem install.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for thedotmack/claude-mem and "Carry Claude Code project context into new sessions"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer