By seanGSISG
Always-on memory for Claude Code -- records sessions, extracts observations, consolidates insights, injects context automatically.
This skill should be used when the user asks to consolidate memories, merge observations, synthesize insights, run consolidation, or clean up memory. Trigger phrases include "consolidate memories", "merge observations", "run consolidation", "synthesize insights", "clean up memory".
This skill should be used when the user wants to forget something, delete memories, remove observations, clear outdated information, or reduce memory importance. Trigger phrases include "forget about", "delete memories", "remove observations", "clear memory of", "forget what we learned about".
This skill should be used when the user asks to search, query, or recall project memories, observations, or past session history. Trigger phrases include "what do you remember about", "search memory for", "recall", "what did we decide about", "find past observations on", "check memory for", "show me what we learned about". Also triggered by /memory-query.
This skill should be used when the user asks to set up, configure, or install the claude-memory plugin, check memory health, diagnose memory issues, or reconfigure their LLM provider. Trigger phrases include "set up memory", "configure memory", "memory setup", "setup memory plugin", "diagnose memory", "check memory setup", "reconfigure memory provider", "fix memory". Also triggered by /memory-setup.
This skill should be used when the user asks about memory database statistics, memory health, how many memories are stored, database size, or observation counts. Trigger phrases include "memory stats", "how many memories", "memory status", "show memory health", "database size", "observation count".
Matches all tools
Hooks run on every tool call, not just specific ones
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 claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Because Claude should remember what happened last time.
Always-on memory for Claude Code. Automatically records sessions, extracts observations, consolidates insights, and injects relevant context into new sessions.
/plugin marketplace add seanGSISG/deja-claude
/plugin install claude-memory@deja-claude
Or for development:
claude --plugin-dir ~/projects/deja-claude
Run the interactive setup wizard after installing:
/memory-setup
This walks you through choosing an LLM provider, setting your API key, and configuring options. Everything is saved to ~/.config/claude-memory/config.json.
Session 1: You fix an auth bug using JWT with RS256 signing
|
v
[SessionEnd hook]
|
v
[Extract observations via LLM]
"Auth uses JWT RS256"
"Config.py holds JWT settings"
|
v
[Consolidate across sessions]
"JWT config centralized in config.py"
|
v
Session 2: Claude already knows about JWT setup
(auto-injected at session start)
| Command | Description |
|---|---|
/memory-setup | Interactive guided setup -- provider, API key, config |
/memory-query <topic> | Search memories for a topic, file, or concept |
/memory-status | Database stats -- observation counts, priority distribution, DB size |
/memory-consolidate | Manually trigger consolidation (with optional dry-run preview) |
/memory-forget <query> | Find and remove observations (soft or hard delete, with confirmation) |
Config file: ~/.config/claude-memory/config.json (created by /memory-setup or auto-created on first run)
{
"provider": "google",
"model": "gemini-3.1-flash-lite-preview",
"fallback_to_claude": true,
"retention_days": 30,
"max_inject_tokens": 4096
}
| Provider | Config value | API key env var | Notes |
|---|---|---|---|
| Google Gemini | "google" | GOOGLE_API_KEY | Default. Fast, free tier available |
| Claude Code | "claude" | None needed | Uses claude -p with your subscription |
| Anthropic API | "anthropic" | ANTHROPIC_API_KEY | Direct API access |
| OpenAI | "openai" | OPENAI_API_KEY | GPT-4o-mini default |
| Local | "local" | None | Any OpenAI-compatible endpoint (vLLM, Ollama) |
If your configured provider's API key is missing, deja-claude automatically falls back to claude -p (pipe mode) which uses your existing Claude Code subscription. No extra API key needed.
Disable with "fallback_to_claude": false in config.
| Variable | Default | Description |
|---|---|---|
CLAUDE_MEMORY_PROVIDER | google | Override provider |
CLAUDE_MEMORY_MODEL | per-provider | Override model |
CLAUDE_MEMORY_API_KEY | -- | Universal API key override |
CLAUDE_MEMORY_MAX_INJECT_TOKENS | 4096 | Max tokens injected at session start |
CLAUDE_MEMORY_RETENTION_DAYS | 30 | Auto-prune memories older than this |
CLAUDE_MEMORY_DB_PATH | auto-derived | Override database file location |
| Event | Script | Purpose |
|---|---|---|
| SessionStart | session-start.sh | Register session, inject memories |
| PreToolUse | pre-tool-use.sh | Advisory warnings for dangerous operations + memory search |
| PostToolUse | post-tool-use.sh | Record tool events to JSONL log |
| PreCompact | pre-compact.sh | Snapshot before context compaction |
| Stop | stop.sh | Capture stop event |
| SessionEnd | session-end.sh | Trigger background extraction |
$CLAUDE_PROJECT_DIR/claude-memory.db$CLAUDE_PROJECT_DIR/claude-memory/sessions/| Priority | Description | Decay half-life |
|---|---|---|
| P1 | Architectural decisions, security patterns | 28 days |
| P2 | Bug fixes with root causes, dependency quirks | 14 days |
| P3 | File relationships, code patterns, test strategies | 14 days |
| P4 | Failed approaches, environment setup | 14 days |
npx claudepluginhub seangsisg/deja-claudeClean up old cached plugin versions to free disk space
Vault-specific skills, rules, and hooks for the MyVault Obsidian knowledge base. Provides note creation, search, inbox processing, maintenance, and frontmatter validation.
Claude Code skills for building MCP Apps with interactive UIs and packaging MCP servers as MCPB desktop extensions
AI-powered search and access to 573 Anthropic documentation paths — Claude Code CLI, API, Agent SDK, and more
Guide for creating effective Claude Code skills with templates, validators, and packaging tools
Curated persistent memory for Claude Code. Write gate prevents bloat — only behavior-changing facts get saved. Tiered architecture: daily logs, structured registers, and auto-loaded working memory.
Universal memory runtime — cross-session cognitive memory for Claude Code. Remembers decisions, patterns, and context across coding sessions.
Persistent memory system for AI coding sessions — cross-tool memory sharing with 6-dimensional hybrid search
Persistent memory for Claude Code. Capture work across sessions and recall relevant context.
OpenLTM — Long-Term Memory for AI coding agents: semantic search, context injection, session learning
Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. A lighter, lower-cost alternative to claude-mem (episode batching + a smaller model; cost savings are an internal estimate, not a measured benchmark).