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

How to share one project memory across coding agents with Ownmem

Install OwnMem in a repo so Claude Code, Codex, Cursor, and Gemini CLI read the same memory.

Short answer: Run npm install --save-dev ownmem inside the repository; then run npx ownmem init --hook --hosts claude,codex and read the one-time steps it prints; Reopen each agent, and complete the trust steps that Codex or Grok need if you use them. All steps.

  • Top pick
  • Software and DevOps
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

Who it is forA developer or team lead whose repository is edited by several AI coding agents and who wants every agent to see the same project lessons.

The problemEach agent starts each session without the lessons the team learned the hard way, so the same mistakes get repeated across tools.

The outcomeThe repository holds a .ownmem/ directory of Markdown memories, and each named host gets a recall hook or instructions that read from it.

What you need first

  • Node.js 20.6 or newer
  • A Git repository that should own the project memory
  • At least one supported AI coding agent: Claude Code, Codex, Cursor, Gemini CLI, or Grok CLI

Steps

  1. Run npm install --save-dev ownmem inside the repository.
  2. Run npx ownmem init --hook --hosts claude,codex and read the one-time steps it prints.
  3. Reopen each agent, and complete the trust steps that Codex or Grok need if you use them.
  4. Commit the new .ownmem/ directory and the host adapter files with the code.

Prompt for your agent

In the repository grpcer/ownmem, install OwnMem into <target-repo> with the commands in its Quick start, using --hosts for the agents the team uses. Expected output: a .ownmem/ directory and host adapters created, with any one-time host steps listed. Verify that `npx ownmem recall -- "<a known project topic>"` returns a result or an abstention.

Caveat. Codex hooks need three one-time trust steps that OwnMem prints, and Cursor and Gemini CLI need a manual step to register the MCP server.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for grpcer/ownmem and "Share one project memory across coding agents"

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