Skip to content

Connect agents

Read this if you’re connecting OMem to a specific agent and want the exact steps. For the conceptual overview, see let an AI agent use your memory; this page is the wiring reference.

OMem ships one skill — a small, agent-neutral wrapper that teaches an agent when to query your work memory and how to walk the results. There are two ways an agent picks it up:

  • If your agent has a skill / plugin mechanism, use the skill. It’s the richer integration: the skill carries trigger semantics (when to auto-query) and the progressive-disclosure flow, not just raw tools. This is the preferred path for Claude Code, Codex, and Claw Hub.
  • If your agent only speaks MCP, use the omem mcp server. Same six tools, but as a generic MCP endpoint — the fallback for agents without a native skill mechanism (Cursor, Cline, Continue, Zed, …).

Both surface the same six read-only capabilities; the difference is whether the agent also gets the skill’s trigger + drill guidance.

With the omem CLI installed and set up, add the marketplace and install the skill:

/plugin marketplace add seacen/omem
/plugin install omem@omem-marketplace

The agent now auto-invokes OMem on work-context questions. Verify by asking “check my OMem health” — it should run omem doctor.

OMem ships a Codex plugin that carries the same skill. With the omem CLI installed, install it from Codex’s plugin browser:

  1. In Codex, run /plugins to open the plugin browser.
  2. Add OMem’s source: seacen/omem (the GitHub repo). Use the marketplace tabs to switch to it.
  3. Open the OMem plugin and choose Install plugin.

That’s all — the plugin brings OMem’s skill with it, so Codex now auto-queries your work memory the same way Claude Code does. Verify by asking “check my OMem health” — it should run omem doctor.

OMem’s skill is published on Claw Hub, OpenClaw’s public skill registry. With the omem CLI installed, install the skill by its slug:

Terminal window
openclaw skills install omem

(Add --global to install it for every workspace.) You can also browse or search it at clawhub.ai, or use the standalone Claw Hub CLI:

Terminal window
npm i -g clawhub
clawhub install omem

omem mcp runs a stdio MCP server exposing the six tools to any MCP client. 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 file.

Both surfaces expose exactly these, and nothing else:

ToolWhat it does
queryRanked search across all 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

Every integration needs the omem CLI installed and configured first:

Terminal window
curl -fsSL https://github.com/seacen/omem/releases/latest/download/install.sh | sh
omem setup
omem ingest

See install and setup.