By strml
Persistent cross-session memory for Claude Code. Hooks extract learnings automatically; Sonnet + Opus maintain MEMORY.md files per project and globally.
Executables (bin/) — files in this plugin's bin/directory are added to the Bash tool's PATH while the plugin is enabled.
Persistent cross-session memory for Claude Code. Hooks extract learnings automatically into per-project and global MEMORY.md files that Claude reads at the start of every session.
Session → Claude writes MEMORY.md proactively (instructed via SessionStart hook)
Stop → extract-learnings.sh → claude-memory extract → background Sonnet writes MEMORY.md
/clear → capture-learnings.sh → background Sonnet writes project CLAUDE.md
Every 10th extraction → gc-memory.sh → Opus consolidates + archives stale entries
/plugin marketplace add STRML/cc-simple-memory
/plugin install cc-simple-memory
Restart Claude Code.
In your terminal (not inside Claude):
PLUGIN_DIR=$(ls -dt ~/.claude/plugins/cache/*/cc-simple-memory 2>/dev/null | head -1)
[ -z "$PLUGIN_DIR" ] && echo "Plugin not found in cache" && exit 1
bash "${PLUGIN_DIR}/bin/setup.sh"
Or run /memory-setup inside Claude to check status and get the exact command.
Setup adds nine permission entries to ~/.claude/settings.json, creates a ~/bin/claude-memory (or ~/.local/bin/) symlink, and scrubs any legacy hook entries from the old manual install.
Permission changes require a restart to take effect.
Memory updates happen automatically. Use claude-memory in your terminal to inspect:
claude-memory show # Display project + global memory
claude-memory stats # Sizes, transcript counts, log activity
claude-memory log # Recent extraction log
claude-memory search "query" # Search project transcripts
claude-memory extract --dry-run # Preview what extraction would find
claude-memory gc --dry-run # Preview GC without writing
claude-memory compact-archive # Deduplicate bloated archive files
claude-memory show archive # View cold storage
Or use the /memory-setup slash command to check configuration status.
| File | Purpose | Auto-loaded |
|---|---|---|
~/.claude/projects/<encoded>/memory/MEMORY.md | Per-project memory | ✅ |
~/.claude/projects/<encoded>/memory/ARCHIVE.md | Per-project cold storage | ❌ |
~/.claude/rules/global-memory.md | Cross-project memory | ✅ everywhere |
~/.claude/memory/global-archive.md | Global cold storage | ❌ |
Path encoding: Claude Code replaces both / and . with -.
Add SKIP_MEMORY_EXTRACTION on its own line in a session to skip Stop hook extraction for that session.
Set CLAUDE_SKIP_SESSION_LEARNINGS=1 before starting a session to skip all extraction.
| Operation | Model | Frequency | Cost |
|---|---|---|---|
| Extraction (Stop hook) | Sonnet medium | Max 1/hr/project | ~$0.10 |
| Condensation pre-pass | Haiku low | Long sessions only | ~$0.01 |
| /clear capture | Sonnet low | On /clear | ~$0.05 |
| GC pass | Opus low | Every 10 extractions | ~$0.15 |
Runs pre-commands
Contains inline bash commands via ! syntax
Bash prerequisite issue
Uses bash pre-commands but Bash not in allowed tools
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.
npx claudepluginhub strml/cc-simple-memory --plugin cc-simple-memoryMulti-model AI plan review: run any acpx-supported agent (Codex, Antigravity, Kimi, Qwen, etc.) in parallel, synthesize feedback, debate contradictions
Detects plugin marketplace updates at session start and flags security-relevant changes for review
Language-agnostic codemap generator for Claude Code. Scans your codebase and generates token-lean architecture maps that load into context at session start.
iTerm2 tab highlighting for Claude Code permission requests — orange tab + dock bounce on permission, auto-reset on focus
Automatically record browser demo videos of pull requests using agent-browser
Claude Mind - Give Claude photographic memory in ONE portable file. Share, version, and transfer your Claude's brain.
Continuous memory for Claude Code. Extracts, summarizes, and compresses conversations into tiered daily logs. Claude remembers what you did yesterday.
Persistent memory for Claude Code. Capture work across sessions and recall relevant context.
Persistent memory system for Claude Code - seamlessly preserve context across sessions
Durable, fully-local project memory for Claude Code. Logs every session to .recall/history.md and condenses it into .recall/context.md with a local Python summarizer (TF-IDF + TextRank) — no API key, no external model, nothing leaves your machine. New sessions resume from the saved context.
Persistent memory system for Claude Code with SQLite, FTS5, and vector search