Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By gagoarv0.4.3MITIn 2 marketplaces
Push, pull, and diff Claude Code per-project memory between this machine and a Git repo of your choice. Storage is HOME-relative so memories restore correctly on any machine regardless of username. Includes a doctor mode for diagnosing sync problems.
Claude loads one when your task matches it, or you run it by name.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude remembers your projects. memory-sync makes sure it remembers them on every computer.
Claude Code keeps notes about each project in ~/.claude/projects/*/memory/: what you prefer, what it learned, what to avoid next time. Those notes live on one laptop. Buy a new one, and Claude starts from zero.
memory-sync copies the notes to a private Git repo that you own, and brings them back on any other machine. It works even when your username differs, because it stores paths relative to $HOME.
machine A your private repo machine B
┌─────────────┐ push ┌────────────────────────┐ pull ┌─────────────┐
│ memory │ ──────▶ │ one commit per backup │ ───────▶ │ memory │
│ /Users/alice│ │ data/home-projects/… │ │ /Users/bob │
└─────────────┘ └────────────────────────┘ └─────────────┘
Webpage: gagoar.github.io/claude-memory-sync
pull, and every project's notes come back where Claude looks for them./Users/alice/... land correctly on /Users/bob/..., with no renaming.history shows what changed and when, and Git lets you roll back.push does nothing when nothing changed. pull will not overwrite local work unless you add --force./memory-sync:sync init # Claude asks where your backup repo lives, and can create a private one for you
/memory-sync:sync push # back up every project
/memory-sync:sync status # see what has drifted
/memory-sync:sync pull # on the other machine: bring it all back
You can also just say "back up my memory" or "set up memory backup". Claude routes to the same flow, and init runs by itself the first time you use any command without a backup repo configured.
Via the gago-plugins marketplace:
/plugin marketplace add gagoar/gago-plugins
/plugin install memory-sync@gago-plugins
/reload-plugins
/memory-sync:sync init
/plugin marketplace add gagoar/claude-memory-sync
/plugin install memory-sync@memory-sync
/reload-plugins
/memory-sync:sync init
The skill asks where to put your backup repo. It offers to create a private one on GitHub with gh, to use a clone you already have, or to clone one from a URL. Your choice is saved in ~/.claude/memory-sync.config.json.
| You type | What happens |
|---|---|
/memory-sync:sync init | First-time setup: pick or create your backup repo |
/memory-sync:sync push | Back up new and changed memory, plus your global config |
/memory-sync:sync pull | Restore from your repo (--force overwrites local-only files) |
/memory-sync:sync status | See what has drifted between this machine and the repo |
/memory-sync:sync list | Show the projects and global files that are backed up |
/memory-sync:sync select | Pick which projects to include, with interactive checkboxes |
/memory-sync:sync history | Show recent backup commits: what was backed up, and when (--limit, --since, --paths) |
/memory-sync:sync configure --backup-repo=NEW | Switch to a different backup repo (also --include, --exclude, --reset-projects) |
/memory-sync:sync doctor | Read-only check of your setup. It prints a summary and a block you can paste into a Claude Code session |
/memory-sync:sync migrate | One-time move from an older, non-portable layout |
~/.claude/projects/*/memory/, stored portably.~/.claude/CLAUDE.md, ~/.claude/RTK.md, ~/.claude/skills/ and ~/.claude/keybindings.json.Nothing else under ~/.claude/ is touched. Never settings.json, sessions, cache or plugins.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub gagoar/claude-memory-sync --plugin memory-sync