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
- Run
npx ownmem new <memory_slug>to scaffold a memory that passes every gate. (inferred, check the README) - Edit the generated Markdown with the cause, the evidence, and the action to take.
- Run
npx ownmem auditto check the entry, if the command is available in your installed version. (inferred, check the README) - 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
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