By GaZmagik
Store, semantically search, and graph-link persistent project knowledge like decisions, gotchas, patterns, and learnings across Claude sessions. Capture memories from conversations or git changes, check recent work against stored warnings, create multi-agent thinking docs, and monitor memory health with agents and CLI commands.
Guided workflow for agents to capture learnings in agent-scoped memory
Check recent work against documented gotchas and warnings in memory system. Prevents repeating past mistakes.
Check memory system health including graph connectivity, hub integrity, frontmatter sync, and link suggestions.
Capture memories from conversation context (forked session use)
Initiate a multi-agent deliberation using memory think with optional automated agent/style invocations
Automated memory health monitoring, graph integrity analysis, quality assurance, and handover validation. Identifies orphaned nodes, suggests links, detects promotion candidates, validates tags, and ensures complete handover references.
Advanced memory recall agent with resumable session support. Efficiently search, analyse, and recall memories using the memory skill CLI. Supports multi-query sessions where the main agent can resume previous conversations for follow-up queries without reloading context. Use for finding memories by topic, analysing memory relationships, generating summaries, checking memory health, and progressive deep-dives into stored knowledge. Resume with agentId to continue previous analysis.
Matches all tools
Hooks run on every tool call, not just specific ones
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub gazmagik/claude-memory-pluginBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Modifies files
Hook triggers on file write and edit operations
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools
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
Automatically improves prompts for better Claude responses with configurable AI models
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Memory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.