Let an AI agent use your memory
Read this if you use an AI agent and want it to automatically reach into your work context — without you pasting in emails or saying “go check OMem.” This is the payoff: the agent answers from your real history on its own.
What it looks like
Section titled “What it looks like”Once connected, the agent recognizes a work-flavored question, queries OMem, reads just what it needs, and answers — citing your actual emails, docs, and notes. Step through a real exchange:
The key: you don’t tell it to use OMem. It notices the question touches your work and reaches for it.
The one-line way: install the skill into every agent
Section titled “The one-line way: install the skill into every agent”OMem ships one skill — a small wrapper that teaches an agent when to query your work memory and how to walk the results. The simplest way to install it is the cross-agent skills CLI, which drops the skill into every AI agent you have in a single command:
npx skills add seacen/omem --globalIt detects which agents are on your machine (Claude Code, Codex, Cursor, Cline, Windsurf, …) and installs OMem’s skill into each one’s skills directory — no per-agent plugin steps. --global installs it user-wide (the right choice for OMem, which isn’t tied to one project); drop it to install only into the current project. First make sure the omem CLI is installed and set up (install → setup).
To verify, ask any connected agent “check my OMem health” — it should run omem doctor.
This is the recommended path. The rest of this page covers the alternatives — a per-agent plugin install (if you’d rather not use the skills CLI), MCP for agents without a skill mechanism, and the plain CLI.
Other ways to connect
Section titled “Other ways to connect”Pick one only if the one-liner above doesn’t fit your agent.
If you’d rather install through each agent’s own plugin system instead of the skills CLI, you can. The skill is the same; only the front door differs. In Claude Code:
/plugin marketplace add seacen/omem/plugin install omem@omem-marketplaceCodex and Claw Hub have their own plugin systems that carry the same skill. (Full per-agent steps.)
For agents without a native skill mechanism (Cursor, Cline, Continue, Zed), OMem’s CLI runs a stdio MCP server (omem mcp) exposing the same six tools. One config entry connects it:
Cursor — .cursor/mcp.json (or Settings → MCP Servers):
{ "mcpServers": { "omem": { "command": "omem", "args": ["mcp"] } }}Cline, Continue, Zed — same shape: command: "omem", args: ["mcp"], in that agent’s MCP config. (If your agent does support a skill, prefer that — you get the trigger + drill guidance the raw MCP entry doesn’t carry.)
No integration needed at all. Any agent that can run a shell command can use OMem — it’s just a CLI:
omem query "what did Alice say about Q3 scope" --format jsonThe skill and MCP server are thin wrappers over exactly this. If your agent can bash, it can already query OMem.
What the agent can — and can’t — do
Section titled “What the agent can — and can’t — do”Both the skill and the MCP server expose the same six read-only tools:
| Tool | What it does |
|---|---|
query | Ranked search across all your indexed work |
page_get | Full wiki page (frontmatter + body) |
raw_get_path | Path to the original source file (file kind) |
raw_get_parsed_path | Path to the parsed source (with version history) |
wiki_ls | Browse pages by kind / source / account / date |
doctor | OMem health check |
The CLI is the real interface — everything else is a thin wrapper
The skill (the plugin you install in Claude Code) is a small wrapper that shells out to omem query. The MCP server is a thin process that does the same. Neither re-implements anything — a human in the terminal and an agent through the plugin run the identical command and get identical behavior. That’s deliberate: the agent layer changes year to year, so OMem keeps the memory underneath bound to a stable CLI, not to any one agent. Switch agents whenever; your memory persists. (Design principle P5.)
What’s next
Section titled “What’s next”You’ve gone from nothing to an agent that remembers your work. From here:
- How-to guides — ingest more sources, tune search, schedule it, back it up.
- Concepts — why OMem is shaped the way it is.