Skip to content
Agent Memory
Hook

Hooks

What mind runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
mind
5792 skills4 commands3 hooks
Install
> /plugin marketplace add memvid/claude-brain
> /plugin install mind@memvid

Ships with mind. Installing the plugin gets these hooks.

What fires, and when

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • node "${CLAUDE_PLUGIN_ROOT}/dist/hooks/smart-install.js"node "${CLAUDE_PLUGIN_ROOT}/dist/hooks/session-start.js"

PostToolUse

  • Matches*node "${CLAUDE_PLUGIN_ROOT}/dist/hooks/post-tool-use.js"

Stop

  • node "${CLAUDE_PLUGIN_ROOT}/dist/hooks/stop.js"
Read hooks/hooks.json

In the plugin's words

How mind describes its own hook set.

Memvid Mind - Persistent memory for Claude Code
Ships withmind

Give Claude Code photographic memory in ONE portable file. No database, no SQLite, no ChromaDB - just a single .mv2 file you can git commit, scp, or share. Native Rust core with sub-ms operations.

Get the whole plugin
Stats
579
Stars
59
Forks
Quiet
Maintenance
TypeScript
Language
MIT
License
9mo ago
Last commit
10mo ago
Created
3d ago
Added

Repo: memvid/claude-brain