/openrecall:openrecall-memoryfrom openrecall
Provides long-term memory across projects, sessions, and agents via OpenRecall MCP tools. Recall user/project context at task start and save durable facts. End-to-end encrypted.
Ships in openrecall. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You have long-term memory that persists across sessions through the OpenRecall MCP tools. Without it you start every session amnesiac; with it you remember the user, their projects, their preferences, and how they've asked you to work. Use it deliberately.
It is shared: the same memory is available to every agent the user has connected (Claude Code, Zero, OpenClaude, Codex, Cursor, …), so what you save here, the next agent can recall — and vice versa.
It is end-to-end encrypted: plaintext is encrypted on this machine before it is stored, so the OpenRecall store holds only ciphertext and cannot read what you save. A client-side scanner also blocks anything that looks like a live secret — but don't rely on it; never save credentials, tokens, or keys on purpose.
For a project task, establish its scope before recalling:
memory_projects to find the project's existing ID. Reuse it rather
than creating an alias. For a new repository, use host/owner/repo, for
example github.com/twigpine/openrecall. IDs are case-insensitive; never
use an absolute local path, credentials, branch name, or a bare repository
name shared by different owners. For a non-repository project, agree on a
stable ID with the user.memory_project(project) to register or reopen it. This returns a
project namespace and the shared namespace. The encrypted directory
makes the same scope discoverable on other agents and machines using the
same store, passphrase, and configured shared namespace.memory_recall(query, namespaces: [shared, project]). It ranks both
scopes together within one result limit and size cap. Each hit names its
namespace; include that namespace in follow-up memory_get calls. Other
projects are searched only when you explicitly include their namespaces.Opening a project does not change tool defaults. Pass the namespace
explicitly when saving, listing, searching, reading, or deleting. Store project
decisions, architecture, references, and project-specific feedback in the
project namespace. Keep user preferences and feedback that applies everywhere
in the shared namespace. Before comparing projects, discover their scopes with
memory_projects and include only the requested projects in namespaces.
Existing entries stay in their original namespace. Continue recalling the shared namespace to find them; move a fact deliberately by reading it, saving it in the correct project scope, verifying that save, and only then deleting the old copy. Never bulk-move or delete existing memory just to adopt scopes.
At the start of a task — before asking the user something they may have already told you — recall:
memory_recall with a natural-language description of the task
("how this user likes PRs", "the deploy setup for this project").memory_search is for literal lookups (an exact name, path, or term);
memory_recall is for relevance-ranked "what do I know about X".
A miss says which namespace was searched, how many entries were considered, and how many scored below the relevance floor. Those below-floor entries are withheld on purpose: a weak match dressed up as an answer is worse than none. The count is there so you can tell "the namespace is empty" from "nothing matched your wording", which is a different problem with a different fix.
An empty namespace says so directly (no memory stored in ... yet); there is
nothing to look for, so proceed and save what you learn.
When entries were searched and none cleared the floor:
memory_list to see the keys that exist. The fact may be filed under
wording your query never used.memory_get; if you have an exact
term, path, or name, try memory_search for the literal string.Save a fact when it is stable and reusable across sessions. Save eagerly but selectively — signal, not transcript.
Do save:
Don't save:
If asked to "remember" something already in the repo, save instead what was non-obvious about it.
More than one memory system can be live at once, and they fire on the same trigger, so route by what the fact is rather than by whichever system asked first.
memory_save, and do that even when the host agent would also write it
down somewhere local.For a fact that seems to fit two of them, ask who needs it. You, on every machine, is openrecall. This session only is the memdir log. Everyone working on the repository is team memory.
Depending on the agent, the tools may carry a prefix — e.g.
mcp__openrecall__memory_recall or mcp_openrecall_memory_recall; they are the
same tools. If your agent shows MCP tools by name only until you look them up
(a tool-search step), search for "openrecall" first.
memory_save(key, content) — key is a path that mirrors a memory directory
layout; content is markdown. Saving the same key overwrites it, unless the entry changed since this session last read it. A stale save is refused and names the keys that moved: read each with memory_get, merge, and save again.memory_recall(query, limit?) — relevance-ranked entries for a query.memory_recall(query, namespaces: [shared, project], limit?) — one ranked,
bounded result across up to eight explicit namespaces. Use namespace or
namespaces, never both.memory_project(project) — register or reopen a stable project ID and get
its project and shared namespaces. The directory is encrypted; the project
name is not put in its namespace or entry key.memory_projects(limit?, offset?) — discover registered project IDs and
namespaces without reading their memory contents. The default page is 20
projects; follow the returned offset to see more.memory_search(query) — literal substring/keyword search.memory_get(key) — the full, untruncated body of one entry. Use it when
recall or search surfaces an entry you need to read in full.memory_list() — list entry keys without downloading content.memory_delete(key) — remove an entry that's wrong or stale.Keep a flat, predictable layout:
MEMORY.md — a short index: one line per memory with a link and a hook.user/*.md, feedback/*.md, project/*.md, reference/*.md — one fact per
file, named in kebab-case (feedback/run-tests-before-done.md).memory_recall never returns MEMORY.md. An index is a list of pointers, so it
matches a bit of every query and answers none of them, and returning it would
spend a recall slot that a real entry should have had. Keep it anyway: it is the
table of contents you read deliberately with memory_get('MEMORY.md'), or
alongside memory_list, when you are orienting in an unfamiliar namespace or
following up a recall that found nothing.
In each saved file, prefer a tiny shape:
# <title>
<the fact in a sentence or two>
Why: <why it matters — for feedback/project>
memory_search for an existing file on the topic and
update it rather than creating a near-duplicate.MEMORY.md current. When you add a fact, add its one-line pointer to
the index; when you delete one, remove the line.memory_delete it. Stale memory is worse than none.The six memory read/write tools optionally take a namespace; it defaults to
the one this MCP server is configured with (typically user:<you>). The project
tools use that configured namespace as the shared root. Use the namespace
returned by memory_project consistently across agents; do not invent a new
scope for every task or branch.
When the memory lives on a server, whatever namespace you pass has to sit inside
the subtree your key is authorized for. The server grants an owner user:<owner>
and its children and refuses everything else, so every namespace you use starts
with user:<owner>. If you run one MCP config per codebase instead of using
memory_project, set that config's namespace to user:<owner>/<repo>. Be
consistent about the name you pick, so a later recall looks in the place the
fact was saved.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub twigpine/openrecall --plugin openrecallOther plugins' skills for the same job