Claude-Mem Context & Memory Plugin
Cross-session persistent memory plugin for Claude Code with automated decision compression and context injection.
Claude-Mem Context & Memory Plugin captures session changes and injects historical project memory into Claude Code, eliminating amnesia across sessions.
How to Install & Test
Official Claude Code installation commands generated from verified marketplace manifests.
Automated Execution Notice
This plugin includes automated event hooks or MCP servers that execute code during your Claude Code sessions. Review what this plugin can run and only install from trusted repositories.
What this plugin can run:
- 2 contextual agent skill(s)
- 3 slash command(s)
- 1 dedicated subagent(s)
- Automated lifecycle event hooks (run on turnstiles)
Installation Time: Running Claude Code marketplace commands resolves dependencies, AST verification, and hooks. This usually takes 10–30 seconds. Wait for the CLI confirmation before proceeding.
Run these slash commands inside your Claude Code interactive session:
Registers the author's plugin catalog with your Claude Code client:
/plugin marketplace add thedotmack/claude-mem
Installs the package into your chosen scope (user, project, or local):
/plugin install claude-mem@claude-mem
Reloads active plugins in your session without exiting:
/reload-plugins
Test or inspect the plugin locally using official Claude Code CLI commands:
git clone https://github.com/thedotmack/claude-mem.git
Loads the local plugin into this terminal session only:
claude --plugin-dir ./
claude plugin validate ./
claude plugin install ./
Copy this audit-and-install prompt and paste it into Claude Code or your AI coding assistant:
Please inspect the Claude Code plugin at https://github.com/thedotmack/claude-mem. 1. Read the manifest (.claude-plugin/plugin.json or marketplace.json) and scan components (commands, skills, agents, hooks, and .mcp.json). 2. Summarize every hook lifecycle event, script, command, and external MCP server it defines. 3. Verify whether it requests API keys or accesses sensitive local paths. 4. Ask for my confirmation. Once approved, run: /plugin marketplace add thedotmack/claude-mem /plugin install claude-mem@claude-mem /reload-plugins
What's Inside This Package
Components declared in the plugin tree: skills, slash commands, dedicated subagents, lifecycle hooks, and MCP servers.
Agent Skills (2)
Custom Slash Commands (3)
/mem-search /mem-clear /mem-summarySpecialized Subagents (1)
Automated Event Hooks Included
This package installs lifecycle hooks that run automatically on agent startup, tool invocation, or command execution.
Overview & Documentation
Claude-Mem is an advanced developer memory plugin that preserves context across separate terminal sessions. It hooks into PostToolUse and session lifecycle events, capturing key architectural choices, failed tests, and code diffs. When you start a new task, it automatically injects matching memory records, saving context tokens and eliminating repetitive prompting.
Frequently Asked Questions
Answers to common questions regarding Claude-Mem Context & Memory Plugin compatibility, safety, and configuration.
Frequently Asked Questions
Direct answers to common questions about using these skills and tools.
How do I install Claude-Mem Context & Memory Plugin in Claude Code?
Add the marketplace via "/plugin marketplace add thedotmack/claude-mem", then run "/plugin install claude-mem@claude-mem". Finally, run "/reload-plugins" to activate the package in your current session.
What capabilities and components are included inside Claude-Mem Context & Memory Plugin?
Claude-Mem Context & Memory Plugin bundles 2 contextual skills, 3 custom commands, 1 subagents, automated event hooks, and 0 external MCP server connections.
Is Claude-Mem Context & Memory Plugin safe to run on my machine?
This package is classified as "hooks-or-mcp" risk. It utilizes automated event hooks that execute during your Claude Code sessions. Review the repository before installing.
How do I test Claude-Mem Context & Memory Plugin locally without permanent installation?
Clone the repository and run "claude --plugin-dir ./". This loads the plugin strictly for the active terminal session without changing your global settings.