mem9 is a persistent memory service for AI agents that preserves information across sessions and machines and can share it among multiple agents. It is used with OpenClaw, coding agents, workflow platforms, and custom clients that need shared storage and recall. The catalogue add-ons connect agents and workflows to mem9 memory.
Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mem9-ai/mem9/mnemos-setup)<a href="https://agentmods.dev/skills/mem9-ai/mem9/mnemos-setup"><img src="https://agentmods.dev/badge/skills/mem9-ai/mem9/mnemos-setup.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00984 |
| Opus 5 | $0.00027 | $0.00492 |
| Sonnet 5 | $0.00011 | $0.00197 |
| Haiku 4.5 | $0.00005 | $0.00098 |
Grade B, and why
mnemos-setup scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
Add to `~/.claude/settings.json`: Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -X POST http://localhost:8080/v1alpha1/mem9s | jq . How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mnemos Setup
Persistent memory for AI agents. This skill helps you set up mnemos with any agent platform.
Prerequisites
You need a running mnemo-server instance. See the server README for deployment instructions.
Step 1: Deploy mnemo-server
cd mnemos/server
MNEMO_DSN="user:pass@tcp(host:4000)/mnemos?parseTime=true" go run ./cmd/mnemo-server
Step 2: Provision a tenant
curl -s -X POST http://localhost:8080/v1alpha1/mem9s | jq .
# → { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "claim_url": "..." }
Save the returned id.
- For OpenClaw, this is the value you should store as
apiKey(preferred). - Legacy OpenClaw config can still store the same value as
tenantID, but the plugin will still use v1alpha2. - For Claude Code / OpenCode env vars, this remains the tenant ID value used by the current server API.
Step 3: Configure your agent platform
Pick your platform and follow the instructions:
OpenClaw
Add to openclaw.json:
{
"plugins": {
"slots": { "memory": "mem9" },
"entries": {
"mem9": {
"enabled": true,
"hooks": {
"allowConversationAccess": true
},
"config": {
"apiUrl": "http://localhost:8080",
"apiKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}
}
}
Restart OpenClaw. You should see:
[mem9] Server mode (v1alpha2)
Compatibility note:
- Preferred config:
apiKey-> plugin uses v1alpha2 withX-API-Key. - Legacy config:
tenantID-> plugin treats it as an alias forapiKeyand still uses v1alpha2. - OpenClaw 4.23+ / 2026.4.22+ requires
plugins.entries.mem9.hooks.allowConversationAccess = trueso mem9 can read conversation messages inagent_endand upload them. Older OpenClaw builds that reject this hook policy should omit thehooksblock and upgrade for full automatic conversation upload. - The underlying value is the same UUID either way.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 147 lines · 54 tokens per session scan B 3d86b3b2c0db
mnemos-setup is a skill published in the GitHub repository mem9-ai/mem9 (1,205 stars, last pushed 11d ago), licensed Apache-2.0. It adds 54 tokens to every session and 984 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
dsh-archive-agent-notes
Use when adding, auditing, pruning, archiving, restoring, or reviewing Agent Notes in deepseek-harness; checks every new note for superseded active records, classifies implemented notes by future decision value, deletes rejected notes that no longer prevent a tempting fallacy, and applies the frozen archived/{kind}…
j-space
Use this skill to establish and operate the model's inner workspace — the J-space — for any task that needs more than fluent output: multi-step or chained reasoning, planning, long-horizon and agentic work, competition-level problems, complex debugging, keeping many parts of a deliverable globally consistent, holding…
install-openviking-memory
Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…
openviking-context-database
Use OpenViking from OpenClaw through @openviking/openclaw-plugin: long-term memory, session archives, resource and Agent Skill import, semantic recall, recall trace debugging, and externalized tool-result recovery. Prefer this skill when the user wants to use, query, debug, or operate OpenViking context from an…
ov-experience-memory
Retrieve and apply OpenViking Experience memories through the Agent runtime's generic OpenViking search and read tools. Use before or during executable, multi-step, or tool-based work such as coding, file or data changes, configuration, deployment, workflow execution, and failure recovery when prior operational…
openviking-memory
Recall and persist long-term memory through the OpenViking MCP tools. Use at the start of any substantive task (coding, configuration, debugging, multi-step or tool-based work) to retrieve relevant prior knowledge with find/search/read, and during or after work to persist durable facts, preferences, decisions, and…