Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By GaZmagikv1.7.3MIT
Stores decisions, learnings and gotchas as searchable memories across sessions; hooks inject known pitfalls when you read files. Requires Bun 1.0 or later.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A comprehensive memory system for Claude Code - persistent knowledge storage with semantic search, contextual gotcha injection, and graph-based knowledge management.
The Claude Memory Plugin extends Claude Code with a sophisticated memory system that:
Using the Enhance marketplace:
# Add the marketplace (one-time)
/plugin marketplace add GaZmagik/enhance
# Install the plugin
/plugin install claude-memory-plugin
This installs:
# Use the memory CLI (after bun install)
memory help # Show available commands
memory list # List all memories
memory search "typescript" # Full-text search
memory semantic "error handling" # Semantic search by meaning
memory health local # View memory health
memory stats local # Graph statistics
--auto and --call# Auto-select style/agent based on thought content
memory think add "Review security implications" --call claude --auto
# Cross-provider calling (claude, codex, gemini)
memory think add "Analyse performance" --call codex --model gpt-5-codex
memory think counter "Alternative view" --call gemini
# Explicit style and agent
memory think add "Deep dive" --call claude --style Devils-Advocate --agent security-reviewer
First 3 invocations of each think command show helpful hints about available flags. Use --non-interactive to suppress.
Ensure the CLI is installed for your chosen provider. If missing, helpful installation instructions are shown:
npm install -g @openai/codexnpm install -g @google/gemini-cliThe --auto flag uses a tiered selection strategy: Ollama (if available) → keyword heuristics → default style.
Configure in .claude/memory.local.md to inject decisions and learnings alongside gotchas:
injection:
types:
decision:
enabled: true
threshold: 0.35
learning:
enabled: true
threshold: 0.4
Hook multipliers adjust thresholds by context (Edit/Write: 0.8×, Bash: 1.2×). See .claude/memory.example.md for full options.
Agents can now maintain their own isolated memory namespaces, separate from project and global memories:
# Write a memory scoped to an agent
memory write --title "ESM imports require .js extensions" --type learning --agent typescript-expert
# Read agent-scoped memories
memory list --agent typescript-expert
memory search "imports" --agent typescript-expert
# Include shared project memories in results
memory search "imports" --agent typescript-expert --include-shared
# List all known agents
memory agents
Agent memories are stored in .claude/memory/agents/{agent-name}/ (project scope) or ~/.claude/memory/agents/{agent-name}/ (global scope). Each agent gets its own index, graph, and memory files.
| Flag | Description |
|---|---|
--agent <name> | Target an agent's memory namespace |
--include-shared | Include project/global memories in read operations |
--all-agents | Apply to all agents (for listing/stats) |
--target-agent <name> | Target agent for cross-agent linking |
All existing commands work unchanged without --agent — full backward compatibility.
The suggest-links command now creates cross-scope links automatically when using --auto-link:
# Suggest and auto-create links within agent scope + shared scopes
memory suggest-links --agent typescript-expert --include-shared --auto-link
# Suggest and auto-create links across ALL scopes (project, global, all agents)
memory suggest-links --all-scopes --auto-link
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (gazmagik/claude-memory-plugin) — no native marketplace selected
npx claudepluginhub p/gazmagik-claude-memory-pluginPlugins from other owners that cover similar ground