mnemos-setup

mnemos-setup is a skill for Claude Code from mem9-ai/mem9. It costs 54 tokens per session (984 once invoked), scanned B, original, Apache-2.0.

A setup guide for mnemos, a persistent memory service for AI agents. It explains how to run the memory server, create an account space, and connect it to OpenClaw, Claude Code, or OpenCode.

In plain words
What is it for?
Installing and configuring mnemos memory for supported agent platforms, including setting the server address and account identifier.
Why use it?
It provides the configuration steps needed for an agent platform to store and use information across conversations. A running mnemo-server is required.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions Claude Code; built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is MNEMO_DSN="user:pass@tcp(host:4000)/mnemos?parseTime=true" go run ./cmd/mnemo-server.

Good fit Installing and configuring mnemos memory for supported agent platforms, including setting the server address and account identifier.

Compare 6 skills from other repositories ↓
View source ↗ mem9-ai/mem9
About the project

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.

mem9-ai/mem9 · 1,235 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mem9-ai/mem9
agentmods
npx agentmods add skills/mem9-ai/mem9/mnemos-setup

Made for: Claude Code.

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.

agentmods badge for mnemos-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/mem9-ai/mem9/mnemos-setup/github.svg)](https://agentmods.dev/skills/mem9-ai/mem9/mnemos-setup)
Your own site
<a href="https://agentmods.dev/skills/mem9-ai/mem9/mnemos-setup"><img src="https://agentmods.dev/badge/skills/mem9-ai/mem9/mnemos-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mnemos-setup

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 984 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 107
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00984
Opus 5.5 $0.00022 $0.00394
Sonnet 5.5 $0.00011 $0.00197
Haiku 4.5 $0.00005 $0.00098

Measured 3mo ago against content hash 3d86b3b2c0db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 3mo 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 .
skills/mnemos-setup/SKILL.md · 147 lines

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 with X-API-Key.
  • Legacy config: tenantID -> plugin treats it as an alias for apiKey and still uses v1alpha2.
  • OpenClaw 4.23+ / 2026.4.22+ requires plugins.entries.mem9.hooks.allowConversationAccess = true so mem9 can read conversation messages in agent_end and upload them. Older OpenClaw builds that reject this hook policy should omit the hooks block and upgrade for full automatic conversation upload.
  • The underlying value is the same UUID either way.

Read the full file on GitHub · 147 lines

Changes

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.

  1. 3mo ago First seen · 147 lines · 54 tokens per session scan B 3d86b3b2c0db

Subscribe to this mod's changes

mnemos-setup is a skill published in the GitHub repository mem9-ai/mem9 (1,235 stars, last pushed 26d ago), licensed Apache-2.0. It adds 54 tokens to every session and 984 once invoked, about $0.0002 per session on Opus 5.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.

Related

mnemos-setup compared with skills from other repositories

mnemos-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mnemos-setupmem9-ai/mem9Skill1.2k26d agoApache-2.0B54Claude Code
install-openviking-memoryvolcengine/OpenVikingSkill43ktodayAGPL-3.0A191Claude Code, Codex
openviking-context-databasevolcengine/OpenVikingSkill43ktodayAGPL-3.0A95Claude Code, Codex
openviking-memoryvolcengine/OpenVikingSkill43ktodayAGPL-3.0A86Claude Code, Codex
ov-experience-memoryvolcengine/OpenVikingSkill43ktodayAGPL-3.0A78Claude Code, Codex
experience_loadervolcengine/OpenVikingSkill43ktodayAGPL-3.0A21Claude Code, Codex
add-rulesvolcengine/OpenVikingSkill43ktodayAGPL-3.0A42Claude Code, Codex