mnemon

mnemon is a skill for Claude Code, Codex from mnemon-dev/mnemon. It costs 25 tokens per session (1,416 once invoked), scanned A, original, Apache-2.0.

A persistent memory integration for OpenClaw, an agent platform. It installs memory instructions, event hooks, and a plugin so the agent can recall relevant memories and receive prompts to save new ones.

In plain words
What is it for?
Use it to install the OpenClaw integration, configure memory reminders and suggestions, and control whether memory cleanup runs automatically.
Why use it?
It helps OpenClaw retain context across messages and conversations, reducing repeated explanations and forgotten information.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions subagents; built for openclaw.

Good fit Use it to install the OpenClaw integration, configure memory reminders and suggestions, and control whether memory cleanup runs automatically.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnemon-dev/mnemon/openclaw
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mnemon-dev/mnemon --skill openclaw
Clone the repo
git clone --depth 1 https://github.com/mnemon-dev/mnemon

Made for: Claude Code, Codex.

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 mnemon

README.md
[![agentmods](https://agentmods.dev/badge/skills/mnemon-dev/mnemon/openclaw/github.svg)](https://agentmods.dev/skills/mnemon-dev/mnemon/openclaw)
Your own site
<a href="https://agentmods.dev/skills/mnemon-dev/mnemon/openclaw"><img src="https://agentmods.dev/badge/skills/mnemon-dev/mnemon/openclaw/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 mnemon

Your own site · 80×15
<a href="https://agentmods.dev/skills/mnemon-dev/mnemon/openclaw"><img src="https://agentmods.dev/badge/skills/mnemon-dev/mnemon/openclaw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,416 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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 medium

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 →

  • medium Agent Snooping · line 42
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00025 $0.01416
Opus 5.5 $0.00010 $0.00566
Sonnet 5.5 $0.00005 $0.00283
Haiku 4.5 $0.00003 $0.00142

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

Security

Grade A, and why

mnemon scanned grade A with 0 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (hooks/mnemon-prime/handler.js, plugin/index.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

internal/memory/setup/assets/openclaw/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mnemon

Install & Configure

1. Install the binary

npm (macOS / Linux / Windows, Node.js 22+):

npm install --global @mnemon-dev/mnemon

Upgrade an npm-managed installation with:

mnemon update

2. Set up OpenClaw integration

mnemon setup --target openclaw --yes

This single command deploys all components:

  • Skill → ~/.openclaw/skills/mnemon/SKILL.md
  • Hook → ~/.openclaw/hooks/mnemon-prime/ (agent:bootstrap — injects behavioral guide)
  • Plugin → ~/.openclaw/extensions/mnemon/ (remind, nudge, compact hooks)
  • Prompts → ~/.mnemon/prompt/ (guide.md, skill.md)

Restart the OpenClaw gateway to activate.

3. Customize (optional)

Edit ~/.mnemon/prompt/guide.md to tune recall/remember behavior.

Plugin hooks are configured in ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "mnemon": {
        "enabled": true,
        "config": {
          "remind": true,
          "nudge": true,
          "compact": false
        }
      }
    }
  }
}
Hook Default Description
remind on Recall relevant memories + remind agent on each message
nudge on Suggest remember sub-agent after each reply
compact off Save key insights before context compaction

4. Uninstall

mnemon setup --eject --target openclaw --yes

Workflow

  1. Remember: mnemon remember "<fact>" --cat <cat> --imp <1-5> --entities "e1,e2" --source agent
    • Only exact content repeats are skipped; distinct content is stored and diff suggestions are advisory.
    • To retire a superseded memory, store and verify the new fact, then explicitly run mnemon forget <old-id>.
    • Output includes action (added/skipped), semantic_candidates, causal_candidates.
  2. Link (evaluate candidates from step 1 — use judgment, not mechanical rules):
    • Review causal_candidates: does a genuine cause-effect relationship exist? causal_signal is regex-based and prone to false positives — only link if the memories are truly causally related.
    • Review semantic_candidates: are these memories meaningfully related? High similarity alone is not sufficient — skip candidates that share keywords but discuss unrelated topics.
    • Syntax: mnemon link <id> <candidate> --type <causal|semantic> --weight <0-1> [--meta '<json>']
  3. Recall: mnemon recall "<query>" --limit 10

Read the full file on GitHub · 152 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +18 lines 4ad2b7d9e903
  2. 1mo ago Changed · -5 lines 4f831f2ae827
  3. 1mo ago First seen · 139 lines · 25 tokens per session scan A 73cf7f0f3eaa

Subscribe to this mod's changes

mnemon is a skill published in the GitHub repository mnemon-dev/mnemon (634 stars, last pushed 5d ago), licensed Apache-2.0. It adds 25 tokens to every session and 1,416 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

innate-memory

Innate procedural knowledge layer for coding, debugging, and analysis sessions. ACTIVATE when: (1) user says "remember", "save", "log", "follow this rule", "don't forget", "recall", or "what did we learn"; (2) a non-obvious solution, workaround, constraint, or invariant was discovered during this session; (3) starting…

vima-tech/Innate · 156 tokens

innate-memory

Innate procedural knowledge layer for coding, debugging, and analysis sessions. ACTIVATE when: (1) user says "remember", "save", "log", "follow this rule", "don't forget", "recall", or "what did we learn"; (2) a non-obvious solution, workaround, constraint, or invariant was discovered during this session; (3) starting…

vima-tech/Innate · 156 tokens

kayba-ace

This skill ships learnfromtraces.py, a script that reads OpenClaw session transcripts, feeds them through the ACE learning pipeline, and writes an updated skillbook to disk.

kayba-ai/agentic-context-engine · 0 tokens

brain-page

Operating manual for reading and writing a project's brain — every read and write goes through the bundled zero-dependency brain CLI; never hand-edit brain files. Read it before creating or modifying any page or root page.

mindmuxai/brain.md · 47 tokens

brain-setup

Bootstrap the Open Project Brain Standard into the current project — prefer brain init (ensure BRAIN.md, scaffold empty brain brainRoot-aware, default-wire CLAUDE.md + AGENTS.md). Optionally install a pre-commit hook and a Claude Code or Codex SessionStart hook.

mindmuxai/brain.md · 63 tokens

brain-bootstrap

Seed a freshly-scaffolded brain with real project knowledge — on an existing (brownfield) project read the code, docs, and git log to draft the six root pages and capture key historical decisions; on a near-empty (greenfield) project interview the user. Every write goes through the brain CLI. Run it after brain-setup.

mindmuxai/brain.md · 74 tokens