Claude forgets everything between sessions. MeMesh fixes that.
Quick Install β’ Usage β’ Troubleshooting β’ ηΉι«δΈζ
Every new Claude Code session starts from zero:
You: "Remember our auth setup from yesterday?"
Claude: "I don't have context from previous sessions..."
You end up re-explaining the same decisions, architecture, and constraints β over and over.
MeMesh gives Claude a persistent memory that survives across sessions:
# Monday: You make a decision
buddy-remember "auth"
# β JWT auth: access tokens 15min, refresh tokens 7 days
# β Decided on Jan 15, stored permanently
Your project decisions, architecture context, and debugging history β all remembered automatically.
Prerequisites: Claude Code CLI and Node.js >= 20
npm install -g @pcircle/memesh
Restart Claude Code. That's it.
Verify it works β in a new Claude Code session, type:
buddy-help
If you see a list of available commands, MeMesh is running.
git clone https://github.com/PCIRCLE-AI/claude-code-buddy.git
cd claude-code-buddy
npm install && npm run build
MeMesh provides 3 core commands inside Claude Code:
| Command | What it does |
|---|---|
buddy-do "task" |
Execute a task and save what was learned |
buddy-remember "topic" |
Recall past decisions and context |
buddy-help |
Show all available commands |
Examples:
buddy-do "explain this codebase"
buddy-do "add user authentication"
buddy-remember "API design decisions"
buddy-remember "why we chose PostgreSQL"
Memories are stored locally on your machine and persist across sessions (90 days for decisions, 30 days for session context).
MeMesh not loading?
# Check installation
npm list -g @pcircle/memesh
# Check Node.js version (needs >= 20)
node --version
# Repair installation
memesh setup
Then restart Claude Code completely.
See the full Troubleshooting Guide for more.
Contributions welcome! See CONTRIBUTING.md.
AGPL-3.0 β See LICENSE
Something not working? Open an issue β we respond fast.