Codemem — Development skill for Claude Code
A lightweight persistent-memory companion for OpenCode & Claude.
How to install Codemem
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kunickiaj/codemem and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Codemem does
A lightweight persistent-memory companion for OpenCode & Claude.
Alternatives in Development
- Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
- Zerostack — Lightweight coding agent written in Rust, optimized for memory footprint and performance 1.7k ★
- /remember — Save a finding or successful pattern to persistent hunt memory 1.2k ★
README
codemem
[](https://github.com/kunickiaj/codemem/actions/workflows/ci.yml) [](https://codecov.io/gh/kunickiaj/codemem) [](https://github.com/kunickiaj/codemem/releases)
Persistent memory for [OpenCode](https://opencode.ai) and [Claude Code](https://claude.ai/code). codemem captures what you work on across sessions, retrieves relevant context using hybrid search, and injects relevant context automatically in OpenCode.
- Local-first — everything lives in SQLite on your machine
- Hybrid retrieval — FTS5 BM25 lexical search + sqlite-vec semantic search, merged and re-ranked
- Automatic injection — the OpenCode plugin injects context into every prompt, no manual steps
- Claude Code plugin support — install from the codemem marketplace source
- Built-in viewer — browse memories, sessions, and observer output in a local web UI
- Peer-to-peer sync — replicate memories across machines without a central service
Quick start
**Prerequisites:** Node.js 24+ and npm (or pnpm)
OpenCode
- Install the OpenCode plugin and MCP config:
npx -y codemem setup --opencode-only
- Restart OpenCode.
The OpenCode plugin manages backend execution automatically — no separate global install is required.
- Verify:
# Works on fresh installs (no global codemem needed)
npx -y codemem stats
npx -y codemem db raw-events-status
That's it. The plugin captures activity, builds memories, and injects context from here on.
If you want `codemem` available directly on your `PATH` for manual commands, install the CLI globally:
npm
Related Skills
Maestro Next
Unified entry for all development intents — classify intent, assess complexity, route to the correct execution
NeonSidekick
Neon Sidekick is a lightweight, agentic TUI harness for local LLMs powered by .NET 10. Inspired by the workflo
Vibebar
VibeBar is a lightweight macOS menu bar app that monitors live TUI session activity for Claude Code, Codex, an
Tokrs
A command-line interface (CLI) for analyzing token usage in local logs, supporting Claude, Codex, OpenCode, Ki
Termly CLI
Mobile companion for Claude Code, Gemini CLI & OpenCode. Encrypted, remote
Hommies
Hommie, a floating Omarchy companion that watches your coding agents (Claude Code, Codex, OpenCode, Omacode) a
Related Agents
Memory Manager
Invoke when the user wants to save brand knowledge to persistent memory, search past campaign learnings, sync
Broca For Claude Desktop
Add persistent file-based memory to Claude Desktop in 5 minutes.
Beads Sync
Synchronizes Spec Kit tasks with Beads persistent task memory