nowledge-mem-openclaw-plugin
# Nowledge Mem for OpenClaw
What this skill does
# 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 Nowledge Mem data
- The user wants local-first memory on this machine
- The user wants remote or multi-machine memory through a remote `apiUrl`
- The user wants to verify that OpenClaw can recall, save, and search memory
## Do Not Use This When
- The user only wants temporary context in the current OpenClaw session
- The user is troubleshooting unrelated OpenClaw issues
- The user only wants direct MCP setup for another client
## Product Framing
When talking to users:
- Say "Nowledge Mem gives OpenClaw the same shared memory your other AI tools can use."
- Lead with cross-tool continuity, not with plugin internals.
- For local mode, say "No API key is needed for local mode."
- For remote mode, say "Set `apiUrl`, and add `apiKey` when the server requires auth."
- Do not imply that OpenClaw is the only source of truth. It is one client of the user's larger memory system.
- Do not imply that cloud backup is the default. Our default story is local-first.
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.
## Definition of Done
This task is not complete until all of the following are true:
1. `nmem` is available
2. The intended backend is verified reachable with `nmem`
3. The OpenClaw plugin is installed
4. OpenClaw is using the Nowledge Mem memory slot
5. Remote config is written only if the user chose remote mode
6. OpenClaw is restarted
7. `openclaw nowledge-mem status` succeeds
8. The user receives a short handoff covering:
- one real first question to ask
- how to bring in older history
- local vs remote expectations
- trust pinning if they see `plugins.allow` warnings
## Setup Flow
### Step 0 — Choose Local or Remote
Ask the user which setup they want:
1. Local Nowledge Mem already running on this machine
2. Existing remote Nowledge Mem server
Explain the difference plainly:
- Local mode: OpenClaw talks to the local Nowledge Mem app/server through `nmem`
- Remote mode: OpenClaw talks to a remote Nowledge Mem server through `nmem --api-url ...`; add `apiKey` when that server has auth enabled
- If the user wants one agent-specific lane, use plugin config `space` 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 namespace
### Step 1 — Verify `nmem`
```bash
nmem --version
```
If this fails:
- For users with the desktop app, direct them to **Settings > Preferences > Developer Tools > Install CLI**
- Otherwise suggest `pip install nmem-cli`, or on Arch Linux `yay -S nmem-cli` / `paru -S nmem-cli`
### Step 2 — Verify the Backend Before Plugin Setup
Local mode:
```bash
nmem --json status
```
Remote mode without auth:
```bash
nmem --json --api-url "$API_URL" status
```
Remote mode with auth:
```bash
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.
### Step 3 — Install the Plugin
Default install:
```bash
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:
```bash
openclaw plugins install @nowledge/openclaw-nowledge-mem
```
Important facts:
- The installer already writes the install record
- The installer already enables the plugin
- The installer already switches the `memory` slot to `openclaw-nowledge-mem`
Do not tell the user to hand-edit those settings unless they are using a manual/path setup.
### Step 4 — Configure Remote Only When Needed
Local mode:
- No extra config is required
Remote mode:
- Prefer setting `apiUrl` and `apiKey` in the OpenClaw plugin settings
- Use `~/.nowledge-mem/openclaw.json` only when the user wants a stable machine-local override or scripted setup
`~/.nowledge-mem/openclaw.json` example:
```json
{
"apiUrl": "https://nowledge.example.com",
"apiKey": "your-api-key-here"
}
```
Important precedence rule:
- `~/.nowledge-mem/openclaw.json` overrides OpenClaw plugin settings
- Then plugin settings override inherited environment variables
- Do not assume stale `NMEM_API_URL` or `NMEM_API_KEY` env vars should keep winning
If the remote server does not require auth, omit `apiKey`.
### Step 5 — Pin Trust When Appropriate
If OpenClaw warns that `plugins.allow` is empty, or the user wants explicit trust for non-bundled plugins, add:
```json
{
"plugins": {
"allow": ["openclaw-nowledge-mem"]
}
}
```
Explain this correctly:
- `plugins.allow` trusts the plugin id
- It does not pin the plugin source path
- If the user also has linked or workspace copies in `plugins.load.paths`, they should review those too
### Step 6 — Restart OpenClaw
Restart OpenClaw so the plugin and hooks are active.
If an agent is doing the restart automatically, tell the user before triggering it.
### Step 7 — Verify the Plugin
First check the plugin status:
```bash
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`:
```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:
1. `/remember We chose PostgreSQL for task events`
2. `/recall PostgreSQL`
3. `/new`
4. Ask `What 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 caching`
## Handoff Message
After setup succeeds, send a short handoff that covers all four points:
1. OpenClaw is now connected
2. The best next question to ask
3. How to bring in older history
4. What the local/remote trust model is
Good structure:
```text
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.
```
## Troubleshooting
| 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/opeRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.