Claude Code plugin

Codemem

A lightweight persistent-memory companion for OpenCode & Claude

79 stars 13 forksPlugins & marketplaces Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add kunickiaj/codemem

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/kunickiaj/codemem.git

From the README

codemem

Normal V2 account linking needs no account-management upgrade. An older authority
schema still needs the explicit auth-schema cutover:
codemem coordinator upgrade-auth-schema --db-path coordinator.sqlite upgrades an
existing local coordinator file; --export-sql exports D1 SQL without applying it.
Optional Refresh profile, Unlink Google account, and reconnect support instead
require an intact V2 coordinator and the separate
upgrade-account-schema rollout.
Unlink confirms once in the Viewer and uses the existing authorized device without
Google sign-in. Link, relink and profile refresh still require Google verification.

The code is still there. The reasoning usually isn’t.

codemem is persistent coding memory across sessions, machines, and teammates for OpenCode, Claude Code, Codex, and the Pi coding agent. It captures decisions, dead ends, and repository-specific traps, then automatically brings relevant context into later prompts.

- Automatic context injection — relevant memories reach the agent without asking it to search; unchanged memories already in OpenCode context are not repeated
- Optional sync and sharing — peer-to-peer sync carries selected project memory across machines; share project knowledge with a teammate or Team when it helps
- Local-first storage — memories live in SQLite on your machine; observer processing uses your configured model provider and can incur costs or consume plan usage
- Hybrid retrieval — FTS5 BM25 lexical search + sqlite-vec semantic search, merged and re-ranked
- Automatic injection for OpenCode 1 and 2 — the plugin injects context into every prompt, no manual steps; the OpenCode 2 integration is beta
- Claude Code plugin support — install from the codemem marketplace source
- Multi-agent — OpenCode, Claude Code, Codex,…
Read the full README on GitHub

How plugins work

  • A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
  • Add the marketplace inside Claude Code with /plugin marketplace add kunickiaj/codemem, then run /plugin to pick what to install.
  • You can turn a plugin off again from /plugin without deleting anything.
Claude Code docs

Details

Language
TypeScript
License
MIT
Last updated
3 November 2026
Topics
aiai-agentsai-memoryai-memory-systemclaudeclaude-aiclaude-codeclaude-code-pluginmemoryopencodep2p

FAQ

What is Codemem?

A lightweight persistent-memory companion for OpenCode & Claude It is a plugin for Claude Code, from kunickiaj/codemem on GitHub.

How do I install Codemem?

Run /plugin marketplace add kunickiaj/codemem inside Claude Code, then follow the setup in the README.

Is Codemem popular?

kunickiaj/codemem has 79 GitHub stars and 13 forks. It was last updated on 3 November 2026.

More plugins & marketplaces

Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.