Skip to main content
ClaudeWave
EN, English
NevaMind-AI / Skills

memU

Personal memory across agents

  • 14.6k stars
  • 1.1k forks
  • 134 open issues
  • Language: Python
  • License: NOASSERTION
  • updated

Install

Terminal
git clone https://github.com/NevaMind-AI/memU ~/.claude/skills/memu
  1. Clone the repository into your ~/.claude/skills directory (or copy the skill folder containing SKILL.md).
  2. Start a new Claude Code session so the skill registry reloads.
  3. Invoke it by name, or let Claude trigger it automatically when the task matches.

If the repo bundles several skills, copy only the folders you need.

Editor's note

memU is a Python library (installable via pip as memu-py, requiring Python 3.13+) that provides a structured memory layer for AI agents, including those built on Claude through MCP and the Claude Code skills ecosystem. It ingests raw inputs such as chat logs, documents, images, URLs, and API data, then automatically extracts facts, user preferences, skills, and relationships without manual tagging, organizing them into a hierarchical filesystem-style index with categories, memory items, and cross-references. Agents retrieve relevant context through a single retrieve() call, receiving only scoped, ranked results rather than full conversation histories, which the project claims reduces LLM token consumption by up to 10x. A companion open-source project, memU Bot, builds on the library to create a proactive assistant that updates memory in the background and acts on captured user intent continuously. Developers building long-running Claude agents who need persistent, cross-session context management across multimodal inputs are the primary audience.

Installable items

1 items in this repository

Install or uninstall memU for whatever agent you are — identify your host, print its packaged guide, and follow it to wire (or unwire) both seams (record and inject). Use when the user asks to install, set up, integrate, remove, or uninstall memU.

Install
README

Skills overview

Full README on GitHub

memU Banner

memU

Personal memory, stored as Wiki

Across Sessions. Across Agents. Across Devices.

PyPI version License: Apache 2.0 Python 3.11+ Discord Twitter


memU is a lightweight, agent-driven memory system that gives users a shared LLM wiki across sessions, agents, and devices. It automatically distills your own reusable skills from your agent history. Its core memory logic is only 500 lines — compact enough to inspect, understand, and adapt.

Quick start

memU works with Codex, Claude Code, Cursor, OpenClaw, Hermes, WorkBuddy, Cola, pi, and more. See Host adapters.

Cross-device · Free · Unlimited · View online

Get your API key from memu.so, then send this message to your agent:

Read https://memu.pro/SKILL.md, follow its instructions to install and configure memU, API Key is memu_•••••••••(get Api Key from memu.so).

Agent support

This matrix lists the currently tested memU integrations by operating system.

  • Memorize — capture useful session knowledge through a scheduled background task and turn it into reusable memory.

  • Retrieve — bring relevant memory into a future task.

  • ⚠️ — supported with an important limitation; see the user note.

macOS
AgentModeMemorizeRetrieveUser note
ChatGPTChatGPT(Work mode), codex and VS Code extension✅✅
ChatGPTChat❌❌Chat mode is not currently supported. Please use Work mode.
Claude CodeDesktop and CLI✅✅If the selected model declines the setup steps, retry with Opus or another model. Sonnet 5 can occasionally do this.
ClaudeChat and Cowork❌❌
Cursor—✅✅
OpenClaw—✅✅Retrieve support has not yet been verified.
Hermes Agent—✅✅
WorkBuddy—✅✅
Windows
AgentModeMemorizeRetrieveUser note
ChatGPTChatGPT(Work mode), codex and VS Code extension✅✅
ChatGPTChat❌❌Chat mode is not currently supported. Please use Work mode.
Claude CodeDesktop and CLI✅✅If the selected model declines the setup steps, retry with Opus or another model. Sonnet 5 can occasionally do this.
ClaudeChat and Cowork❌❌
Cursor—✅✅
OpenClaw—✅✅
Hermes Agent—✅⚠️Use a memU version with Windows HERMES_HOME support; older versions may retrieve from the wrong files.
WorkBuddy—✅✅With Hy3, retrieval may fail. Retry with another model if this happens.
Linux
AgentModeMemorizeRetrieveUser note
CodexVS Code extension❌✅
Claude CodeCLI✅✅
OpenClaw4.23 / 7.1✅✅

Support status reflects the current release and may change as host integrations evolve.

How it works

memU memory system architecture

Automatic skill extraction

Once the scheduled bridging task is installed, memU can turn useful agent history into reusable Markdown skills automatically.

How memU turns agent history into reusable skills

  1. Capture new sessions. The host adapter reads new session history, including messages and tool calls.

  2. Prepare self-evolve jobs. prepare slices each session into a self-contained job with the paths and context the agent needs.

  3. Let the agent decide. The agent reads related existing skills, then chooses to do nothing, patch an existing skill, or create a new one.

  4. Write readable skill Markdown. Each skill has a name, description, and reusable workflow, including useful branches, edge cases, and pitfalls.

  5. Commit and index. commit submits changed skill files through commit_results; memU embeds the skill name and description and stores it under the skill track.

  6. Retrieve it later. On a similar future task, memU returns the relevant skill so any connected agent can use the learned workflow.

The judgment and synthesis stay inside the agent. MemoryService makes no LLM or chat calls; it stores, embeds, and retrieves the skill Markdown the agent prepared.

Self-hosted

Private · Single-device · Embedding key required

To run memU locally with your own storage and embedding provider, send this message to your agent:

Read https://raw.githubusercontent.com/NevaMind-AI/MemU/main/SKILL.md and follow it to install memU.

Uninstall

To uninstall memU, send this message to your agent:

Read https://memu.pro/SKILL.md and follow its instructions to uninstall memU.

By default, uninstalling removes the host integration and tooling while keeping your memory store and ~/.memu/config.env, so a later reinstall can resume where you left off. Memory is erased only when you explicitly ask for it.

Host adapters: memory for desktop coding agents

memU runs as a sidecar to a desktop agent, one binary per host. Each binds two seams:

  • record — a scheduled bridging task slices new session logs into self-contained job files; the agent itself distills them into memory/skill Markdown; commit submits whatever the agent left on disk back through commit_results.

  • inject — a standing instruction in the host's instruction file tells the agent to run retrieve (→ progressive_retrieve) before answering.

HostBinarySession log it minesInstruction file it patches
Codexmemu-codex~/.codex/sessions/**/*.jsonl~/.codex/AGENTS.md
Claude Codememu-claude-code~/.claude/projects//.jsonl~/.claude/CLAUDE.md
Cursor (Agent/CLI)memu-cursor~/.cursor/projects//agent-transcripts/**.jsonl./AGENTS.md (per project)
OpenClawmemu-openclaw~/.openclaw/agents//agent/openclaw-agent.sqlite (SQLite, read-only) + legacy /sessions/*.jsonl~/.openclaw/workspace/AGENTS.md
Hermes Agentmemu-hermes~/.hermes/state.db (SQLite, read-only)~/.hermes/SOUL.md
WorkBuddymemu-workbuddy~/.workbuddy/projects//.jsonl~/.workbuddy/SOUL.md
Colamemu-cola~/.cola/sessions//.jsonl~/.cola/memory-bank/MEMORY.md
pimemu-pi~/.pi/agent/sessions//.jsonl~/.pi/agent/AGENTS.md
any other agentmemu-agentfound by memu-agent detect (JSONL dialect sniffed)found by detect (AGENTS.md / CLAUDE.md / SOUL.md / …)

For agents without a dedicated binary, memu-agent detect probes the machine and reports per agent whether memorization works (a recognizable session log exists) and whether retrieval works (an instruction file exists to patch) — then the same verbs run against what it found.

All hosts share one configured memory backend via ~/.memu/config.env — local or MemU Cloud. What one host's sessions taught memU, another host retrieves.

Installation is the one-message setup in Quick start or Self-hosted. SKILL.md is the routing skill it hands your agent: install the package, identify which host you are (falling back to memu-agent detect for anything without a dedicated adapter), print that host's packaged install guide (docs install), and follow it — configure the memory backend, register the scheduled bridging task, patch the instruction file, each step behind a verify gate — then report which seams (memorization / retrieval) are now active.

Afterwards doctor proves the whole loop resolves: config, selected mode, and a live retrieval.

Adding another host means implementing one TranscriptSource (where its session logs live, how its records are shaped) plus a HostSpec-sized CLI — the pipeline, verbs, and instruction text are shared.

Developer integration

Use memu memorize to turn application-owned conversations into memory and skills. See the developer guide for the input format and integration workflow.

CLI

With memU Cloud, sign in at memu.so to view your memory files. With a local installation, memory lives in the shared store configured by MEMU_DB in ~/.memu/config.env — typically ~/.memu/memu.sqlite3 for local SQLite, or a Postgres DSN.

Once installed, your agent retrieves relevant memory automatically before answering. To retrieve manually, run the adapter for your host:

memu-codex retrieve "What should I remember about this project?"
# or: memu-claude-code / memu-cursor / memu-openclaw / memu-hermes / memu-workbuddy / memu-cola / memu-pi / memu-agent

Install or invoke the CLI directly:

pip install memu-cli         # library + memu + memu-codex CLIs
npx memu-cli --help          # CLI via npm launcher (engine: PyPI package memu-cli)
uvx --from memu-cli memu     # CLI via uv, no install

Configuration

Topics
agent-memoryclaude-skillsharnessloop-engineeringmcpmemoryopenclawopenclaw-skillssandboxskills
Frequently asked

What people ask about memU

What is NevaMind-AI/memU?

NevaMind-AI/memU is skills for the Claude AI ecosystem. Personal memory across agents It has 14.6k GitHub stars and its last recorded update is dated 2026-10-23.

How do I install memU?

You can install memU by cloning the repository (https://github.com/NevaMind-AI/memU) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is NevaMind-AI/memU safe to use?

Our security agent has analyzed NevaMind-AI/memU and assigned a Trust Score of 90/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains NevaMind-AI/memU?

NevaMind-AI/memU is maintained by NevaMind-AI. The last recorded GitHub activity is dated 2026-10-23, with 134 open issues.

Are there alternatives to memU?

Yes. On ClaudeWave you can browse similar skills at /categories/skills, sorted by popularity or recent activity.

Maintain this repo? Show its Trust Score in your README

The badge shows this repository's current Trust Score and verdict, and links back to this page. It follows the catalogue data: nobody can buy or edit the score it displays.

ClaudeWave Trust Score for NevaMind-AI/memU
Markdown (README)
[![ClaudeWave Trust Score for NevaMind-AI/memU](https://claudewave.com/api/badge/nevamind-ai-memu)](https://claudewave.com/en/repo/nevamind-ai-memu)
HTML
<a href="https://claudewave.com/en/repo/nevamind-ai-memu"><img src="https://claudewave.com/api/badge/nevamind-ai-memu" alt="ClaudeWave Trust Score for NevaMind-AI/memU" width="320" height="64"></a>

What the badge means and how the score is computed

Project homepage
https://memu.pro