Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code doesn't load everything this plugin declares
bin/memory-rlm, which isn't in the repository. Claude Code installs the plugin without an error, but the hooks exit with an error each time they run. Claude Code installs a copy of the repository and runs no build step.Checked against Claude Code 2.1.332.
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Persistent project memory for Claude Code. A Rust MCP server that transparently indexes your conversation context and code changes, then re-injects the most relevant information when context is lost to compaction.
Claude Code sessions have finite context windows. As conversations grow through requests, code edits, debugging, and planning, older context gets compressed or discarded. You lose decisions, rationale, and the thread of what you were doing.
ClaudeRLM fixes this by indexing everything as it happens and surgically re-injecting what matters when context is lost.
The core idea is borrowed from Recursive LLMs (Zhang et al., 2025), which showed that LLMs can process arbitrarily long inputs by treating them as external data to be programmatically queried rather than consumed all at once. Our insight: conversation context grows incrementally, so it can be indexed at write-time as each turn happens, rather than processed at read-time when it's already too late. This makes indexing nearly free -- each hook call takes milliseconds -- and retrieval is a fast SQLite query.
In practice, Claude Code hooks fire on every user prompt, code edit, file read, and bash command. ClaudeRLM captures each event into a local SQLite database with FTS5 full-text search. When compaction is about to happen, a PreCompact hook ensures everything is indexed and creates a checkpoint summary. After compaction, a SessionStart hook queries the index and injects the most relevant context back into the conversation -- ranked by recency, type importance, and file affinity -- so Claude picks up right where it left off.
memory_search, memory_symbols, memory_decisions, memory_filesInstall as a Claude Code plugin for one-command setup with automatic binary management:
/plugin marketplace add dullfig/claude-plugins
/plugin install memory-rlm
The binary is downloaded automatically on first session start. No PATH configuration needed.
To update, delete the cached binary and restart:
rm -f <plugin-dir>/bin/memory-rlm # Unix
del <plugin-dir>\bin\memory-rlm.exe # Windows
If you prefer not to use the plugin system, standalone installers are still available:
Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/dullfig/memory-rlm/main/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/dullfig/memory-rlm/main/install.ps1 | iex
From source (any platform with Rust):
cargo install --git https://github.com/dullfig/memory-rlm.git
If you install manually, you'll need to configure hooks yourself (see Manual hook setup below). Use absolute paths to the binary — Claude Code spawns hook subprocesses without inheriting your shell PATH.
/plugin marketplace add dullfig/claude-plugins then /plugin install memory-rlm~/.claude/settings.json (any entries referencing memory-rlm)~/.local/bin/memory-rlm or %LOCALAPPDATA%\Programs\memory-rlm\Your existing database (.claude/memory-rlm.db) is preserved — all your indexed memory carries over.
If you installed manually, copy hooks.example.json into your project's .claude/settings.json (or merge into your existing settings).
Important: Use the absolute path to memory-rlm in hook commands. Replace /path/to/memory-rlm with the actual install location (e.g., ~/.local/bin/memory-rlm on Linux/macOS, C:/Users/YOU/AppData/Local/Programs/memory-rlm/memory-rlm.exe on Windows):
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
memory-rlm@dullfig-plugins is listed by dullfig/claude-plugins — review the source before installing
npx claudepluginhub dullfig/claude-plugins --plugin memory-rlmPlugins from other owners that cover similar ground