Skip to content

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.

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:

You
What were the open items we promised to revisit from the Acme Q3 review?

A question about your real work — the kind an agent normally has no context for.

turn 1 / 6

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:

Terminal window
npx skills add seacen/omem --global

It 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.

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-marketplace

Codex and Claw Hub have their own plugin systems that carry the same skill. (Full per-agent steps.)

Both the skill and the MCP server expose the same six read-only tools:

ToolWhat it does
queryRanked search across all your indexed work
page_getFull wiki page (frontmatter + body)
raw_get_pathPath to the original source file (file kind)
raw_get_parsed_pathPath to the parsed source (with version history)
wiki_lsBrowse pages by kind / source / account / date
doctorOMem 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.)

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.