By ellyseum
Externalize Claude's auto-memory into your project directory — git-committable, portable, collaboratively editable
Externalize Claude's auto-memory into your project directory so it's git-committable and survives across machines.
Claude Code stores auto-memory at ~/.claude/projects/<encoded-path>/memory/. This is local, invisible to git, and lost when you switch machines. /brain-surgery moves it into .context/memory/ in your project root and replaces the original with a symlink.
Before:
~/.claude/projects/-home-you-projects-foo/memory/MEMORY.md (local only)
After:
your-project/.context/memory/MEMORY.md (git-tracked)
~/.claude/projects/-home-you-projects-foo/memory/ → symlink (points to above)
/brain-surgery # Set up the symlink
/brain-surgery --undo # Restore default auto-memory directory
claude plugin install ellyseum/claude-brain-surgery
Or via the Ellyseum plugin marketplace:
claude plugin marketplace add ellyseum/claude-plugins
claude plugin install claude-brain-surgery
.context/memory/?.context/ is a general-purpose directory for project context filesmemory/ within it mirrors Claude's auto-memory structure exactly.context/prompts/, .context/docs/, etc.)Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
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 claimSecure secrets handling for Claude Code - run API calls without exposing keys in session logs
Cross-model consultation and autonomous repo grinding as Claude Code skills wrapped around @ellyseum/cordyceps. `cordy` spawns peer LLMs (Codex, Gemini, Ollama, Claude variants) in parallel for code reviews, plan critiques, brainstorms, and cross-family fact-checks. `grinder` loops through user-defined work units (plan → council → revise → implement → test → diff council → commit) until done.
Eidetic memory - injects knowledge map from memory files on session start
Interactive PTY terminal sessions for Claude Code — spawn, interact with, and manage terminal processes with real TTY support
Context awareness plugin — tracks model, effort, token usage. Injects status into conversation when state changes.
npx claudepluginhub ellyseum/claude-brain-surgery --plugin claude-brain-surgeryClaude Mind - Give Claude photographic memory in ONE portable file. Share, version, and transfer your Claude's brain.
Automatic CORE memory search and ingest plugin for Claude Code
Persistent memory system for Claude Code - seamlessly preserve context across sessions
Automatic branch-specific CLAUDE.md memory management. Switches your Claude Code context when you change git branches.
Automatically maintains CLAUDE.md files as codebases evolve using hooks, agents, and skills
Persistent memory for Claude Code. Capture work across sessions and recall relevant context.