nowledge-mem-openclaw-plugin/SKILL.md
# Nowledge Mem for OpenClaw Use this guide when an AI agent is helping a user install, configure, verify, or explain the Nowledge Mem OpenClaw plugin. Nowledge Mem is not just "memory for OpenClaw." It is the user's shared memory layer across OpenClaw, Claude Code, Cursor, browser capture, imported threads, and documents. OpenClaw joins that context exchange. ## Use This When - The user wants to install or configure the OpenClaw plugin - The user wants OpenClaw to connect to existing Nowledg
npx skillsauth add nowledge-co/community nowledge-mem-openclaw-pluginInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this guide when an AI agent is helping a user install, configure, verify, or explain the Nowledge Mem OpenClaw plugin.
Nowledge Mem is not just "memory for OpenClaw." It is the user's shared memory layer across OpenClaw, Claude Code, Cursor, browser capture, imported threads, and documents. OpenClaw joins that context exchange.
apiUrlWhen talking to users:
apiUrl, and add apiKey when the server requires auth."Good user-facing explanation:
OpenClaw can now read the same memory you already built in your other AI tools, and what happens in OpenClaw can enrich that shared memory too.
This task is not complete until all of the following are true:
nmem is availablenmemopenclaw nowledge-mem status succeedsplugins.allow warningsAsk the user which setup they want:
Explain the difference plainly:
nmemnmem --api-url ...; add apiKey when that server has auth enabledspace first, plugin config spaceTemplate only when the launcher already exposes a trustworthy lane signal, and NMEM_SPACE="<space name>" only as the fallback for CLI-style launches instead of inventing a second OpenClaw-only memory namespacenmemnmem --version
If this fails:
pip install nmem-cliLocal mode:
nmem --json status
Remote mode without auth:
nmem --json --api-url "$API_URL" status
Remote mode with auth:
NMEM_API_KEY="$API_KEY" nmem --json --api-url "$API_URL" status
Success means the backend responds correctly through nmem. Do not skip this step and assume the URL/auth is right.
Default install:
openclaw plugins install clawhub:@nowledge/openclaw-nowledge-mem
Alternatively, if the user is installing from OpenClaw's default registry rather than ClawHub, this also works:
openclaw plugins install @nowledge/openclaw-nowledge-mem
Important facts:
memory slot to openclaw-nowledge-memDo not tell the user to hand-edit those settings unless they are using a manual/path setup.
Local mode:
Remote mode:
apiUrl and apiKey in the OpenClaw plugin settings~/.nowledge-mem/openclaw.json only when the user wants a stable machine-local override or scripted setup~/.nowledge-mem/openclaw.json example:
{
"apiUrl": "https://nowledge.example.com",
"apiKey": "your-api-key-here"
}
Important precedence rule:
~/.nowledge-mem/openclaw.json overrides OpenClaw plugin settingsNMEM_API_URL or NMEM_API_KEY env vars should keep winningIf the remote server does not require auth, omit apiKey.
If OpenClaw warns that plugins.allow is empty, or the user wants explicit trust for non-bundled plugins, add:
{
"plugins": {
"allow": ["openclaw-nowledge-mem"]
}
}
Explain this correctly:
plugins.allow trusts the plugin idplugins.load.paths, they should review those tooRestart OpenClaw so the plugin and hooks are active.
If an agent is doing the restart automatically, tell the user before triggering it.
First check the plugin status:
openclaw nowledge-mem status
If only memory_search and memory_get tools are available (other Nowledge Mem tools missing), the memory slot may still point to the built-in memory-core. Verify the slot in ~/.openclaw/openclaw.json:
{
"plugins": {
"slots": { "memory": "openclaw-nowledge-mem" }
}
}
If missing, reinstall (openclaw plugins install clawhub:@nowledge/openclaw-nowledge-mem) which sets the slot automatically. This is common after upgrading OpenClaw to 3.22+ where the default memory slot changed.
Then verify in chat.
For a clean synthetic check:
/remember We chose PostgreSQL for task events/recall PostgreSQL/newWhat database did we choose for task events?If the user already has real memory in Nowledge Mem, prefer a real question over a synthetic demo. Good examples:
What was I working on this week?What did we already decide about the task API?Find the conversation where we discussed Redis cachingAfter setup succeeds, send a short handoff that covers all four points:
Good structure:
OpenClaw is now connected to Nowledge Mem.
Try this next:
- Ask OpenClaw: "What was I working on this week?"
If you want more history:
- Import old AI threads or browser-captured chats into Nowledge Mem so OpenClaw can search them too.
What to expect:
- Local mode needs no API key.
- Remote mode uses the same apiUrl and, when auth is enabled, the same apiKey you already verified with nmem.
- If OpenClaw warns that plugins.allow is empty, add openclaw-nowledge-mem to the allowlist to pin trust explicitly.
| Symptom | What to do |
| --- | --- |
| nmem --json status fails in local mode | Start Nowledge Mem locally first |
| Remote mode fails | Re-run nmem --json --api-url ... status with the exact URL and auth you plan to use |
| openclaw nowledge-mem status fails after install | Restart OpenClaw and confirm the plugin was installed successfully |
| plugins.allow is empty warning | Add openclaw-nowledge-mem to plugins.allow if the user wants explicit trust |
| Remote config seems ignored | Check whether ~/.nowledge-mem/openclaw.json is overriding plugin settings |
| Local mode unexpectedly talks to a remote server | Check for stale NMEM_API_URL / NMEM_API_KEY in the environment or an overriding ~/.nowledge-mem/openclaw.json |
| Plugin tools missing | Ensure the plugin is in plugins.allow: ["openclaw-nowledge-mem"]. Do not put nowledge_mem_* tool names in tools.allow — OpenClaw silently strips plugin-only allowlists. No tools.* config is needed; plugin tools load automatically when the plugin is allowed. |
tools
Cross-AI personal knowledge graph memory (Nowledge Mem). Stores memories from this tool, Claude Code, Cursor, browser capture, imported documents, and more. Use when: (1) the user asks about prior work, decisions, preferences, people, dates, plans, or todos, (2) the user references something discussed before or says "remind me" / "what did we decide" / "what was I working on", (3) the conversation produces a decision, preference, plan, or learning worth keeping, (4) the user wants to browse recent activity or explore how ideas connect, (5) the user asks about a past conversation or wants to find a specific thread.
tools
Check Nowledge Mem setup, detect your agent, and guide native plugin installation. Use when the user asks about setup, configuration, or when memory tools aren't working as expected.
tools
Load your current context at session start. Shows what you were working on, active priorities, and unresolved flags. Also trigger when resuming after a break or when the user asks what am I working on.
testing
Search memory store when past insights would improve response. Recognize when user's stored breakthroughs, decisions, or solutions are relevant. Search proactively based on context, not just explicit requests.