Nmem — AI skill for Claude Code
Give your AI agents a brain that gets smarter over time.
How to install Nmem
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dayyanj/nmem and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Nmem does
Give your AI agents a brain that gets smarter over time. 6-tier memory hierarchy with hybrid search, background consolidation, confidence decay, and cross-agent knowledge promotion. Ships with CLI, MCP server for Claude Code/Cursor, and importers for Claude Code, ChatGPT, markdown, and JSONL.
Alternatives in AI
- Codeseek — Rust-powered code intelligence CLI for AI coding agents 764 ★
- Openclaw Auto Dream — Automatic memory consolidation for OpenClaw agents — like sleep for your AI 545 ★
- onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★
README
nmem
**English** | [简体中文](docs/i18n/zh-hans/README.md) | [日本語](docs/i18n/ja/README.md) | [한국어](docs/i18n/ko/README.md) | [Español](docs/i18n/es/README.md) | [Português](docs/i18n/pt/README.md) | [Français](docs/i18n/fr/README.md) | [Deutsch](docs/i18n/de/README.md) | [Русский](docs/i18n/ru/README.md)
**Cognitive memory for AI agents**: hierarchical, self-refining, and framework-agnostic.
nmem gives your agents a brain that learns. Not just storage and retrieval, but active cognition — automatic promotion, belief revision, nightly retrospectives, social learning across agents, and token-tracked prompt injection.
**We're actively looking for contributors.** nmem is intentionally built as a community-driven project. Code, docs, ideas, bug reports, independent benchmarks, and adversarial testing are all welcome. See [Contributing](#contributing) below.
How it works
Memory flows upward: entries earn their way
graph LR
subgraph session [" "]
W["Working Memory\nsession slots"]
end
subgraph shortterm [" "]
J["Journal\n30-day log"]
end
subgraph longterm [" "]
L["Long-Term Memory\nper-agent, permanent"]
end
subgraph shared [" "]
S["Shared Knowledge\ncross-agent, canonical"]
end
W -- "session end" --> J
J -- "importance ≥ 7\nor accessed 5x" --> L
L -- "≥ 2 agents\naccessed it" --> S
style W fill:#e8f5e9,stroke:#4caf50,color:#1b5e20
style J fill:#fff3e0,stroke:#ff9800,color:#e65100
style L fill:#e3f2fd,stroke:#2196f3,color:#0d47a1
style S fill:#f3e5f5,stroke:#9c27b0,color:#4a148c
style session fill:none,stroke:none
style shortterm fill:none,stroke:none
style longterm fill:none,stroke:none
style shared fill:none,stroke:none
Plus two specialized tiers: **Entity Memory** (per-object collaborative workspace) and **Policy Memory** (governance rules with write permissions).
Related Skills
Claudly
Give Claude Code memory, quality gate, and token optimization in one command. Claudly installs your full AI wo
Team Memory MCP
Shared team memory for AI coding agents. Bayesian confidence scoring with temporal decay. Works with Claude Co
Agentdb
Vector memory that gets smarter every time your agent uses it.
Mem Budget
Show a 4-tier weighted context plan for a query (working/episodic/semantic/procedural) within a token budget.
Clawhuddle
Self-hosted OpenClaw for teams — Give every person on your team their own AI assistant. Each team member gets
Claude AI Prompt Research Skill
Claude Skill for AI/GEO prompt research. Give it a topic + keyword and it finds the real prompts your ICP type
Related Agents
Part 13: Memory Bridge (Give Coding Agents Your Brain)
When you spawn Codex or Claude Code to build something, they start blind. They don't know your architecture de
Web Novel Outline Agent
Outline agent for the Web Novel project type. Produces a three-layer outline (skeleton, volume, chapter) using
Release Notary
Give a compact release-readiness view grounded in doctor findings, sessions, and promotion evidence