Cloud Sync (cmem.ai Pro)
Configures and verifies claude-mem cloud sync against a cmem.ai Pro SyncHub connection.
UtilitiesIntermediate★ 94,561⑂ 8,361AI score 8/10Last updated: Sep 23, 2026
What it does
- Resolves the local claude-mem worker port and queries
/api/sync/status, then reports whether sync is configured, whether SyncHub is reachable, pending counts,lastFlushAt,lastError, and the Hub head/checkpoint. - Collects the three connection values from cmem.ai → Connect (sync token, user id, SyncHub URL) and writes them into
~/.claude-mem/settings.jsonvia a heredoc Node script — preserving unrelated settings, enforcing mode0600, and never echoing the token (only its length). - Restarts the worker through
/api/admin/restartand polls status for up to 30 seconds untilconfigured: true,hub.reachable: true, andlastError: null. - Always ends with a privacy note that observation narratives and full prompt text are uploaded to your cmem.ai account.
Who it's for
- claude-mem users with a cmem.ai Pro subscription who want memory backups.
- Developers syncing the same Claude memory state across multiple machines.
- Anyone who needs a truthful sync health check (an empty queue is explicitly not treated as success).
Examples
- "What's my sync status?" → the skill probes the worker and summarizes device id, pending writes, and Hub reachability.
- "Set up cmem pro cloud sync" → prompts for token/user id/https Hub URL, writes them securely, restarts, and verifies.
- "My cloud backup isn't working" → surfaces
hub.errorandlastError, and distinguishes real failures from a worker that is still restarting (retries for ~30s).
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/thedotmack/claude-mem/HEAD/plugin/skills/cloud-sync/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the plugin/skills/cloud-sync folder from the GitHub repo thedotmack/claude-mem into my ~/.claude/skills/cloud-sync/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/thedotmack/claude-mem.git /tmp/claude-mem && mkdir -p ~/.claude/skills && cp -r /tmp/claude-mem/plugin/skills/cloud-sync ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/thedotmack/claude-mem.git /tmp/claude-mem - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/claude-mem/plugin/skills/cloud-sync ~/.claude/skills/ - Make sure claude-mem and its worker are installed and running — this skill talks to the worker's local HTTP API.
- Sign in to cmem.ai, open the Pro Connect page, and have your sync token, user id, and https SyncHub URL ready.
- Restart Claude Code and say "set up cloud sync" or "check sync status" to trigger the skill.
- Security tip: pasting a token into chat can persist it in your transcript — rotate the token in cmem.ai if that concerns you.
View source on GitHub ↗License: Apache-2.0