Claude Code
Plugin for Claude Code with lifecycle hooks. Reads your Working Memory at session start, searches when relevant, and saves insights at the right moment.
Skill-Compatible
Claude Code supports plugins — install once for built-in autonomous behavior. No system prompts or MCP configuration needed.
Your agent searches what you know, saves what matters — without you asking.
Before You Start
- Nowledge Mem running locally (installation)
- Claude Code installed
Setup
Install the plugin
# Add the Nowledge community marketplace
claude plugin marketplace add nowledge-co/community
# Install the Nowledge Mem plugin
claude plugin install nowledge-mem@nowledge-communityThe plugin requires nmem CLI:
# Option 1 — uvx (no installation needed)
curl -LsSf https://astral.sh/uv/install.sh | sh
uvx --from nmem-cli nmem --version
# Option 2 — pip
pip install nmem-cliOn Windows/Linux with the Nowledge Mem desktop app,
nmemis already bundled. On macOS or remote servers, useuvxor install manually.
Use it
Slash commands:
/save— Save the current session to Nowledge Mem/sum— Distill insights from this conversation/search <query>— Search your knowledge base
Natural language: Say "Save this session" or "Distill this conversation" and Claude runs the right nmem command automatically.
Autonomous (skills): The plugin includes four skills that run on their own:
- Read Working Memory — loads your daily briefing at session start and after context compaction
- Search Memory — searches when you reference past work
- Distill Memory — suggests distillation at breakthrough moments
- Save Thread — saves sessions on explicit request
Update the plugin:
claude plugin marketplace update
claude plugin update nowledge-mem@nowledge-community
# Restart Claude Code to apply changesLifecycle Hooks
The plugin uses Claude Code hooks for automatic lifecycle management:
| Event | Trigger | Action |
|---|---|---|
SessionStart (startup) | New session begins | Injects Working Memory briefing |
SessionStart (compact) | After context compaction | Re-injects Working Memory, prompts Claude to checkpoint progress |
Working Memory context is always present. After compaction, Claude is prompted to save findings via nmem m add before continuing.
Go Further
AGENTS.md — a complete memory-keeper agent example using the agents.md standard. Works with any AI coding agent.
Related
- Integrations overview — MCP, browser extension, thread import
- Claude Desktop · Codex CLI · Alma · OpenClaw · Raycast · Built-in Web Chats