menot-you/n-memory

Local-first memory for AI agents. Keep decisions and evidence across sessions. Recall with sources through MCP.

This repository also configures its own agents. See what n-memory tells them →

9Stars on the repository
16Mods indexed here, across every type
yesterdayLast push, which is what freshness is scored on
AGPL-3.0Licence, which decides whether bodies are shown

PreToolUse

01

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs before the agent uses a tool for Bash, ExitPlanMode, Agent, Workflow, ^mcp__(plugin_nott_)?nmemory(-http)?__, Edit, Write, MultiEdit, Bash, Agent, Monitor, Workflow, AskUserQuestion, ExitPlanMode and mcp__.* tool calls, executing pynott-branch-lock.sh, bash-guards.sh, two-misses.sh, campaign-pr-guard.py…

not rated 9 changed yesterday A tokens not measured AGPL-3.0

PostToolUse

02

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs after a tool call finishes for Write, Edit, MultiEdit, mcp__plugin_nott_nspawn__nspawn_run_start, mcp__plugin_nott_nspawn__nspawn_review_start, mcp__plugin_nott_nspawn__nspawn_batch_start, ^(Agent, Task, Workflow, SendMessage, mcp__(plugin_nott_)?nspawn__nspawn_(run, batch, review)_start)$, Bash, Bash, Agent…

not rated 9 yesterday A tokens not measured AGPL-3.0

PostToolUseFailure

03

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs when a tool call fails for Bash, Bash, Agent, Monitor, Workflow, AskUserQuestion, ExitPlanMode and mcp__.* tool calls, executing secret-in-output.sh, red-first.sh, two-misses.sh and session-state.sh (4 commands). From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

SessionStart

04

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs when a session starts on startup, resume, clear, compact, fork, startup, resume, clear, compact, fork, compact, startup, resume, clear, compact and fork, executing law-session.sh, nmemory-session.sh, nmemory-act.py, nspawn-child-directives.sh, nspawn-notices.sh and session-state.sh (8 commands). From…

not rated 9 changed yesterday A tokens not measured AGPL-3.0

Notification

05

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs when the agent sends a notification for permission_prompt tool calls, executing session-state.sh. From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

SessionEnd

06

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs when a session ends, executing nmemory-snapshot.sh. From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

PreCompact

07

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs before the context is compacted for manual and auto tool calls, executing nmemory-snapshot.sh. From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

PostCompact

08

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs after the context is compacted for manual and auto tool calls, executing nmemory-snapshot.sh. From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

Stop

09

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs when the agent finishes a response, executing final-state.sh, session-state.sh and nmemory-capture-gate.py (3 commands). From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

UserPromptSubmit

10

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing session-state.sh, fanout-reminder.sh, final-state.sh, system1-suggest.py, nmemory-recall.py and nmemory-act.py (6 commands). From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

SubagentStart

11

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs when a subagent starts, executing subagent-law.py. From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

SubagentStop

12

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs when a subagent finishes, executing session-state.sh. From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

TeammateIdle

13

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs on the TeammateIdle event, executing session-state.sh. From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

StopFailure

14

menot-you/n-memory

Hook Claude Code

One of 14 in hooks.json

Runs on the StopFailure event, executing session-state.sh. From menot-you/n-memory.

not rated 9 yesterday A tokens not measured AGPL-3.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: