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

How to capture a hard-won lesson as reviewed memory with Ownmem

Turn a debugging finding into a scaffolded memory that goes through normal code review.

Short answer: Run npx ownmem new <memory_slug> to scaffold a memory that passes every gate; then edit the generated Markdown with the cause, the evidence, and the action to take; run npx ownmem audit to check the entry, if the command is available in your installed version. All steps.

Who it is forA developer who just solved a non-obvious bug and wants the cause and fix to reach the next agent session and the next teammate.

The problemThe explanation stays in a chat log or in one person's head, and the next agent repeats the investigation.

The outcomeA new Markdown memory in .ownmem/ that passes the gates, committed in Git so it can be reviewed, reverted, or rejected like any other change.

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 npx ownmem new <memory_slug> to scaffold a memory that passes every gate. (inferred, check the README)
  2. Edit the generated Markdown with the cause, the evidence, and the action to take.
  3. Run npx ownmem audit to check the entry, if the command is available in your installed version. (inferred, check the README)
  4. Commit the memory file and open it for review with the code change that motivated it.

Prompt for your agent

In the repository grpcer/ownmem, scaffold a memory named <memory_slug> with `npx ownmem new <memory_slug>`, then fill in the cause and the fix from <the debugging session>. Expected output: a new .ownmem/<memory_slug>.md file that passes the gates. Verify that `npx ownmem recall -- "<a phrase from the memory>"` returns it with an advisory trust line until evidence is attached.

Caveat. The README says the package proposes and refuses but never writes memory on its own, so a person or agent must make and commit every change.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for grpcer/ownmem and "Capture a hard-won lesson as reviewed memory"

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